<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>N3mo LC</title><description>Welcome to N3mo LC, it&apos;s my portfolio and blog for developers.</description><link>https://portfolioandblog.netlify.app/</link><item><title>Minimum Capacity Box</title><link>https://portfolioandblog.netlify.app/projects/3861-minimum-capacity-box/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3861-minimum-capacity-box/</guid><description>Given an array of box capacities and an item size, return the index of the box with the minimum capacity that can store the item, or -1 if none can.</description><pubDate>Wed, 13 May 2026 00:00:00 GMT</pubDate></item><item><title>Same Tree</title><link>https://portfolioandblog.netlify.app/projects/100-same-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/100-same-tree/</guid><description>Given the roots of two binary trees p and q, check if they are the same or not. Two binary trees are considered the same if they are structurally identical and the nodes have the same value.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Symmetric Tree</title><link>https://portfolioandblog.netlify.app/projects/101-symmetric-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/101-symmetric-tree/</guid><description>Given the root of a binary tree, check whether it is a mirror of itself (i.e., symmetric around its center).</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Maximum Depth of Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/104-maximum-depth-of-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/104-maximum-depth-of-binary-tree/</guid><description>Find the maximum depth of a binary tree by calculating the number of nodes along the longest path from the root node down to the farthest leaf node.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Balanced Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/110-balanced-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/110-balanced-binary-tree/</guid><description>Given a binary tree, determine if it is height-balanced. A height-balanced binary tree is defined as a binary tree in which the left and right subtrees of every node differ in height by no more than 1.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Pascal&apos;s Triangle</title><link>https://portfolioandblog.netlify.app/projects/118-pascals-triangle/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/118-pascals-triangle/</guid><description>Generate the first numRows of Pascal&apos;s triangle where each number is the sum of the two numbers directly above it.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Single Number</title><link>https://portfolioandblog.netlify.app/projects/136-single-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/136-single-number/</guid><description>Given a non-empty array of integers where every element appears twice except for one, find that single one.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Linked List Cycle</title><link>https://portfolioandblog.netlify.app/projects/141-linked-list-cycle/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/141-linked-list-cycle/</guid><description>Given head, determine if there is a cycle in the linked list. Return true if there is a cycle, otherwise false.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Intersection of Two Linked Lists</title><link>https://portfolioandblog.netlify.app/projects/160-intersection-of-two-linked-lists/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/160-intersection-of-two-linked-lists/</guid><description>Find the node where two singly linked lists intersect, or return null if they don&apos;t.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Majority Element</title><link>https://portfolioandblog.netlify.app/projects/169-majority-element/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/169-majority-element/</guid><description>Given an array nums of size n, return the majority element that appears more than ⌊n/2⌋ times.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Happy Number</title><link>https://portfolioandblog.netlify.app/projects/202-happy-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/202-happy-number/</guid><description>Write an algorithm to determine if a number n is happy. A happy number ends in 1 after repeatedly replacing it with the sum of squares of its digits.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Reverse Linked List</title><link>https://portfolioandblog.netlify.app/projects/206-reverse-linked-list/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/206-reverse-linked-list/</guid><description>Reverse a singly linked list by changing the links between nodes.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Contains Duplicate</title><link>https://portfolioandblog.netlify.app/projects/217-contains-duplicate/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/217-contains-duplicate/</guid><description>Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Palindrome Linked List</title><link>https://portfolioandblog.netlify.app/projects/234-palindrome-linked-list/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/234-palindrome-linked-list/</guid><description>Given the head of a singly linked list, return true if it is a palindrome or false otherwise.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Valid Anagram</title><link>https://portfolioandblog.netlify.app/projects/242-valid-anagram/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/242-valid-anagram/</guid><description>Given two strings s and t, return true if t is an anagram of s, and false otherwise.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Longest Alternating Subarray</title><link>https://portfolioandblog.netlify.app/projects/2765-longest-alternating-subarray/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2765-longest-alternating-subarray/</guid><description>You are given a 0-indexed integer array nums. A subarray s of length m is called alternating if: - m &gt; 1 - s₁ - s₀ = 1 - sᵢ₊₁ - sᵢ = (-1)ⁱ for 0 ≤ i &lt; m - 1.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Move Zeroes</title><link>https://portfolioandblog.netlify.app/projects/283-move-zeroes/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/283-move-zeroes/</guid><description>Move all zeros to the end of an array while maintaining the relative order of the non-zero elements.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Minimum Operations to Collect Elements</title><link>https://portfolioandblog.netlify.app/projects/2869-minimum-operations-to-collect-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2869-minimum-operations-to-collect-elements/</guid><description>You are given an array nums of positive integers and an integer k.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Search Insert Position</title><link>https://portfolioandblog.netlify.app/projects/35-search-insert-position/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/35-search-insert-position/</guid><description>Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Earliest Time to Finish One Task</title><link>https://portfolioandblog.netlify.app/projects/3683-earliest-time-to-finish-one-task/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3683-earliest-time-to-finish-one-task/</guid><description>You are given an integer array `tasks`, where `tasks[i]` represents the time required to complete the i-th task.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Equal Score Substrings</title><link>https://portfolioandblog.netlify.app/projects/3707-equal-score-substrings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3707-equal-score-substrings/</guid><description>The score of a character is its position in the alphabet (1-indexed). That is, &apos;a&apos; has a score of 1, &apos;b&apos; has a score of 2, ..., &apos;z&apos; has a score of 26.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Diameter of Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/543-diameter-of-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/543-diameter-of-binary-tree/</guid><description>Find the length of the longest path between any two nodes in a binary tree.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Climbing Stairs</title><link>https://portfolioandblog.netlify.app/projects/70-climbing-stairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/70-climbing-stairs/</guid><description>Count distinct ways to climb n steps taking 1 or 2 steps at a time.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Middle of the Linked List</title><link>https://portfolioandblog.netlify.app/projects/876-middle-of-the-linked-list/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/876-middle-of-the-linked-list/</guid><description>Given the head of a singly linked list, return the middle node. If there are two middle nodes, return the second middle node.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Merge Sorted Array</title><link>https://portfolioandblog.netlify.app/projects/88-merge-sorted-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/88-merge-sorted-array/</guid><description>Merge two sorted arrays nums1 and nums2 into nums1. The first array has enough space to hold all elements. Do not return anything, modify nums1 in-place.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Binary Tree Inorder Traversal</title><link>https://portfolioandblog.netlify.app/projects/94-binary-tree-inorder-traversal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/94-binary-tree-inorder-traversal/</guid><description>Given the root of a binary tree, return the inorder traversal of its nodes&apos; values.</description><pubDate>Tue, 12 May 2026 00:00:00 GMT</pubDate></item><item><title>Divide Two Integers</title><link>https://portfolioandblog.netlify.app/projects/29-divide-two-integers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/29-divide-two-integers/</guid><description>Given two integers &apos;dividend&apos; and &apos;divisor&apos;, divide two integers without using multiplication, division, and mod operator.</description><pubDate>Mon, 11 May 2026 00:00:00 GMT</pubDate></item><item><title>Minimum Depth of Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/111-minimum-depth-of-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/111-minimum-depth-of-binary-tree/</guid><description>Find the minimum depth of a binary tree, defined as the number of nodes along the shortest path from the root node down to the nearest leaf node.</description><pubDate>Mon, 27 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Minimum Distance to the Target Element</title><link>https://portfolioandblog.netlify.app/projects/1848-minimum-distance-to-the-target-element/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1848-minimum-distance-to-the-target-element/</guid><description>Given an array, a start index, and a target value, find the minimum absolute distance between the start index and any index containing the target.</description><pubDate>Mon, 27 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Two Out of Three</title><link>https://portfolioandblog.netlify.app/projects/2032-two-out-of-three/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2032-two-out-of-three/</guid><description>Given three integer arrays, return a sorted list of distinct values that appear in at least two of the arrays.</description><pubDate>Mon, 27 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Pass the Pillow</title><link>https://portfolioandblog.netlify.app/projects/2582-pass-the-pillow/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2582-pass-the-pillow/</guid><description>Find which person holds the pillow after passing it back and forth in a line for a given time.</description><pubDate>Sun, 26 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Merge Strings Alternately</title><link>https://portfolioandblog.netlify.app/projects/1768-merge-strings-alternately/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1768-merge-strings-alternately/</guid><description>Merge two strings by adding letters in alternating order, starting with word1. Append extra letters from the longer string to the end.</description><pubDate>Sat, 25 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Longest Palindrome</title><link>https://portfolioandblog.netlify.app/projects/409-longest-palindrome/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/409-longest-palindrome/</guid><description>Find the length of the longest palindrome that can be built using letters from a given string.</description><pubDate>Sat, 25 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Substrings of Size Three with Distinct Characters</title><link>https://portfolioandblog.netlify.app/projects/1876-substrings-of-size-three-with-distinct-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1876-substrings-of-size-three-with-distinct-characters/</guid><description>Count the number of substrings of length 3 with all distinct characters.</description><pubDate>Thu, 23 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Transpose Matrix</title><link>https://portfolioandblog.netlify.app/projects/867-transpose-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/867-transpose-matrix/</guid><description>Given a 2D integer array matrix, return the transpose of matrix. The transpose means flipping the matrix over its main diagonal.</description><pubDate>Thu, 23 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Minimum Cost of Buying Candies With Discount</title><link>https://portfolioandblog.netlify.app/projects/2144-minimum-cost-of-buying-candies-with-discount/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2144-minimum-cost-of-buying-candies-with-discount/</guid><description>Sort costs descending to maximize the value of free candies, then sum the paid ones.</description><pubDate>Wed, 22 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Minimum Common Value</title><link>https://portfolioandblog.netlify.app/projects/2540-minimum-common-value/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2540-minimum-common-value/</guid><description>Given two sorted arrays, find the smallest integer present in both.</description><pubDate>Wed, 22 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Find Valid Emails</title><link>https://portfolioandblog.netlify.app/projects/3436-find-valid-emails/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3436-find-valid-emails/</guid><description>Filter user emails based on specific prefix, domain, and extension rules using SQL.</description><pubDate>Tue, 21 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Find the K-or of an Array</title><link>https://portfolioandblog.netlify.app/projects/2917-find-the-k-or-of-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2917-find-the-k-or-of-an-array/</guid><description>Find the K-or of an array by checking each bit position and setting bits that appear in at least k elements.</description><pubDate>Mon, 20 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Largest Perimeter Triangle</title><link>https://portfolioandblog.netlify.app/projects/976-largest-perimeter-triangle/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/976-largest-perimeter-triangle/</guid><description>Given an integer array nums, return the largest perimeter of a triangle with a non-zero area, or 0 if impossible.</description><pubDate>Sun, 19 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Score of a String</title><link>https://portfolioandblog.netlify.app/projects/3110-score-of-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3110-score-of-a-string/</guid><description>Calculate the sum of absolute differences between ASCII values of adjacent characters in a string.</description><pubDate>Fri, 17 Apr 2026 00:00:00 GMT</pubDate></item><item><title>XOR Operation in an Array</title><link>https://portfolioandblog.netlify.app/projects/1486-xor-operation-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1486-xor-operation-in-an-array/</guid><description>Given an integer n and an integer start, define an array nums where nums[i] = start + 2 * i. Return the bitwise XOR of all elements of nums.</description><pubDate>Wed, 15 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Path Crossing</title><link>https://portfolioandblog.netlify.app/projects/1496-path-crossing/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1496-path-crossing/</guid><description>Given a path string, determine if you cross your own path at any point during the walk.</description><pubDate>Wed, 15 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Number of Different Integers in a String</title><link>https://portfolioandblog.netlify.app/projects/1805-number-of-different-integers-in-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1805-number-of-different-integers-in-a-string/</guid><description>Count distinct integer values in a string containing digits and letters, ignoring leading zeros.</description><pubDate>Wed, 15 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Generate Tag for Video Caption</title><link>https://portfolioandblog.netlify.app/projects/3582-generate-tag-for-video-caption/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3582-generate-tag-for-video-caption/</guid><description>Generate a video tag by taking the first letter of each word, capitalizing the first, and lowercasing the rest.</description><pubDate>Sun, 12 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Allow One Function Call</title><link>https://portfolioandblog.netlify.app/projects/2666-allow-one-function-call/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2666-allow-one-function-call/</guid><description>Create a function that allows another function to be called only once, returning the cached result on subsequent calls.</description><pubDate>Sat, 11 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Number of Beautiful Pairs</title><link>https://portfolioandblog.netlify.app/projects/2748-number-of-beautiful-pairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2748-number-of-beautiful-pairs/</guid><description>Count pairs (i,j) where first digit of nums[i] and last digit of nums[j] are coprime (gcd=1).</description><pubDate>Wed, 08 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Smallest Pair With Different Frequencies</title><link>https://portfolioandblog.netlify.app/projects/3852-smallest-pair-with-different-frequencies/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3852-smallest-pair-with-different-frequencies/</guid><description>Find the lexicographically smallest pair of indices where the frequencies of the corresponding elements differ.</description><pubDate>Tue, 07 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Widest Vertical Area Between Two Points Containing No Points</title><link>https://portfolioandblog.netlify.app/projects/1637-widest-vertical-area-between-two-points-containing-no-points/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1637-widest-vertical-area-between-two-points-containing-no-points/</guid><description>Given n points on a 2D plane, find the maximum width of a vertical area between two points that contains no other points.</description><pubDate>Mon, 06 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Find Center of Star Graph</title><link>https://portfolioandblog.netlify.app/projects/1791-find-center-of-star-graph/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1791-find-center-of-star-graph/</guid><description>There is an undirected star graph consisting of n nodes labeled from 1 to n. Find the center node.</description><pubDate>Mon, 06 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Maximum Strong Pair XOR I</title><link>https://portfolioandblog.netlify.app/projects/2932-maximum-strong-pair-xor-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2932-maximum-strong-pair-xor-i/</guid><description>Find the maximum XOR value of a strong pair (i, j) where nums[i] &amp;lt;= nums[j].</description><pubDate>Mon, 06 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Array Reduce Transformation</title><link>https://portfolioandblog.netlify.app/projects/2626-array-reduce-transformation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2626-array-reduce-transformation/</guid><description>Implement a reduce function that applies a given function cumulatively to array elements starting from an initial value.</description><pubDate>Sun, 05 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Construct the Rectangle</title><link>https://portfolioandblog.netlify.app/projects/492-construct-the-rectangle/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/492-construct-the-rectangle/</guid><description>Find the dimensions [L, W] of a rectangle with a given area such that the difference between length and width is minimized.</description><pubDate>Sat, 04 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Find Resultant Array After Removing Anagrams</title><link>https://portfolioandblog.netlify.app/projects/2273-find-resultant-array-after-removing-anagrams/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2273-find-resultant-array-after-removing-anagrams/</guid><description>Remove words from the array that are anagrams of the previous word until no more removals are possible.</description><pubDate>Thu, 02 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Filter Elements from Array</title><link>https://portfolioandblog.netlify.app/projects/2634-filter-elements-from-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2634-filter-elements-from-array/</guid><description>Given an array and a function, return a new array containing only the elements for which the function returns true.</description><pubDate>Thu, 02 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Modify the Matrix</title><link>https://portfolioandblog.netlify.app/projects/3033-modify-the-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3033-modify-the-matrix/</guid><description>Given a matrix, replace every -1 with the maximum value in its respective column.</description><pubDate>Thu, 02 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Second Minimum Node In a Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/671-second-minimum-node-in-a-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/671-second-minimum-node-in-a-binary-tree/</guid><description>Find the second smallest distinct value in a special binary tree where every parent node is smaller than its children.</description><pubDate>Wed, 01 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Number of Days Between Two Dates</title><link>https://portfolioandblog.netlify.app/projects/1360-number-of-days-between-two-dates/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1360-number-of-days-between-two-dates/</guid><description>Calculate the absolute difference in days between two given dates in the format YYYY-MM-DD.</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Find Champion I</title><link>https://portfolioandblog.netlify.app/projects/2923-find-champion-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2923-find-champion-i/</guid><description>Find the champion team in a tournament given a results matrix where 1 means the row team is stronger than the column team.</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Count the Number of Incremovable Subarrays I</title><link>https://portfolioandblog.netlify.app/projects/2970-count-the-number-of-incremovable-subarrays-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2970-count-the-number-of-incremovable-subarrays-i/</guid><description>Count subarrays whose removal results in a strictly increasing array.</description><pubDate>Mon, 30 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Longest Unequal Adjacent Groups Subsequence I</title><link>https://portfolioandblog.netlify.app/projects/2900-longest-unequal-adjacent-groups-subsequence-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2900-longest-unequal-adjacent-groups-subsequence-i/</guid><description>Find the longest subsequence of words where adjacent groups are unequal.</description><pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Transformed Array</title><link>https://portfolioandblog.netlify.app/projects/3379-transformed-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3379-transformed-array/</guid><description>Transform an array by adding each element to its neighbor based on sign, using original values.</description><pubDate>Fri, 27 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Keyboard Row</title><link>https://portfolioandblog.netlify.app/projects/500-keyboard-row/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/500-keyboard-row/</guid><description>Given an array of words, return the words that can be typed using letters of the alphabet on only one row of an American keyboard.</description><pubDate>Fri, 27 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Sort the People</title><link>https://portfolioandblog.netlify.app/projects/2418-sort-the-people/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2418-sort-the-people/</guid><description>Sort people by their heights in descending order and return their names.</description><pubDate>Thu, 26 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Reshape the Matrix</title><link>https://portfolioandblog.netlify.app/projects/566-reshape-the-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/566-reshape-the-matrix/</guid><description>Reshape a 2D matrix into a new dimension while preserving the original data order.</description><pubDate>Thu, 26 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Largest Number After Digit Swaps by Parity</title><link>https://portfolioandblog.netlify.app/projects/2231-largest-number-after-digit-swaps-by-parity/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2231-largest-number-after-digit-swaps-by-parity/</guid><description>You are given a positive integer num. You can swap two digits if they have the same parity. Return the largest number you can get.</description><pubDate>Tue, 24 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Find Special Substring of Length K</title><link>https://portfolioandblog.netlify.app/projects/3456-find-special-substring-of-length-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3456-find-special-substring-of-length-k/</guid><description>Count the number of substrings of length k where all characters are identical.</description><pubDate>Tue, 24 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Check Array Formation Through Concatenation</title><link>https://portfolioandblog.netlify.app/projects/1640-check-array-formation-through-concatenation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1640-check-array-formation-through-concatenation/</guid><description>Determine if an array can be formed by concatenating arrays from a list, preserving internal order.</description><pubDate>Mon, 23 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Make Array Zero by Subtracting Equal Amounts</title><link>https://portfolioandblog.netlify.app/projects/2357-make-array-zero-by-subtracting-equal-amounts/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2357-make-array-zero-by-subtracting-equal-amounts/</guid><description>Find the minimum number of operations to make all array elements zero by subtracting equal amounts from non-zero elements.</description><pubDate>Sun, 22 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Destination City</title><link>https://portfolioandblog.netlify.app/projects/1436-destination-city/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1436-destination-city/</guid><description>Find the destination city in a list of paths where the destination has no outgoing path.</description><pubDate>Sat, 21 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Drop Missing Data</title><link>https://portfolioandblog.netlify.app/projects/2883-drop-missing-data/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2883-drop-missing-data/</guid><description>Remove rows containing missing values from a DataFrame</description><pubDate>Sat, 21 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Cells with Odd Values in a Matrix</title><link>https://portfolioandblog.netlify.app/projects/1252-cells-with-odd-values-in-a-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1252-cells-with-odd-values-in-a-matrix/</guid><description>Count odd-valued cells in an m x n matrix after incrementing all cells in specified rows and columns.</description><pubDate>Thu, 19 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Find First Palindromic String in the Array</title><link>https://portfolioandblog.netlify.app/projects/2108-find-first-palindromic-string-in-the-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2108-find-first-palindromic-string-in-the-array/</guid><description>Given an array of strings, return the first string that reads the same forwards and backwards.</description><pubDate>Thu, 19 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Find the Maximum Divisibility Score</title><link>https://portfolioandblog.netlify.app/projects/2644-find-the-maximum-divisibility-score/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2644-find-the-maximum-divisibility-score/</guid><description>Find the divisor with the maximum divisibility score from an array of numbers. Return the smallest divisor if there&apos;s a tie.</description><pubDate>Thu, 19 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Find The Least Frequent Digit</title><link>https://portfolioandblog.netlify.app/projects/3663-find-the-least-frequent-digit/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3663-find-the-least-frequent-digit/</guid><description>Given an integer n, return the least frequent digit. If multiple digits have the same least frequency, return the smallest one.</description><pubDate>Thu, 19 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Max Pair Sum in an Array</title><link>https://portfolioandblog.netlify.app/projects/2815-max-pair-sum-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2815-max-pair-sum-in-an-array/</guid><description>Find the maximum sum of a pair of numbers where the maximum digit of both numbers is the same.</description><pubDate>Tue, 17 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Sign of the Product of an Array</title><link>https://portfolioandblog.netlify.app/projects/1822-sign-of-the-product-of-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1822-sign-of-the-product-of-an-array/</guid><description>Determine the sign of the product of an array of integers without calculating the actual product to avoid overflow.</description><pubDate>Sun, 15 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Calculate Special Bonus</title><link>https://portfolioandblog.netlify.app/projects/1873-calculate-special-bonus/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1873-calculate-special-bonus/</guid><description>Calculate the bonus for employees based on their ID and name, excluding those with odd IDs or names starting with &apos;M&apos;.</description><pubDate>Fri, 13 Mar 2026 00:00:00 GMT</pubDate></item><item><title>V-Rivals — Valorant Esports Platform</title><link>https://portfolioandblog.netlify.app/projects/v-rivals/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/v-rivals/</guid><description>An award-winning competitive Valorant platform with real-time tournament brackets, Riot API stat syncing, Discord bot integration, and player scouting. Built with Next.js 15, Tailwind CSS 4 &amp; Appwrite.</description><pubDate>Thu, 12 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Excel Sheet Column Number</title><link>https://portfolioandblog.netlify.app/projects/171-excel-sheet-column-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/171-excel-sheet-column-number/</guid><description>Given a string columnTitle representing the column title as it appears in an Excel sheet, return its corresponding column number.</description><pubDate>Wed, 11 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Create a New Column</title><link>https://portfolioandblog.netlify.app/projects/2881-create-a-new-column/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2881-create-a-new-column/</guid><description>Write a solution to create a new column &apos;bonus&apos; in a DataFrame by doubling the &apos;salary&apos; values.</description><pubDate>Wed, 11 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Available Captures for Rook</title><link>https://portfolioandblog.netlify.app/projects/999-available-captures-for-rook/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/999-available-captures-for-rook/</guid><description>Count how many pawns a rook can capture in one move on an 8x8 chessboard.</description><pubDate>Wed, 11 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Check if Word Equals Summation of Two Words</title><link>https://portfolioandblog.netlify.app/projects/1880-check-if-word-equals-summation-of-two-words/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1880-check-if-word-equals-summation-of-two-words/</guid><description>Check if the sum of numerical values of two words equals the numerical value of a target word.</description><pubDate>Tue, 10 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Check if Numbers Are Ascending in a Sentence</title><link>https://portfolioandblog.netlify.app/projects/2042-check-if-numbers-are-ascending-in-a-sentence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2042-check-if-numbers-are-ascending-in-a-sentence/</guid><description>Check if all numbers in a sentence are in strictly ascending order from left to right.</description><pubDate>Mon, 09 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Design HashSet</title><link>https://portfolioandblog.netlify.app/projects/705-design-hashset/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/705-design-hashset/</guid><description>Design a HashSet without using built-in hash table libraries. Implement add, remove, and contains operations.</description><pubDate>Mon, 09 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Count Complete Tree Nodes</title><link>https://portfolioandblog.netlify.app/projects/222-count-complete-tree-nodes/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/222-count-complete-tree-nodes/</guid><description>Given the root of a complete binary tree, return the number of nodes in the tree efficiently without traversing all nodes.</description><pubDate>Sun, 08 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Longer Contiguous Segments of Ones than Zeros</title><link>https://portfolioandblog.netlify.app/projects/1869-longer-contiguous-segments-of-ones-than-zeros/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1869-longer-contiguous-segments-of-ones-than-zeros/</guid><description>Check if the longest contiguous segment of 1s is strictly longer than the longest contiguous segment of 0s in a binary string.</description><pubDate>Sat, 07 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Rings and Rods</title><link>https://portfolioandblog.netlify.app/projects/2103-rings-and-rods/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2103-rings-and-rods/</guid><description>Count rods that have all three colored rings (red, green, blue) placed on them.</description><pubDate>Sat, 07 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Check Whether Two Strings are Almost Equivalent</title><link>https://portfolioandblog.netlify.app/projects/2068-check-whether-two-strings-are-almost-equivalent/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2068-check-whether-two-strings-are-almost-equivalent/</guid><description>Check if two strings are almost equivalent by comparing character frequencies with a maximum difference of 3.</description><pubDate>Fri, 06 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Meeting Rooms</title><link>https://portfolioandblog.netlify.app/projects/252-meeting-rooms/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/252-meeting-rooms/</guid><description>Determine if a person could attend all meetings given an array of time intervals.</description><pubDate>Fri, 06 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Add Strings</title><link>https://portfolioandblog.netlify.app/projects/415-add-strings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/415-add-strings/</guid><description>Given two non-negative integers num1 and num2 represented as strings, return the sum of num1 and num2 as a string.</description><pubDate>Wed, 04 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Minimum Operations to Make Columns Strictly Increasing</title><link>https://portfolioandblog.netlify.app/projects/3402-minimum-operations-to-make-columns-strictly-increasing/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3402-minimum-operations-to-make-columns-strictly-increasing/</guid><description>You are given a matrix. Increment cells to make every column strictly increasing. Return the minimum operations.</description><pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Count Dominant Indices</title><link>https://portfolioandblog.netlify.app/projects/3833-count-dominant-indices/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3833-count-dominant-indices/</guid><description>Count the number of indices where the element is strictly greater than the sum of elements to its left and right.</description><pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Reverse Vowels of a String</title><link>https://portfolioandblog.netlify.app/projects/345-reverse-vowels-of-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/345-reverse-vowels-of-a-string/</guid><description>Given a string s, reverse only all the vowels in the string and return it.</description><pubDate>Sat, 28 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Advanced Level Pinterest Affiliate Marketing</title><link>https://portfolioandblog.netlify.app/projects/pinterest-affiliate/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/pinterest-affiliate/</guid><description>An automated Make.com workflow that fetches Amazon products via RapidAPI, generates engaging Pinterest post content using OpenAI GPT-4o, and directly publishes to Pinterest boards.</description><pubDate>Sat, 28 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Longest Subsequence With Limited Sum</title><link>https://portfolioandblog.netlify.app/projects/2389-longest-subsequence-with-limited-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2389-longest-subsequence-with-limited-sum/</guid><description>Find the length of the longest subsequence of nums with sum less than or equal to each query.</description><pubDate>Thu, 26 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Nim Game</title><link>https://portfolioandblog.netlify.app/projects/292-nim-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/292-nim-game/</guid><description>Determine if you can win the Nim Game where you and a friend take turns removing 1-3 stones from a heap.</description><pubDate>Wed, 25 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Concatenation of Array</title><link>https://portfolioandblog.netlify.app/projects/1929-concatenation-of-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1929-concatenation-of-array/</guid><description>Given an array nums, return an array ans where ans is the concatenation of nums with itself.</description><pubDate>Tue, 24 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Count Pairs Of Similar Strings</title><link>https://portfolioandblog.netlify.app/projects/2506-count-pairs-of-similar-strings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2506-count-pairs-of-similar-strings/</guid><description>Count pairs of strings that contain the same set of unique characters.</description><pubDate>Sat, 21 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Maximum Containers on a Ship</title><link>https://portfolioandblog.netlify.app/projects/3492-maximum-containers-on-a-ship/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3492-maximum-containers-on-a-ship/</guid><description>Calculate the maximum number of containers that can fit on a ship given dimensions, allowing rotation.</description><pubDate>Sat, 21 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Furthest Point From Origin</title><link>https://portfolioandblog.netlify.app/projects/2833-furthest-point-from-origin/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2833-furthest-point-from-origin/</guid><description>Calculate the maximum possible distance from the origin after moving left, right, or either direction.</description><pubDate>Tue, 17 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Number of 1 Bits</title><link>https://portfolioandblog.netlify.app/projects/191-number-of-1-bits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/191-number-of-1-bits/</guid><description>Write a function that takes the binary representation of an unsigned integer and returns the number of &apos;1&apos; bits it has (also known as the Hamming weight).</description><pubDate>Mon, 16 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Minimum Operations to Equalize Array</title><link>https://portfolioandblog.netlify.app/projects/3674-minimum-operations-to-equalize-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3674-minimum-operations-to-equalize-array/</guid><description>Find minimum bit flips to make all array elements equal.</description><pubDate>Sun, 15 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Binary Tree Postorder Traversal</title><link>https://portfolioandblog.netlify.app/projects/145-binary-tree-postorder-traversal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/145-binary-tree-postorder-traversal/</guid><description>Given the root of a binary tree, return the postorder traversal of its nodes&apos; values.</description><pubDate>Sat, 14 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Relative Ranks</title><link>https://portfolioandblog.netlify.app/projects/506-relative-ranks/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/506-relative-ranks/</guid><description>Assign ranks to athletes based on their scores with Gold, Silver, Bronze medals for top 3.</description><pubDate>Sat, 14 Feb 2026 00:00:00 GMT</pubDate></item><item><title>AI Blog Content Repurposer</title><link>https://portfolioandblog.netlify.app/projects/ai-blog-repurposer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/ai-blog-repurposer/</guid><description>An AI-powered engine that transforms blog URLs into viral social media assets (LinkedIn, Twitter, SEO, Video) using Google Gemini and Next.js.</description><pubDate>Fri, 13 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Summary Ranges</title><link>https://portfolioandblog.netlify.app/projects/228-summary-ranges/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/228-summary-ranges/</guid><description>You are given a sorted unique integer array nums. Return the smallest sorted list of ranges that cover all the numbers in the array exactly.</description><pubDate>Thu, 12 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Missing Number</title><link>https://portfolioandblog.netlify.app/projects/268-missing-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/268-missing-number/</guid><description>Given an array nums containing n distinct numbers in the range [0, n], return the only number in the range that is missing from the array.</description><pubDate>Thu, 12 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Find Target Indices After Sorting Array</title><link>https://portfolioandblog.netlify.app/projects/2089-find-target-indices-after-sorting-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2089-find-target-indices-after-sorting-array/</guid><description>Find all indices where the element equals target after sorting the array in non-decreasing order.</description><pubDate>Tue, 10 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Existence of a Substring in a String and Its Reverse</title><link>https://portfolioandblog.netlify.app/projects/3083-existence-of-a-substring-in-a-string-and-its-reverse/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3083-existence-of-a-substring-in-a-string-and-its-reverse/</guid><description>Check if a string contains a substring of length at least 2 that also appears in its reverse.</description><pubDate>Tue, 10 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Reverse Only Letters</title><link>https://portfolioandblog.netlify.app/projects/917-reverse-only-letters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/917-reverse-only-letters/</guid><description>Given a string s, reverse the string while keeping all non-letter characters in their original positions.</description><pubDate>Sun, 08 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Maximum Difference Between Adjacent Elements in a Circular Array</title><link>https://portfolioandblog.netlify.app/projects/3423-maximum-difference-between-adjacent-elements-in-a-circular-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3423-maximum-difference-between-adjacent-elements-in-a-circular-array/</guid><description>Find the maximum absolute difference between adjacent elements in a circular array.</description><pubDate>Thu, 05 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Excel Sheet Column Title</title><link>https://portfolioandblog.netlify.app/projects/168-excel-sheet-column-title/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/168-excel-sheet-column-title/</guid><description>Convert a given column number to its corresponding Excel column title as it appears in an Excel sheet.</description><pubDate>Mon, 02 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Lexicographically Smallest Palindrome</title><link>https://portfolioandblog.netlify.app/projects/2697-lexicographically-smallest-palindrome/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2697-lexicographically-smallest-palindrome/</guid><description>You are given a string s. You can change any character to any other lowercase English letter. Return the lexicographically smallest palindrome you can make.</description><pubDate>Mon, 02 Feb 2026 00:00:00 GMT</pubDate></item><item><title>Primary Department for Each Employee</title><link>https://portfolioandblog.netlify.app/projects/1789-primary-department-for-each-employee/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1789-primary-department-for-each-employee/</guid><description>Find the primary department for each employee, prioritizing the &apos;Y&apos; flag or the smallest department ID if no flag exists.</description><pubDate>Fri, 30 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Count Prefixes of a Given String</title><link>https://portfolioandblog.netlify.app/projects/2255-count-prefixes-of-a-given-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2255-count-prefixes-of-a-given-string/</guid><description>Count how many strings in an array are prefixes of a target string.</description><pubDate>Fri, 30 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Find the Peaks</title><link>https://portfolioandblog.netlify.app/projects/2951-find-the-peaks/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2951-find-the-peaks/</guid><description>Identify all peak indices in an array where a peak is strictly greater than its neighbors.</description><pubDate>Fri, 30 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Check if All the Integers in a Range Are Covered</title><link>https://portfolioandblog.netlify.app/projects/1893-check-if-all-the-integers-in-a-range-are-covered/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1893-check-if-all-the-integers-in-a-range-are-covered/</guid><description>Determine if every integer in a given range is covered by at least one interval from a list of ranges.</description><pubDate>Thu, 29 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Ugly Number</title><link>https://portfolioandblog.netlify.app/projects/263-ugly-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/263-ugly-number/</guid><description>An ugly number is a positive integer whose prime factors are limited to 2, 3, and 5.</description><pubDate>Thu, 29 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Find the Encrypted String</title><link>https://portfolioandblog.netlify.app/projects/3210-find-the-encrypted-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3210-find-the-encrypted-string/</guid><description>Encrypt a string by replacing each character with the character k positions ahead, wrapping around if necessary.</description><pubDate>Tue, 27 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Two Sum IV - Input is a BST</title><link>https://portfolioandblog.netlify.app/projects/653-two-sum-iv-input-is-a-bst/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/653-two-sum-iv-input-is-a-bst/</guid><description>Given a Binary Search Tree and a target number k, return true if there exist two elements in the BST such that their sum is equal to the given target.</description><pubDate>Tue, 27 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Students and Examinations</title><link>https://portfolioandblog.netlify.app/projects/1280-students-and-examinations/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1280-students-and-examinations/</guid><description>Write a query to list all students, all subjects, and the count of exams attended by each student for each subject.</description><pubDate>Mon, 26 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Sorting the Sentence</title><link>https://portfolioandblog.netlify.app/projects/1859-sorting-the-sentence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1859-sorting-the-sentence/</guid><description>A sentence where each word has a trailing digit needs to be sorted based on that digit and reconstructed.</description><pubDate>Sun, 25 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Maximum Difference Between Increasing Elements</title><link>https://portfolioandblog.netlify.app/projects/2016-maximum-difference-between-increasing-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2016-maximum-difference-between-increasing-elements/</guid><description>Find the maximum difference nums[j] - nums[i] where i &amp;lt; j and nums[i] &amp;lt; nums[j].</description><pubDate>Sun, 25 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Customer Placing the Largest Number of Orders</title><link>https://portfolioandblog.netlify.app/projects/586-customer-placing-the-largest-number-of-orders/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/586-customer-placing-the-largest-number-of-orders/</guid><description>Find the customer who has placed the largest number of orders from the Orders table.</description><pubDate>Sun, 25 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Minimum Number of Operations to Convert Time</title><link>https://portfolioandblog.netlify.app/projects/2224-minimum-number-of-operations-to-convert-time/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2224-minimum-number-of-operations-to-convert-time/</guid><description>Convert time from current to correct using minimum operations of adding 1, 5, 15, or 60 minutes.</description><pubDate>Fri, 23 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Remove Letter To Equalize Frequency</title><link>https://portfolioandblog.netlify.app/projects/2423-remove-letter-to-equalize-frequency/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2423-remove-letter-to-equalize-frequency/</guid><description>Check if removing one character from a string can make the frequency of all remaining characters equal.</description><pubDate>Tue, 20 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Flipping an Image</title><link>https://portfolioandblog.netlify.app/projects/832-flipping-an-image/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/832-flipping-an-image/</guid><description>Given an n x n binary matrix image, flip the image horizontally, then invert it, and return the resulting image.</description><pubDate>Mon, 19 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Next Greater Element I</title><link>https://portfolioandblog.netlify.app/projects/496-next-greater-element-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/496-next-greater-element-i/</guid><description>Find the next greater element for each element in nums1 based on its position in nums2.</description><pubDate>Sat, 17 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Design an Ordered Stream</title><link>https://portfolioandblog.netlify.app/projects/1656-design-an-ordered-stream/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1656-design-an-ordered-stream/</guid><description>Implement a data structure that inserts (id, value) pairs and returns consecutive chunks of values starting from a pointer.</description><pubDate>Fri, 16 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Count of Matches in Tournament</title><link>https://portfolioandblog.netlify.app/projects/1688-count-of-matches-in-tournament/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1688-count-of-matches-in-tournament/</guid><description>Given n teams, count the total matches in a single-elimination tournament where each match eliminates one team.</description><pubDate>Fri, 16 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Count Elements With Maximum Frequency</title><link>https://portfolioandblog.netlify.app/projects/3005-count-elements-with-maximum-frequency/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3005-count-elements-with-maximum-frequency/</guid><description>Count the total frequency of elements in an array that appear the maximum number of times.</description><pubDate>Fri, 16 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Check if Any Element Has Prime Frequency</title><link>https://portfolioandblog.netlify.app/projects/3591-check-if-any-element-has-prime-frequency/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3591-check-if-any-element-has-prime-frequency/</guid><description>Determine if any element in an array appears a prime number of times.</description><pubDate>Fri, 16 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Find Pivot Index</title><link>https://portfolioandblog.netlify.app/projects/724-find-pivot-index/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/724-find-pivot-index/</guid><description>Given an array of integers nums, calculate the pivot index where the sum of all the numbers to the left is equal to the sum of all the numbers to the right.</description><pubDate>Fri, 16 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Remove Zeros in Decimal Representation</title><link>https://portfolioandblog.netlify.app/projects/3726-remove-zeros-in-decimal-representation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3726-remove-zeros-in-decimal-representation/</guid><description>Given an integer n, return the integer obtained by removing all trailing zeros from its decimal representation.</description><pubDate>Thu, 15 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Bitcoin EMA Crossover Alert System</title><link>https://portfolioandblog.netlify.app/projects/bitcoin-indicator/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/bitcoin-indicator/</guid><description>A robust n8n workflow that calculates Exponential Moving Average (EMA) crossovers (9/21 periods) for Bitcoin across multiple timeframes, persisting state in Google Sheets and dispatching real-time trading signals via Telegram.</description><pubDate>Thu, 15 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Count Hills and Valleys in an Array</title><link>https://portfolioandblog.netlify.app/projects/2210-count-hills-and-valleys-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2210-count-hills-and-valleys-in-an-array/</guid><description>Count indices in an array that are strictly greater or smaller than their neighbors, skipping consecutive duplicates.</description><pubDate>Wed, 14 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Assign Cookies</title><link>https://portfolioandblog.netlify.app/projects/455-assign-cookies/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/455-assign-cookies/</guid><description>Maximize the number of content children by assigning cookies that satisfy their minimum size requirements.</description><pubDate>Tue, 13 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Daily Leads and Partners</title><link>https://portfolioandblog.netlify.app/projects/1693-daily-leads-and-partners/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1693-daily-leads-and-partners/</guid><description>Count the number of unique leads and partners for each day.</description><pubDate>Mon, 12 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Check Distances Between Same Letters</title><link>https://portfolioandblog.netlify.app/projects/2399-check-distances-between-same-letters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2399-check-distances-between-same-letters/</guid><description>Check if distances between same letters in a string match a given distance array.</description><pubDate>Mon, 12 Jan 2026 00:00:00 GMT</pubDate></item><item><title>First Matching Character From Both Ends</title><link>https://portfolioandblog.netlify.app/projects/3884-first-matching-character-from-both-ends/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3884-first-matching-character-from-both-ends/</guid><description>Find the first character that matches when comparing the string from the start and end moving inwards.</description><pubDate>Mon, 12 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Valid Parentheses</title><link>https://portfolioandblog.netlify.app/projects/20-valid-parentheses/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/20-valid-parentheses/</guid><description>Given a string s containing just the characters &apos;(&apos;, &apos;)&apos;, &apos;{&apos;, &apos;}&apos;, &apos;[&apos; and &apos;]&apos;, determine if the input string is valid.</description><pubDate>Sat, 10 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Count Special Quadruplets</title><link>https://portfolioandblog.netlify.app/projects/1995-count-special-quadruplets/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1995-count-special-quadruplets/</guid><description>Given an array, count quadruplets (a,b,c,d) where a&lt;b&lt;c&lt;d and nums[a]+nums[b]+nums[c]==nums[d].</description><pubDate>Fri, 09 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Most Visited Sector in a Circular Track</title><link>https://portfolioandblog.netlify.app/projects/1560-most-visited-sector-in-a-circular-track/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1560-most-visited-sector-in-a-circular-track/</guid><description>Given a circular track with n sectors and an array of rounds, find the most visited sectors after completing all rounds.</description><pubDate>Thu, 08 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Check If Digits Are Equal in String After Operations I</title><link>https://portfolioandblog.netlify.app/projects/3461-check-if-digits-are-equal-in-string-after-operations-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3461-check-if-digits-are-equal-in-string-after-operations-i/</guid><description>Determine if all digits in a string can be made equal by repeatedly replacing a digit with its left neighbor if they differ.</description><pubDate>Thu, 08 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Hamming Distance</title><link>https://portfolioandblog.netlify.app/projects/461-hamming-distance/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/461-hamming-distance/</guid><description>The Hamming distance between two integers is the number of positions at which the corresponding bits are different.</description><pubDate>Wed, 07 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Separate the Digits in an Array</title><link>https://portfolioandblog.netlify.app/projects/2553-separate-the-digits-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2553-separate-the-digits-in-an-array/</guid><description>Given an array of positive integers, return an array with each integer&apos;s digits separated in order.</description><pubDate>Tue, 06 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Neither Minimum nor Maximum</title><link>https://portfolioandblog.netlify.app/projects/2733-neither-minimum-nor-maximum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2733-neither-minimum-nor-maximum/</guid><description>Find an integer in the array that is neither the minimum nor the maximum value.</description><pubDate>Tue, 06 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Three Divisors</title><link>https://portfolioandblog.netlify.app/projects/1952-three-divisors/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1952-three-divisors/</guid><description>Given an integer n, return true if n has exactly three positive divisors, otherwise return false.</description><pubDate>Mon, 05 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Find a Corresponding Node of a Binary Tree in a Clone of That Tree</title><link>https://portfolioandblog.netlify.app/projects/1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1379-find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree/</guid><description>Given two binary trees, original and cloned, and a node in the original, return the corresponding node in the cloned tree.</description><pubDate>Sat, 03 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Maximum Enemy Forts That Can Be Captured</title><link>https://portfolioandblog.netlify.app/projects/2511-maximum-enemy-forts-that-can-be-captured/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2511-maximum-enemy-forts-that-can-be-captured/</guid><description>Find the maximum distance between your fort (1) and an enemy fort (-1) passing only through empty forts (0).</description><pubDate>Sat, 03 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Construct the Minimum Bitwise Array I</title><link>https://portfolioandblog.netlify.app/projects/3314-construct-the-minimum-bitwise-array-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3314-construct-the-minimum-bitwise-array-i/</guid><description>Given an array of positive integers, find the smallest x for each element such that x &amp; (x + 1) equals the element.</description><pubDate>Thu, 01 Jan 2026 00:00:00 GMT</pubDate></item><item><title>Unique Number of Occurrences</title><link>https://portfolioandblog.netlify.app/projects/1207-unique-number-of-occurrences/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1207-unique-number-of-occurrences/</guid><description>Check if the frequency of every value in an array is unique.</description><pubDate>Wed, 31 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Number of Employees Who Met the Target</title><link>https://portfolioandblog.netlify.app/projects/2798-number-of-employees-who-met-the-target/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2798-number-of-employees-who-met-the-target/</guid><description>Count how many employees worked at least the target number of hours.</description><pubDate>Wed, 31 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Smallest Index With Equal Value</title><link>https://portfolioandblog.netlify.app/projects/2057-smallest-index-with-equal-value/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2057-smallest-index-with-equal-value/</guid><description>Find the smallest index i where i % 10 equals nums[i], or return -1.</description><pubDate>Tue, 30 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Longest Nice Substring</title><link>https://portfolioandblog.netlify.app/projects/1763-longest-nice-substring/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1763-longest-nice-substring/</guid><description>Find the longest substring where every letter appears in both uppercase and lowercase forms.</description><pubDate>Mon, 29 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Largest 3-Same-Digit Number in String</title><link>https://portfolioandblog.netlify.app/projects/2264-largest-3-same-digit-number-in-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2264-largest-3-same-digit-number-in-string/</guid><description>You are given a string num representing a large integer. Return the largest-valued good integer as a string or an empty string if no such integer exists.</description><pubDate>Mon, 29 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Find Subarrays With Equal Sum</title><link>https://portfolioandblog.netlify.app/projects/2395-find-subarrays-with-equal-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2395-find-subarrays-with-equal-sum/</guid><description>Check if there exist two distinct subarrays of length 2 with equal sum in an array.</description><pubDate>Fri, 26 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Find Total Time Spent by Each Employee</title><link>https://portfolioandblog.netlify.app/projects/1741-find-total-time-spent-by-each-employee/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1741-find-total-time-spent-by-each-employee/</guid><description>Calculate the total time in seconds spent by each employee per day based on their in and out times.</description><pubDate>Thu, 25 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Construct Uniform Parity Array I</title><link>https://portfolioandblog.netlify.app/projects/3875-construct-uniform-parity-array-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3875-construct-uniform-parity-array-i/</guid><description>Construct an array of length n where elements match the parity of their index, using values from 1 to m.</description><pubDate>Thu, 25 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Index Sum of Two Lists</title><link>https://portfolioandblog.netlify.app/projects/599-minimum-index-sum-of-two-lists/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/599-minimum-index-sum-of-two-lists/</guid><description>Given two string arrays, find the common strings with the smallest sum of their indices.</description><pubDate>Thu, 25 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Sum of Mountain Triplets I</title><link>https://portfolioandblog.netlify.app/projects/2908-minimum-sum-of-mountain-triplets-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2908-minimum-sum-of-mountain-triplets-i/</guid><description>Find the minimum sum of a mountain triplet (i, j, k) where i &amp;lt; j &amp;lt; k, nums[i] &amp;lt; nums[j], and nums[k] &amp;lt; nums[j].</description><pubDate>Tue, 23 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Apply Transform Over Each Element in Array</title><link>https://portfolioandblog.netlify.app/projects/2635-apply-transform-over-each-element-in-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2635-apply-transform-over-each-element-in-array/</guid><description>Given an array and a function, return a new array where each element is the result of applying the function to the original element and its index.</description><pubDate>Mon, 22 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Fibonacci Number</title><link>https://portfolioandblog.netlify.app/projects/509-fibonacci-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/509-fibonacci-number/</guid><description>The Fibonacci numbers form a sequence where each number is the sum of the two preceding ones, starting from 0 and 1. Given n, return F(n).</description><pubDate>Mon, 22 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Running Sum of 1d Array</title><link>https://portfolioandblog.netlify.app/projects/1480-running-sum-of-1d-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1480-running-sum-of-1d-array/</guid><description>Given an array nums, return the running sum of the array where runningSum[i] = sum(nums[0]...nums[i]).</description><pubDate>Sun, 21 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Keep Multiplying Found Values by Two</title><link>https://portfolioandblog.netlify.app/projects/2154-keep-multiplying-found-values-by-two/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2154-keep-multiplying-found-values-by-two/</guid><description>Find original in nums, multiply by 2, repeat until not found. Return final value.</description><pubDate>Sun, 21 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Valid Digit Number</title><link>https://portfolioandblog.netlify.app/projects/3908-valid-digit-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3908-valid-digit-number/</guid><description>Check if a string consists only of digits and does not have leading zeros.</description><pubDate>Sun, 21 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Check If Two String Arrays are Equivalent</title><link>https://portfolioandblog.netlify.app/projects/1662-check-if-two-string-arrays-are-equivalent/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1662-check-if-two-string-arrays-are-equivalent/</guid><description>Given two string arrays, determine if they represent the same string when concatenated.</description><pubDate>Fri, 19 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Smallest Stable Index I</title><link>https://portfolioandblog.netlify.app/projects/3903-smallest-stable-index-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3903-smallest-stable-index-i/</guid><description>Find the smallest index i where nums[i] equals the sum of elements before it.</description><pubDate>Fri, 19 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Average Selling Price</title><link>https://portfolioandblog.netlify.app/projects/1251-average-selling-price/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1251-average-selling-price/</guid><description>Calculate the average selling price for each product based on unit sales and applicable price ranges.</description><pubDate>Wed, 17 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Implement Stack using Queues</title><link>https://portfolioandblog.netlify.app/projects/225-implement-stack-using-queues/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/225-implement-stack-using-queues/</guid><description>Implement a last-in-first-out (LIFO) stack using only two queues.</description><pubDate>Wed, 17 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Counter</title><link>https://portfolioandblog.netlify.app/projects/2620-counter/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2620-counter/</guid><description>Create a counter function that returns incrementing values starting from a given integer.</description><pubDate>Tue, 16 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Timeout Cancellation</title><link>https://portfolioandblog.netlify.app/projects/2715-timeout-cancellation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2715-timeout-cancellation/</guid><description>Implement a cancellable timeout function that executes a given function after a delay, with the ability to cancel the execution.</description><pubDate>Tue, 16 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Time Visiting All Points</title><link>https://portfolioandblog.netlify.app/projects/1266-minimum-time-visiting-all-points/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1266-minimum-time-visiting-all-points/</guid><description>Calculate the minimum time to visit all points in order on a 2D plane, moving one unit per second in any of 8 directions.</description><pubDate>Mon, 15 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Contains Duplicate II</title><link>https://portfolioandblog.netlify.app/projects/219-contains-duplicate-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/219-contains-duplicate-ii/</guid><description>Given an integer array nums and an integer k, return true if there are two distinct indices i and j such that nums[i] == nums[j] and abs(i - j) &amp;lt;= k.</description><pubDate>Mon, 15 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Sales Person</title><link>https://portfolioandblog.netlify.app/projects/607-sales-person/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/607-sales-person/</guid><description>Find all sales people who did not have any orders with company named RED</description><pubDate>Mon, 15 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Replace All ?&apos;s to Avoid Consecutive Repeating Characters</title><link>https://portfolioandblog.netlify.app/projects/1576-replace-all-s-to-avoid-consecutive-repeating-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1576-replace-all-s-to-avoid-consecutive-repeating-characters/</guid><description>Replace all &apos;?&apos; characters in a string with lowercase letters so no two consecutive characters are the same.</description><pubDate>Sun, 14 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Merge Two Binary Trees</title><link>https://portfolioandblog.netlify.app/projects/617-merge-two-binary-trees/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/617-merge-two-binary-trees/</guid><description>Merge two binary trees by summing overlapping nodes and using non-null nodes for non-overlapping parts.</description><pubDate>Wed, 10 Dec 2025 00:00:00 GMT</pubDate></item><item><title>AI Crypto Predictor &amp; Trading Assistant</title><link>https://portfolioandblog.netlify.app/projects/crypto-predictor/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/crypto-predictor/</guid><description>An advanced n8n automation that acts as an AI-driven trading assistant. It ingests live market data and news, performs AI sentiment analysis, and uses Google Gemini to generate highly detailed, multi-timeframe trading signals delivered via Telegram.</description><pubDate>Wed, 10 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Largest Odd Number in String</title><link>https://portfolioandblog.netlify.app/projects/1903-largest-odd-number-in-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1903-largest-odd-number-in-string/</guid><description>Find the largest odd integer substring in a given numeric string.</description><pubDate>Tue, 09 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Number of Even and Odd Bits</title><link>https://portfolioandblog.netlify.app/projects/2595-number-of-even-and-odd-bits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2595-number-of-even-and-odd-bits/</guid><description>Count the number of 1s at even and odd positions in the binary representation of a given positive integer.</description><pubDate>Sun, 07 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Make Three Strings Equal</title><link>https://portfolioandblog.netlify.app/projects/2937-make-three-strings-equal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2937-make-three-strings-equal/</guid><description>Find minimum operations to make three strings equal by deleting from the end.</description><pubDate>Sat, 06 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Greatest English Letter in Upper and Lower Case</title><link>https://portfolioandblog.netlify.app/projects/2309-greatest-english-letter-in-upper-and-lower-case/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2309-greatest-english-letter-in-upper-and-lower-case/</guid><description>Find the greatest English letter that appears in both uppercase and lowercase in a given string.</description><pubDate>Thu, 04 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Counter II</title><link>https://portfolioandblog.netlify.app/projects/2665-counter-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2665-counter-ii/</guid><description>Create a counter object with increment, decrement, and reset functions using closures.</description><pubDate>Wed, 03 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Array Wrapper</title><link>https://portfolioandblog.netlify.app/projects/2695-array-wrapper/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2695-array-wrapper/</guid><description>Create a class that wraps an array and provides string representation and addition operations.</description><pubDate>Tue, 02 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Count Residue Prefixes</title><link>https://portfolioandblog.netlify.app/projects/3803-count-residue-prefixes/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3803-count-residue-prefixes/</guid><description>Count the number of prefixes of a numeric string that are divisible by a given integer.</description><pubDate>Tue, 02 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Teemo Attacking</title><link>https://portfolioandblog.netlify.app/projects/495-teemo-attacking/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/495-teemo-attacking/</guid><description>Calculate the total time Ashe is poisoned based on Teemo&apos;s attack timings and poison duration.</description><pubDate>Mon, 01 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Sqrt(x)</title><link>https://portfolioandblog.netlify.app/projects/69-sqrtx/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/69-sqrtx/</guid><description>Given a non-negative integer x, return the square root of x rounded down to the nearest integer.</description><pubDate>Mon, 01 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Sort Array By Parity</title><link>https://portfolioandblog.netlify.app/projects/905-sort-array-by-parity/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/905-sort-array-by-parity/</guid><description>Move all even integers to the beginning of the array followed by all odd integers.</description><pubDate>Mon, 01 Dec 2025 00:00:00 GMT</pubDate></item><item><title>Recyclable and Low Fat Products</title><link>https://portfolioandblog.netlify.app/projects/1757-recyclable-and-low-fat-products/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1757-recyclable-and-low-fat-products/</guid><description>Find product IDs for products that are both recyclable and low fat.</description><pubDate>Sun, 30 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Maximize Sum of At Most K Distinct Elements</title><link>https://portfolioandblog.netlify.app/projects/3684-maximize-sum-of-at-most-k-distinct-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3684-maximize-sum-of-at-most-k-distinct-elements/</guid><description>Given an array nums and integer k, find the maximum sum of a subset containing at most k distinct elements.</description><pubDate>Sun, 30 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Sort By</title><link>https://portfolioandblog.netlify.app/projects/2724-sort-by/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2724-sort-by/</guid><description>Implement a function to sort an array of objects based on a function that returns a value to sort by.</description><pubDate>Sat, 29 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Trionic Array I</title><link>https://portfolioandblog.netlify.app/projects/3637-trionic-array-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3637-trionic-array-i/</guid><description>Check if an array is trionic: length 3, distinct elements, and sum of first two equals the third.</description><pubDate>Fri, 28 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Difference Between Element Sum and Digit Sum of an Array</title><link>https://portfolioandblog.netlify.app/projects/2535-difference-between-element-sum-and-digit-sum-of-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2535-difference-between-element-sum-and-digit-sum-of-an-array/</guid><description>Calculate the absolute difference between the sum of array elements and the sum of their individual digits.</description><pubDate>Mon, 24 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Uncommon Words from Two Sentences</title><link>https://portfolioandblog.netlify.app/projects/884-uncommon-words-from-two-sentences/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/884-uncommon-words-from-two-sentences/</guid><description>A sentence is a string of single-space separated words. Find all words that appear exactly once in one of the sentences, and do not appear in the other sentence.</description><pubDate>Mon, 24 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Make Two Arrays Equal by Reversing Subarrays</title><link>https://portfolioandblog.netlify.app/projects/1460-make-two-arrays-equal-by-reversing-subarrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1460-make-two-arrays-equal-by-reversing-subarrays/</guid><description>Check if two arrays can be made equal by reversing subarrays. Since any permutation is possible, we just need to check if they have the same elements.</description><pubDate>Sun, 23 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Add Two Promises</title><link>https://portfolioandblog.netlify.app/projects/2723-add-two-promises/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2723-add-two-promises/</guid><description>Given two promises that resolve to numbers, return a promise that resolves to their sum.</description><pubDate>Sat, 22 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Count Asterisks</title><link>https://portfolioandblog.netlify.app/projects/2315-count-asterisks/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2315-count-asterisks/</guid><description>Count asterisks in a string, excluding those between pairs of vertical bars.</description><pubDate>Thu, 20 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Find Most Frequent Vowel and Consonant</title><link>https://portfolioandblog.netlify.app/projects/3541-find-most-frequent-vowel-and-consonant/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3541-find-most-frequent-vowel-and-consonant/</guid><description>Given a string, find the most frequent vowel and consonant. Return the result based on frequency and lexicographical order.</description><pubDate>Thu, 20 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Number of Common Factors</title><link>https://portfolioandblog.netlify.app/projects/2427-number-of-common-factors/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2427-number-of-common-factors/</guid><description>Given two positive integers a and b, return the number of common factors of a and b.</description><pubDate>Tue, 18 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Make a Square with the Same Color</title><link>https://portfolioandblog.netlify.app/projects/3127-make-a-square-with-the-same-color/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3127-make-a-square-with-the-same-color/</guid><description>Determine if you can change one cell in a 3x3 grid to form a 2x2 square of uniform color.</description><pubDate>Sat, 15 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Find the Difference</title><link>https://portfolioandblog.netlify.app/projects/389-find-the-difference/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/389-find-the-difference/</guid><description>You are given two strings s and t. String t is generated by random shuffling string s and then adding one more letter at a random position. Return the letter that was added to t.</description><pubDate>Sat, 15 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Ant on the Boundary</title><link>https://portfolioandblog.netlify.app/projects/3028-ant-on-the-boundary/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3028-ant-on-the-boundary/</guid><description>An ant moves left or right based on an array of integers. Return the number of times it returns to the boundary (position 0) after the first move.</description><pubDate>Wed, 12 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Rearrange Characters to Make Target String</title><link>https://portfolioandblog.netlify.app/projects/2287-rearrange-characters-to-make-target-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2287-rearrange-characters-to-make-target-string/</guid><description>Given two strings s and target, find the maximum number of copies of target that can be formed by rearranging characters from s.</description><pubDate>Sat, 08 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Customer Who Visited but Did Not Make Any Transactions</title><link>https://portfolioandblog.netlify.app/projects/1581-customer-who-visited-but-did-not-make-any-transactions/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1581-customer-who-visited-but-did-not-make-any-transactions/</guid><description>Find customers who visited the mall but did not make any transactions using SQL queries.</description><pubDate>Thu, 06 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Check if Grid Satisfies Conditions</title><link>https://portfolioandblog.netlify.app/projects/3142-check-if-grid-satisfies-conditions/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3142-check-if-grid-satisfies-conditions/</guid><description>Check if all cells in each row have the same value and all cells in each column have different values.</description><pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Trim Trailing Vowels</title><link>https://portfolioandblog.netlify.app/projects/3856-trim-trailing-vowels/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3856-trim-trailing-vowels/</guid><description>Remove all trailing vowels from a given string. Vowels include both lowercase and uppercase letters.</description><pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate></item><item><title>DDC API AI Chat &amp; Image Assistant</title><link>https://portfolioandblog.netlify.app/projects/ddc-api-assistant/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/ddc-api-assistant/</guid><description>A versatile n8n chat automation that routes user messages to an external Language Model (GPT-4.1-mini equivalent) for conversational responses, and to FLUX.1 for dynamic, high-quality image generation.</description><pubDate>Wed, 05 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Check If String Is a Prefix of Array</title><link>https://portfolioandblog.netlify.app/projects/1961-check-if-string-is-a-prefix-of-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1961-check-if-string-is-a-prefix-of-array/</guid><description>Given a string s and an array of strings words, check if s can be formed by concatenating some prefix of words in order.</description><pubDate>Tue, 04 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Lucky Numbers in a Matrix</title><link>https://portfolioandblog.netlify.app/projects/1380-lucky-numbers-in-a-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1380-lucky-numbers-in-a-matrix/</guid><description>Find all lucky numbers in a matrix where a number is the minimum in its row and maximum in its column.</description><pubDate>Sun, 02 Nov 2025 00:00:00 GMT</pubDate></item><item><title>Shuffle the Array</title><link>https://portfolioandblog.netlify.app/projects/1470-shuffle-the-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1470-shuffle-the-array/</guid><description>Given an array of 2n elements, rearrange it to [x1, y1, x2, y2, ...] where the first half is x and second half is y.</description><pubDate>Fri, 31 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Find Followers Count</title><link>https://portfolioandblog.netlify.app/projects/1729-find-followers-count/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1729-find-followers-count/</guid><description>Count the number of followers for each user from the Followers table.</description><pubDate>Fri, 31 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Add Digits</title><link>https://portfolioandblog.netlify.app/projects/258-add-digits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/258-add-digits/</guid><description>Given an integer num, repeatedly add all its digits until the result has only one digit.</description><pubDate>Fri, 31 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Find Winner on a Tic Tac Toe Game</title><link>https://portfolioandblog.netlify.app/projects/1275-find-winner-on-a-tic-tac-toe-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1275-find-winner-on-a-tic-tac-toe-game/</guid><description>Determine the winner of a Tic Tac Toe game given a sequence of moves, or if the game is a draw or pending.</description><pubDate>Thu, 30 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Value of an Ordered Triplet I</title><link>https://portfolioandblog.netlify.app/projects/2873-maximum-value-of-an-ordered-triplet-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2873-maximum-value-of-an-ordered-triplet-i/</guid><description>Find the maximum value of (nums[i] - nums[j]) * nums[k] where i &amp;lt; j &amp;lt; k in an array.</description><pubDate>Thu, 30 Oct 2025 00:00:00 GMT</pubDate></item><item><title>The Employee That Worked on the Longest Task</title><link>https://portfolioandblog.netlify.app/projects/2432-the-employee-that-worked-on-the-longest-task/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2432-the-employee-that-worked-on-the-longest-task/</guid><description>Find the employee who worked on the longest single task given logs of task completion times.</description><pubDate>Tue, 28 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Delete Duplicate Emails</title><link>https://portfolioandblog.netlify.app/projects/196-delete-duplicate-emails/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/196-delete-duplicate-emails/</guid><description>Write a SQL query to delete all duplicate email entries in a table, keeping only the one with the smallest Id.</description><pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Merge Two 2D Arrays by Summing Values</title><link>https://portfolioandblog.netlify.app/projects/2570-merge-two-2d-arrays-by-summing-values/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2570-merge-two-2d-arrays-by-summing-values/</guid><description>Merge two 2D arrays by summing values for matching IDs and return the result sorted by ID.</description><pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Longest Even Odd Subarray With Threshold</title><link>https://portfolioandblog.netlify.app/projects/2760-longest-even-odd-subarray-with-threshold/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2760-longest-even-odd-subarray-with-threshold/</guid><description>Find the longest subarray where elements alternate between even and odd and all elements are at most threshold.</description><pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Repeated Substring Pattern</title><link>https://portfolioandblog.netlify.app/projects/459-repeated-substring-pattern/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/459-repeated-substring-pattern/</guid><description>Given a string s, check if it can be constructed by taking a substring of it and appending multiple copies of the substring together.</description><pubDate>Sun, 26 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Divide an Array Into Subarrays With Minimum Cost I</title><link>https://portfolioandblog.netlify.app/projects/3010-divide-an-array-into-subarrays-with-minimum-cost-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3010-divide-an-array-into-subarrays-with-minimum-cost-i/</guid><description>Divide array into 3 subarrays where cost is first element of each subarray. Find minimum total cost.</description><pubDate>Fri, 24 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Smallest Range I</title><link>https://portfolioandblog.netlify.app/projects/908-smallest-range-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/908-smallest-range-i/</guid><description>Find the minimum possible difference between max and min elements after adding/subtracting at most k from each element.</description><pubDate>Fri, 24 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Buy Two Chocolates</title><link>https://portfolioandblog.netlify.app/projects/2706-buy-two-chocolates/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2706-buy-two-chocolates/</guid><description>Given an array of chocolate prices and money, find the leftover money after buying the two cheapest chocolates, or return the original money if not possible.</description><pubDate>Thu, 23 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Sales Analysis III</title><link>https://portfolioandblog.netlify.app/projects/1084-sales-analysis-iii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1084-sales-analysis-iii/</guid><description>Report products sold only in 2019 and not in 2020.</description><pubDate>Wed, 22 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Increasing Decreasing String</title><link>https://portfolioandblog.netlify.app/projects/1370-increasing-decreasing-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1370-increasing-decreasing-string/</guid><description>Reorder string characters by repeatedly picking the smallest available character, then the largest, until empty.</description><pubDate>Wed, 22 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Restore Finishing Order</title><link>https://portfolioandblog.netlify.app/projects/3668-restore-finishing-order/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3668-restore-finishing-order/</guid><description>Given an array where each element represents the number of runners before that runner, restore the finishing order.</description><pubDate>Wed, 22 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Goat Latin</title><link>https://portfolioandblog.netlify.app/projects/824-goat-latin/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/824-goat-latin/</guid><description>Convert a sentence to Goat Latin by moving consonants, adding suffixes, and appending &apos;a&apos;s based on word index.</description><pubDate>Wed, 22 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Backspace String Compare</title><link>https://portfolioandblog.netlify.app/projects/844-backspace-string-compare/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/844-backspace-string-compare/</guid><description>Given two strings s and t, return true if they are equal when both are typed into empty text editors. &apos;#&apos; means a backspace character.</description><pubDate>Wed, 22 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Compliant Site Content Fetcher</title><link>https://portfolioandblog.netlify.app/projects/compliant-site-fetcher/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/compliant-site-fetcher/</guid><description>An n8n automation template designed for ethical web scraping. It automatically parses `robots.txt` files to ensure compliance before fetching and extracting data (JSON, RSS, or HTML), featuring built-in exponential backoff for rate limiting.</description><pubDate>Mon, 20 Oct 2025 00:00:00 GMT</pubDate></item><item><title>N-Repeated Element in Size 2N Array</title><link>https://portfolioandblog.netlify.app/projects/961-n-repeated-element-in-size-2n-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/961-n-repeated-element-in-size-2n-array/</guid><description>In an array of size 2N with N+1 unique elements, find the element that is repeated N times.</description><pubDate>Sat, 18 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Area of Longest Diagonal Rectangle</title><link>https://portfolioandblog.netlify.app/projects/3000-maximum-area-of-longest-diagonal-rectangle/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3000-maximum-area-of-longest-diagonal-rectangle/</guid><description>Find the area of the rectangle with the longest diagonal length. If multiple rectangles have the same longest diagonal, return the maximum area among them.</description><pubDate>Thu, 16 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Find Mode in Binary Search Tree</title><link>https://portfolioandblog.netlify.app/projects/501-find-mode-in-binary-search-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/501-find-mode-in-binary-search-tree/</guid><description>Given the root of a BST with duplicates, return the mode(s) (most frequently occurring elements) in the tree.</description><pubDate>Thu, 16 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Employees With Missing Information</title><link>https://portfolioandblog.netlify.app/projects/1965-employees-with-missing-information/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1965-employees-with-missing-information/</guid><description>Find employees who are missing information in either the Employees table or the Salaries table.</description><pubDate>Mon, 13 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Prime Number of Set Bits in Binary Representation</title><link>https://portfolioandblog.netlify.app/projects/762-prime-number-of-set-bits-in-binary-representation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/762-prime-number-of-set-bits-in-binary-representation/</guid><description>Count numbers in range [left, right] with prime number of 1s in binary representation.</description><pubDate>Sun, 12 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Smallest Index With Digit Sum Equal to Index</title><link>https://portfolioandblog.netlify.app/projects/3550-smallest-index-with-digit-sum-equal-to-index/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3550-smallest-index-with-digit-sum-equal-to-index/</guid><description>Find the smallest index i where the sum of digits of i equals nums[i].</description><pubDate>Sat, 11 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Number of Valid Words in a Sentence</title><link>https://portfolioandblog.netlify.app/projects/2047-number-of-valid-words-in-a-sentence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2047-number-of-valid-words-in-a-sentence/</guid><description>Count valid words in a sentence where words must follow specific rules for hyphens and punctuation.</description><pubDate>Fri, 10 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Flip Square Submatrix Vertically</title><link>https://portfolioandblog.netlify.app/projects/3643-flip-square-submatrix-vertically/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3643-flip-square-submatrix-vertically/</guid><description>Flip a specific square submatrix within a grid vertically by reversing the order of its rows.</description><pubDate>Wed, 08 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Final Array State After K Multiplication Operations I</title><link>https://portfolioandblog.netlify.app/projects/3264-final-array-state-after-k-multiplication-operations-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3264-final-array-state-after-k-multiplication-operations-i/</guid><description>Perform k operations replacing the smallest element with its product by multiplier.</description><pubDate>Tue, 07 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Squares of a Sorted Array</title><link>https://portfolioandblog.netlify.app/projects/977-squares-of-a-sorted-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/977-squares-of-a-sorted-array/</guid><description>Given an integer array sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order.</description><pubDate>Tue, 07 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Find Words Containing Character</title><link>https://portfolioandblog.netlify.app/projects/2942-find-words-containing-character/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2942-find-words-containing-character/</guid><description>Return indices of words in an array that contain a given character.</description><pubDate>Mon, 06 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Reformat Phone Number</title><link>https://portfolioandblog.netlify.app/projects/1694-reformat-phone-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1694-reformat-phone-number/</guid><description>Reformat a phone number string by removing non-digits and grouping into blocks of 3, with special handling for the last block.</description><pubDate>Sun, 05 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Matrix Diagonal Sum</title><link>https://portfolioandblog.netlify.app/projects/1572-matrix-diagonal-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1572-matrix-diagonal-sum/</guid><description>Given a square matrix, return the sum of the matrix diagonals, excluding the center element if counted twice.</description><pubDate>Fri, 03 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Minimum String Length After Removing Substrings</title><link>https://portfolioandblog.netlify.app/projects/2696-minimum-string-length-after-removing-substrings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2696-minimum-string-length-after-removing-substrings/</guid><description>Remove &apos;AB&apos; and &apos;CD&apos; substrings repeatedly from a string and return the minimum possible length.</description><pubDate>Wed, 01 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Design HashMap</title><link>https://portfolioandblog.netlify.app/projects/706-design-hashmap/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/706-design-hashmap/</guid><description>Design a HashMap without using built-in hash table libraries, implementing put, get, and remove methods.</description><pubDate>Wed, 01 Oct 2025 00:00:00 GMT</pubDate></item><item><title>Patients With a Condition</title><link>https://portfolioandblog.netlify.app/projects/1527-patients-with-a-condition/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1527-patients-with-a-condition/</guid><description>Find patients with Type I Diabetes condition codes starting with DIAB1</description><pubDate>Mon, 29 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Semi-Ordered Permutation</title><link>https://portfolioandblog.netlify.app/projects/2717-semi-ordered-permutation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2717-semi-ordered-permutation/</guid><description>Find minimum adjacent swaps to move 1 to front and n to end in a permutation.</description><pubDate>Mon, 29 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Binary Search</title><link>https://portfolioandblog.netlify.app/projects/704-binary-search/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/704-binary-search/</guid><description>Given a sorted array of integers and a target value, return the index of the target if it exists, otherwise return -1.</description><pubDate>Mon, 29 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Fill Missing Data</title><link>https://portfolioandblog.netlify.app/projects/2887-fill-missing-data/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2887-fill-missing-data/</guid><description>Replace missing quantity values in a DataFrame with the median of existing quantities, rounding to the nearest integer.</description><pubDate>Sun, 28 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Decompress Run-Length Encoded List</title><link>https://portfolioandblog.netlify.app/projects/1313-decompress-run-length-encoded-list/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1313-decompress-run-length-encoded-list/</guid><description>Decompress a run-length encoded list by expanding frequency-value pairs into a flat array.</description><pubDate>Wed, 24 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Convert Integer to the Sum of Two No-Zero Integers</title><link>https://portfolioandblog.netlify.app/projects/1317-convert-integer-to-the-sum-of-two-no-zero-integers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1317-convert-integer-to-the-sum-of-two-no-zero-integers/</guid><description>Find two positive integers without any zero digits that sum to the given integer n.</description><pubDate>Wed, 24 Sep 2025 00:00:00 GMT</pubDate></item><item><title>The K Weakest Rows in a Matrix</title><link>https://portfolioandblog.netlify.app/projects/1337-the-k-weakest-rows-in-a-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1337-the-k-weakest-rows-in-a-matrix/</guid><description>Find the k weakest rows in a binary matrix where each row is sorted with 1s before 0s.</description><pubDate>Wed, 24 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Slowest Key</title><link>https://portfolioandblog.netlify.app/projects/1629-slowest-key/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1629-slowest-key/</guid><description>Determine the key with the longest duration from release times and key pressed sequence, returning the lexicographically largest key on ties.</description><pubDate>Wed, 24 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Is Subsequence</title><link>https://portfolioandblog.netlify.app/projects/392-is-subsequence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/392-is-subsequence/</guid><description>Check if string s is a subsequence of string t by deleting some characters without changing the order.</description><pubDate>Mon, 22 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Valid Palindrome II</title><link>https://portfolioandblog.netlify.app/projects/680-valid-palindrome-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/680-valid-palindrome-ii/</guid><description>Given a string s, return true if the s can be palindrome after deleting at most one character from it.</description><pubDate>Fri, 19 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Find the Index of the First Occurrence in a String</title><link>https://portfolioandblog.netlify.app/projects/28-find-the-index-of-the-first-occurrence-in-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/28-find-the-index-of-the-first-occurrence-in-a-string/</guid><description>Given two strings needle and haystack, return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.</description><pubDate>Thu, 18 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Operations to Exceed Threshold Value I</title><link>https://portfolioandblog.netlify.app/projects/3065-minimum-operations-to-exceed-threshold-value-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3065-minimum-operations-to-exceed-threshold-value-i/</guid><description>Count the number of elements in an array that are strictly less than a given threshold k.</description><pubDate>Wed, 17 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Find the Integer Added to Array I</title><link>https://portfolioandblog.netlify.app/projects/3131-find-the-integer-added-to-array-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3131-find-the-integer-added-to-array-i/</guid><description>You are given two integer arrays nums1 and nums2. Find the integer x added to every element of nums1 to make it equal to nums2.</description><pubDate>Wed, 17 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Remove Element</title><link>https://portfolioandblog.netlify.app/projects/27-remove-element/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/27-remove-element/</guid><description>Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The order of the elements may be changed. Then return the number of elements in nums which are not equal to val.
Consider the number of elements in nums which are not equal to val be k, to get accepted, you need to do the following things:
- Change the array nums such that the first k elements of nums contain the elements which are not equal to val. The remaining elements of nums are not important as well as the size of nums. - Return k.</description><pubDate>Tue, 16 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Remove Duplicates from Sorted Array</title><link>https://portfolioandblog.netlify.app/projects/26-remove-duplicates-from-sorted-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/26-remove-duplicates-from-sorted-array/</guid><description>Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. The relative order of the elements should be kept the same. Then return the number of unique elements in nums.
Consider the number of unique elements of nums to be k, the array nums should be modified such that the first k elements contain the unique elements in the order they were originally present. The rest of the elements are irrelevant.
Return k.</description><pubDate>Mon, 15 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Largest Even Number</title><link>https://portfolioandblog.netlify.app/projects/3798-largest-even-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3798-largest-even-number/</guid><description>Given a string of digits, rearrange them to form the largest possible even number.</description><pubDate>Mon, 15 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Delta EMA Order Placer</title><link>https://portfolioandblog.netlify.app/projects/delta-ema-placer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/delta-ema-placer/</guid><description>An algorithmic trading tool that automates crypto order execution on Delta Exchange based on Exponential Moving Average (EMA) crossovers.</description><pubDate>Mon, 15 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Reverse Nodes in k-Group</title><link>https://portfolioandblog.netlify.app/projects/25-reverse-nodes-in-k-group/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/25-reverse-nodes-in-k-group/</guid><description>Given the head of a linked list, reverse the nodes of the list k at a time, and return the modified list. k is a positive integer and is less than or equal to the length of the list. If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is. You may not alter the values in the list&apos;s nodes, only nodes themselves may be changed.</description><pubDate>Sun, 14 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Moves to Equal Array Elements III</title><link>https://portfolioandblog.netlify.app/projects/3736-minimum-moves-to-equal-array-elements-iii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3736-minimum-moves-to-equal-array-elements-iii/</guid><description>Find the minimum moves to equalize array elements by changing at most k elements to any value.</description><pubDate>Sun, 14 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Three Consecutive Odds</title><link>https://portfolioandblog.netlify.app/projects/1550-three-consecutive-odds/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1550-three-consecutive-odds/</guid><description>Given an integer array arr, return true if there are three consecutive odd numbers in the array. Otherwise, return false.</description><pubDate>Sat, 13 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Merge k Sorted Lists</title><link>https://portfolioandblog.netlify.app/projects/23-merge-k-sorted-lists/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/23-merge-k-sorted-lists/</guid><description>You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-list and return it.</description><pubDate>Fri, 12 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Swap Nodes in Pairs</title><link>https://portfolioandblog.netlify.app/projects/24-swap-nodes-in-pairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/24-swap-nodes-in-pairs/</guid><description>Given a linked list, swap every two adjacent nodes and return its head. You must solve the problem without modifying the values in the list&apos;s nodes (i.e., only nodes themselves may be changed.)</description><pubDate>Fri, 12 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Telegram Subscriber Onboarding System</title><link>https://portfolioandblog.netlify.app/projects/telegram-onboarding/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/telegram-onboarding/</guid><description>An automated n8n workflow designed to onboard new users to a Telegram bot. Captures dynamic chat context upon message receipt, checks an external Google Sheets database to prevent duplicate entries, and dispatches personalized welcome messages.</description><pubDate>Fri, 12 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Lexicographically Smallest String After a Swap</title><link>https://portfolioandblog.netlify.app/projects/3216-lexicographically-smallest-string-after-a-swap/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3216-lexicographically-smallest-string-after-a-swap/</guid><description>Find the lexicographically smallest string by swapping characters with adjacent ASCII values.</description><pubDate>Thu, 11 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Remove Nth Node From End of List</title><link>https://portfolioandblog.netlify.app/projects/19-remove-nth-node-from-end-of-list/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/19-remove-nth-node-from-end-of-list/</guid><description>Given the head of a linked list, remove the nth node from the end of the list and return its head.</description><pubDate>Wed, 10 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Merge Two Sorted Lists</title><link>https://portfolioandblog.netlify.app/projects/21-merge-two-sorted-lists/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/21-merge-two-sorted-lists/</guid><description>You are given the heads of two sorted linked lists list1 and list2. Merge the two lists into one sorted list by splicing together the nodes of the first two lists. Return the head of the merged linked list.</description><pubDate>Wed, 10 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Longest Common Prefix</title><link>https://portfolioandblog.netlify.app/projects/14-longest-common-prefix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/14-longest-common-prefix/</guid><description>Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string &quot;&quot;.</description><pubDate>Tue, 09 Sep 2025 00:00:00 GMT</pubDate></item><item><title>3Sum</title><link>https://portfolioandblog.netlify.app/projects/15-3sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/15-3sum/</guid><description>Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. Notice that the solution set must not contain duplicate triplets.</description><pubDate>Tue, 09 Sep 2025 00:00:00 GMT</pubDate></item><item><title>3Sum Closest</title><link>https://portfolioandblog.netlify.app/projects/16-3sum-closest/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/16-3sum-closest/</guid><description>Given an integer array nums of length n and an integer target, find three integers in nums such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution.</description><pubDate>Tue, 09 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Letter Combinations of a Phone Number</title><link>https://portfolioandblog.netlify.app/projects/17-letter-combinations-of-a-phone-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/17-letter-combinations-of-a-phone-number/</guid><description>Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer in any order. A mapping of digits to letters (just like on the telephone buttons) is given below. Note that 1 does not map to any letters.</description><pubDate>Tue, 09 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Find the Distinct Difference Array</title><link>https://portfolioandblog.netlify.app/projects/2670-find-the-distinct-difference-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2670-find-the-distinct-difference-array/</guid><description>Calculate an array where each element is the count of distinct numbers in the prefix minus the count of distinct numbers in the suffix.</description><pubDate>Tue, 09 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Account Balance After Rounded Purchase</title><link>https://portfolioandblog.netlify.app/projects/2806-account-balance-after-rounded-purchase/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2806-account-balance-after-rounded-purchase/</guid><description>Calculate the remaining account balance after a purchase is rounded to the nearest multiple of 10.</description><pubDate>Tue, 09 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Regular Expression Matching</title><link>https://portfolioandblog.netlify.app/projects/10-regular-expression-matching/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/10-regular-expression-matching/</guid><description>Given an input string (s) and a pattern (p), implement regular expression matching with support for &apos;.&apos; and &apos;*&apos;. &apos;.&apos; Matches any single character. &apos;*&apos; Matches zero or more of the preceding element. The matching should cover the entire input string (not partial).</description><pubDate>Mon, 08 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Container With Most Water</title><link>https://portfolioandblog.netlify.app/projects/11-container-with-most-water/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/11-container-with-most-water/</guid><description>You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). Find two lines that together with the x-axis form a container, such that the container contains the most water. Return the maximum amount of water a container can store. Notice that you may not slant the container.</description><pubDate>Mon, 08 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Integer to Roman</title><link>https://portfolioandblog.netlify.app/projects/12-integer-to-roman/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/12-integer-to-roman/</guid><description>Seven different symbols represent Roman numerals with the following values:
Symbol    Value I         1 V         5 X         10 L         50 C         100 D         500 M         1000
Roman numerals are formed by appending the conversions of decimal place values from highest to lowest. Converting a decimal place value into a Roman numeral has the following rules:
If the value does not start with 4 or 9, select the symbol of the maximal value that can be subtracted from the input, append that symbol to the result, subtract its value, and convert the remainder to a Roman numeral. If the value starts with 4 or 9 use the subtractive form representing one symbol subtracted from the following symbol, for example, 4 is 1 (I) less than 5 (V): IV and 9 is 1 (I) less than 10 (X): IX. Only the following subtractive forms are used: 4 (IV), 9 (IX), 40 (XL), 90 (XC), 400 (CD) and 900 (CM). Only powers of 10 (I, X, C, M) can be appended consecutively at most 3 times to represent multiples of 10. You cannot append 5 (V), 50 (L), or 500 (D) multiple times. If you need to append a symbol 4 times use the subtractive form.
Given an integer, convert it to a Roman numeral.</description><pubDate>Mon, 08 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Roman to Integer</title><link>https://portfolioandblog.netlify.app/projects/13-roman-to-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/13-roman-to-integer/</guid><description>Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. For example, 2 is written as II in Roman numeral, just two ones added together. 12 is written as XII, which is simply X + II. The number 27 is written as XXVII, which is XX + V + II. Roman numerals are usually written largest to smallest from left to right. However, the numeral for four is not IIII. Instead, the number four is written as IV. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is written as IX. There are six instances where subtraction is used: I can be placed before V (5) and X (10) to make 4 and 9. X can be placed before L (50) and C (100) to make 40 and 90. C can be placed before D (500) and M (1000) to make 400 and 900. Given a roman numeral, convert it to an integer.</description><pubDate>Mon, 08 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Zigzag Conversion</title><link>https://portfolioandblog.netlify.app/projects/6-zigzag-conversion/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/6-zigzag-conversion/</guid><description>The string &quot;PAYPALISHIRING&quot; is written in a zigzag pattern on a given number of rows. Write the code that will take a string and make this conversion given a number of rows.</description><pubDate>Mon, 08 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Reverse Integer</title><link>https://portfolioandblog.netlify.app/projects/7-reverse-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/7-reverse-integer/</guid><description>Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-2^31, 2^31 - 1], then return 0. Assume the environment does not allow you to store 64-bit integers (signed or unsigned).</description><pubDate>Mon, 08 Sep 2025 00:00:00 GMT</pubDate></item><item><title>String to Integer (atoi)</title><link>https://portfolioandblog.netlify.app/projects/8-string-to-integer-atoi/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/8-string-to-integer-atoi/</guid><description>Implement the myAtoi(string s) function, which converts a string to a 32-bit signed integer (similar to C/C++&apos;s atoi function). The algorithm for myAtoi(string s) is as follows: 1. Read in and ignore any leading whitespace. 2. Check if the next character (if not already at the end of the string) is &apos;-&apos; or &apos;+&apos;. Read this character in if it is either. This determines if the final result is negative or positive respectively. If neither is present, assume the result is positive. 3. Read in next the characters until the next non-digit character or the end of the input is reached. The rest of the string is ignored. 4. Convert these digits into an integer. If no digits were read, then the integer is 0. Change the sign as necessary. 5. If the integer is out of the 32-bit signed integer range [-2^31, 2^31 - 1], then clamp the integer so that it remains in the range. Specifically, integers less than -2^31 should be clamped to -2^31, and integers greater than 2^31 - 1 should be clamped to 2^31 - 1. Return the integer as the final result.</description><pubDate>Mon, 08 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Palindrome Number</title><link>https://portfolioandblog.netlify.app/projects/9-palindrome-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/9-palindrome-number/</guid><description>Given an integer x, return true if x is a palindrome, and false otherwise.</description><pubDate>Mon, 08 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Two Sum</title><link>https://portfolioandblog.netlify.app/projects/1-two-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1-two-sum/</guid><description>Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order.</description><pubDate>Sun, 07 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Sum of All Odd Length Subarrays</title><link>https://portfolioandblog.netlify.app/projects/1588-sum-of-all-odd-length-subarrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1588-sum-of-all-odd-length-subarrays/</guid><description>Given an array of positive integers, return the sum of all possible odd-length subarrays of the array.</description><pubDate>Sun, 07 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Add Two Numbers</title><link>https://portfolioandblog.netlify.app/projects/2-add-two-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2-add-two-numbers/</guid><description>You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list. You may assume the two numbers do not contain any leading zero, except the number 0 itself.</description><pubDate>Sun, 07 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Longest Substring Without Repeating Characters</title><link>https://portfolioandblog.netlify.app/projects/3-longest-substring-without-repeating-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3-longest-substring-without-repeating-characters/</guid><description>Given a string s, find the length of the longest substring without repeating characters.</description><pubDate>Sun, 07 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Median of Two Sorted Arrays</title><link>https://portfolioandblog.netlify.app/projects/4-median-of-two-sorted-arrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/4-median-of-two-sorted-arrays/</guid><description>Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).</description><pubDate>Sun, 07 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Longest Palindromic Substring</title><link>https://portfolioandblog.netlify.app/projects/5-longest-palindromic-substring/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/5-longest-palindromic-substring/</guid><description>Given a string s, return the longest palindromic substring in s.</description><pubDate>Sun, 07 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Count Distinct Numbers on Board</title><link>https://portfolioandblog.netlify.app/projects/2549-count-distinct-numbers-on-board/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2549-count-distinct-numbers-on-board/</guid><description>Given a positive integer n, return the number of distinct numbers on the board after performing operations.</description><pubDate>Thu, 04 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Number of Operations to Make Elements in Array Distinct</title><link>https://portfolioandblog.netlify.app/projects/3396-minimum-number-of-operations-to-make-elements-in-array-distinct/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3396-minimum-number-of-operations-to-make-elements-in-array-distinct/</guid><description>Calculate the minimum removals needed so all remaining elements in the array are unique.</description><pubDate>Wed, 03 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Find Users with High Token Usage</title><link>https://portfolioandblog.netlify.app/projects/3793-find-users-with-high-token-usage/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3793-find-users-with-high-token-usage/</guid><description>Find users whose total token usage exceeds a given threshold using aggregation.</description><pubDate>Wed, 03 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Tenth Line</title><link>https://portfolioandblog.netlify.app/projects/195-tenth-line/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/195-tenth-line/</guid><description>Given a text file file.txt, print just the 10th line of the file.</description><pubDate>Mon, 01 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Find Customer Referee</title><link>https://portfolioandblog.netlify.app/projects/584-find-customer-referee/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/584-find-customer-referee/</guid><description>Find all customers who are not referred by customer with id 2</description><pubDate>Mon, 01 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Robot Return to Origin</title><link>https://portfolioandblog.netlify.app/projects/657-robot-return-to-origin/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/657-robot-return-to-origin/</guid><description>Determine if a robot returns to the origin after a sequence of moves represented by a string of characters &apos;U&apos;, &apos;D&apos;, &apos;L&apos;, &apos;R&apos;.</description><pubDate>Mon, 01 Sep 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Amount of Time to Fill Cups</title><link>https://portfolioandblog.netlify.app/projects/2335-minimum-amount-of-time-to-fill-cups/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2335-minimum-amount-of-time-to-fill-cups/</guid><description>Find the minimum time to fill cups of different types when you can fill up to 2 cups per second.</description><pubDate>Sun, 31 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Calculate Delayed Arrival Time</title><link>https://portfolioandblog.netlify.app/projects/2651-calculate-delayed-arrival-time/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2651-calculate-delayed-arrival-time/</guid><description>Given arrival time and delay, calculate the new time in 24-hour format.</description><pubDate>Sat, 30 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Difference Between Even and Odd Frequency I</title><link>https://portfolioandblog.netlify.app/projects/3442-maximum-difference-between-even-and-odd-frequency-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3442-maximum-difference-between-even-and-odd-frequency-i/</guid><description>Find the maximum difference between the sum of even frequencies and sum of odd frequencies of characters in a string.</description><pubDate>Fri, 29 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Array Partition</title><link>https://portfolioandblog.netlify.app/projects/561-array-partition/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/561-array-partition/</guid><description>Maximize the sum of minimums of pairs formed from an array of 2n integers.</description><pubDate>Fri, 29 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Bit Flips to Convert Number</title><link>https://portfolioandblog.netlify.app/projects/2220-minimum-bit-flips-to-convert-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2220-minimum-bit-flips-to-convert-number/</guid><description>Find the minimum number of bit flips required to convert one integer to another by comparing their binary representations.</description><pubDate>Wed, 27 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Shortest Distance to Target String in a Circular Array</title><link>https://portfolioandblog.netlify.app/projects/2515-shortest-distance-to-target-string-in-a-circular-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2515-shortest-distance-to-target-string-in-a-circular-array/</guid><description>Find the minimum moves to reach a target string in a circular array from a starting index.</description><pubDate>Sat, 23 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Unity WebGL CI/CD Pipeline</title><link>https://portfolioandblog.netlify.app/projects/unity-webgl-cicd/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/unity-webgl-cicd/</guid><description>An automated DevOps workflow for building and deploying Unity WebGL games directly to GitHub Pages using GitHub Actions.</description><pubDate>Fri, 22 Aug 2025 00:00:00 GMT</pubDate></item><item><title>To Be Or Not To Be</title><link>https://portfolioandblog.netlify.app/projects/2704-to-be-or-not-to-be/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2704-to-be-or-not-to-be/</guid><description>Implement an expect function that returns an object with toBe and notToBe methods for value comparison.</description><pubDate>Thu, 21 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Most Frequent Number Following Key In an Array</title><link>https://portfolioandblog.netlify.app/projects/2190-most-frequent-number-following-key-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2190-most-frequent-number-following-key-in-an-array/</guid><description>Find the number that appears most frequently immediately after a given key in an array.</description><pubDate>Mon, 18 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Repeating Substring</title><link>https://portfolioandblog.netlify.app/projects/1668-maximum-repeating-substring/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1668-maximum-repeating-substring/</guid><description>Find the maximum k such that word repeated k times is a substring of sequence.</description><pubDate>Sun, 17 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Employees Earning More Than Their Managers</title><link>https://portfolioandblog.netlify.app/projects/181-employees-earning-more-than-their-managers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/181-employees-earning-more-than-their-managers/</guid><description>Find all employees who earn more than their direct managers using SQL self-joins.</description><pubDate>Sun, 17 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Length of Last Word</title><link>https://portfolioandblog.netlify.app/projects/58-length-of-last-word/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/58-length-of-last-word/</guid><description>Given a string s, return the length of the last word in the string.</description><pubDate>Sun, 17 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Find Common Elements Between Two Arrays</title><link>https://portfolioandblog.netlify.app/projects/2956-find-common-elements-between-two-arrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2956-find-common-elements-between-two-arrays/</guid><description>Count elements in each array that also appear in the other array.</description><pubDate>Sat, 16 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Sum of Unique Elements</title><link>https://portfolioandblog.netlify.app/projects/1748-sum-of-unique-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1748-sum-of-unique-elements/</guid><description>Return the sum of all unique elements in an array where unique elements appear exactly once.</description><pubDate>Fri, 15 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Check If It Is a Straight Line</title><link>https://portfolioandblog.netlify.app/projects/1232-check-if-it-is-a-straight-line/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1232-check-if-it-is-a-straight-line/</guid><description>Given coordinates of points, determine if they all lie on a straight line in the XY plane.</description><pubDate>Thu, 14 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Rank Transform of an Array</title><link>https://portfolioandblog.netlify.app/projects/1331-rank-transform-of-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1331-rank-transform-of-an-array/</guid><description>Replace each element with its rank based on relative magnitude, starting from 1.</description><pubDate>Wed, 13 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Number of Strings That Appear as Substrings in Word</title><link>https://portfolioandblog.netlify.app/projects/1967-number-of-strings-that-appear-as-substrings-in-word/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1967-number-of-strings-that-appear-as-substrings-in-word/</guid><description>Given an array of strings patterns and a string word, return the number of strings in patterns that are substrings of word.</description><pubDate>Wed, 13 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Buddy Strings</title><link>https://portfolioandblog.netlify.app/projects/859-buddy-strings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/859-buddy-strings/</guid><description>Given two strings s and goal, return true if you can swap two letters in s so the result is equal to goal.</description><pubDate>Sat, 09 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Find the Middle Index in Array</title><link>https://portfolioandblog.netlify.app/projects/1991-find-the-middle-index-in-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1991-find-the-middle-index-in-array/</guid><description>Find the leftmost index where the sum of elements to the left equals the sum of elements to the right.</description><pubDate>Thu, 07 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Find Missing Elements</title><link>https://portfolioandblog.netlify.app/projects/3731-find-missing-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3731-find-missing-elements/</guid><description>Given two arrays, find all elements in the first array that are not present in the second array.</description><pubDate>Thu, 07 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Reformat Department Table</title><link>https://portfolioandblog.netlify.app/projects/1179-reformat-department-table/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1179-reformat-department-table/</guid><description>Pivot the Department table to display monthly revenue in columns.</description><pubDate>Wed, 06 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Find the K-Beauty of a Number</title><link>https://portfolioandblog.netlify.app/projects/2269-find-the-k-beauty-of-a-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2269-find-the-k-beauty-of-a-number/</guid><description>Count the number of substrings of length k in num that are divisors of num.</description><pubDate>Wed, 06 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Fruits Into Baskets II</title><link>https://portfolioandblog.netlify.app/projects/3477-fruits-into-baskets-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3477-fruits-into-baskets-ii/</guid><description>Find the maximum number of fruits you can pick given you have two baskets and each basket can hold only one type of fruit.</description><pubDate>Wed, 06 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Majority Frequency Characters</title><link>https://portfolioandblog.netlify.app/projects/3692-majority-frequency-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3692-majority-frequency-characters/</guid><description>Find the character that appears more than half the time in a string using counting or voting algorithms.</description><pubDate>Wed, 06 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Shortest Distance to a Character</title><link>https://portfolioandblog.netlify.app/projects/821-shortest-distance-to-a-character/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/821-shortest-distance-to-a-character/</guid><description>Given a string and a character, find the shortest distance from each character to the target character.</description><pubDate>Wed, 06 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Min Max Game</title><link>https://portfolioandblog.netlify.app/projects/2293-min-max-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2293-min-max-game/</guid><description>Apply min-max operations on an array until only one element remains.</description><pubDate>Mon, 04 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Number of Balloons</title><link>https://portfolioandblog.netlify.app/projects/1189-maximum-number-of-balloons/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1189-maximum-number-of-balloons/</guid><description>Given a string text, find the maximum number of times you can form the word &apos;balloon&apos; using its characters.</description><pubDate>Sun, 03 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Count Symmetric Integers</title><link>https://portfolioandblog.netlify.app/projects/2843-count-symmetric-integers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2843-count-symmetric-integers/</guid><description>Count integers in a range where the sum of the first half of digits equals the sum of the second half.</description><pubDate>Sat, 02 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Height of a Triangle</title><link>https://portfolioandblog.netlify.app/projects/3200-maximum-height-of-a-triangle/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3200-maximum-height-of-a-triangle/</guid><description>You are given red and blue colored balls. You need to arrange them in rows to form a triangle where adjacent rows have different colors. Find the maximum height.</description><pubDate>Fri, 01 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Smallest Absent Positive Greater Than Average</title><link>https://portfolioandblog.netlify.app/projects/3678-smallest-absent-positive-greater-than-average/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3678-smallest-absent-positive-greater-than-average/</guid><description>Find the smallest positive integer not present in the array that is strictly greater than the array&apos;s average.</description><pubDate>Fri, 01 Aug 2025 00:00:00 GMT</pubDate></item><item><title>Divisible and Non-divisible Sums Difference</title><link>https://portfolioandblog.netlify.app/projects/2894-divisible-and-non-divisible-sums-difference/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2894-divisible-and-non-divisible-sums-difference/</guid><description>Calculate the difference between the sum of numbers divisible by m and the sum of numbers not divisible by m in the range [1, n].</description><pubDate>Thu, 31 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Divide a String Into Groups of Size k</title><link>https://portfolioandblog.netlify.app/projects/2138-divide-a-string-into-groups-of-size-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2138-divide-a-string-into-groups-of-size-k/</guid><description>Divide a string into groups of size k, filling the last group with a specific character if it is too short.</description><pubDate>Wed, 30 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Stone Removal Game</title><link>https://portfolioandblog.netlify.app/projects/3360-stone-removal-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3360-stone-removal-game/</guid><description>Alice and Bob take turns removing stones — Alice starts with 10, then 9, 8, … decreasing each turn. The player who cannot remove the required stones loses.</description><pubDate>Wed, 30 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Valid Phone Numbers</title><link>https://portfolioandblog.netlify.app/projects/193-valid-phone-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/193-valid-phone-numbers/</guid><description>Given a text file, print all valid phone numbers that match specific formats.</description><pubDate>Tue, 29 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Rotate String</title><link>https://portfolioandblog.netlify.app/projects/796-rotate-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/796-rotate-string/</guid><description>Check if one string can become another by rotating characters.</description><pubDate>Mon, 28 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Find the Width of Columns of a Grid</title><link>https://portfolioandblog.netlify.app/projects/2639-find-the-width-of-columns-of-a-grid/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2639-find-the-width-of-columns-of-a-grid/</guid><description>Find the maximum string length of integers in each column of a grid matrix.</description><pubDate>Sun, 27 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Moving Average from Data Stream</title><link>https://portfolioandblog.netlify.app/projects/346-moving-average-from-data-stream/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/346-moving-average-from-data-stream/</guid><description>Calculate the moving average of the last size integers in a data stream.</description><pubDate>Sun, 27 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Reshape Data: Pivot</title><link>https://portfolioandblog.netlify.app/projects/2889-reshape-data-pivot/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2889-reshape-data-pivot/</guid><description>Transform a DataFrame from long to wide format by pivoting specified columns.</description><pubDate>Fri, 25 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Determine Color of a Chessboard Square</title><link>https://portfolioandblog.netlify.app/projects/1812-determine-color-of-a-chessboard-square/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1812-determine-color-of-a-chessboard-square/</guid><description>Determine if a given chessboard square coordinate is white or black based on alternating color patterns.</description><pubDate>Thu, 24 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Projection Area of 3D Shapes</title><link>https://portfolioandblog.netlify.app/projects/883-projection-area-of-3d-shapes/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/883-projection-area-of-3d-shapes/</guid><description>Calculate the total projection area of 3D shapes on three orthogonal planes.</description><pubDate>Wed, 23 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Count Number of Pairs With Absolute Difference K</title><link>https://portfolioandblog.netlify.app/projects/2006-count-number-of-pairs-with-absolute-difference-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2006-count-number-of-pairs-with-absolute-difference-k/</guid><description>Count pairs (i,j) where i&lt;j and absolute difference equals k using array or hash map.</description><pubDate>Tue, 22 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Adjacent Increasing Subarrays Detection I</title><link>https://portfolioandblog.netlify.app/projects/3349-adjacent-increasing-subarrays-detection-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3349-adjacent-increasing-subarrays-detection-i/</guid><description>Check if there are two adjacent strictly increasing subarrays of length k in the given array.</description><pubDate>Tue, 22 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Array Prototype Last</title><link>https://portfolioandblog.netlify.app/projects/2619-array-prototype-last/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2619-array-prototype-last/</guid><description>Write code to enhance all arrays with a last() method that returns the last element or -1 if empty.</description><pubDate>Mon, 21 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Smallest Divisible Digit Product I</title><link>https://portfolioandblog.netlify.app/projects/3345-smallest-divisible-digit-product-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3345-smallest-divisible-digit-product-i/</guid><description>Find the smallest positive integer with n digits whose digit product is divisible by k.</description><pubDate>Mon, 21 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Number of Flips to Reverse Binary String</title><link>https://portfolioandblog.netlify.app/projects/3750-minimum-number-of-flips-to-reverse-binary-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3750-minimum-number-of-flips-to-reverse-binary-string/</guid><description>Find the minimum number of bit flips needed to make a binary string equal to its reverse.</description><pubDate>Sat, 19 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Root Equals Sum of Children</title><link>https://portfolioandblog.netlify.app/projects/2236-root-equals-sum-of-children/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2236-root-equals-sum-of-children/</guid><description>Check if the root node&apos;s value equals the sum of its left and right child values in a binary tree.</description><pubDate>Thu, 17 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Alternating Digit Sum</title><link>https://portfolioandblog.netlify.app/projects/2544-alternating-digit-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2544-alternating-digit-sum/</guid><description>Calculate the alternating sum of digits in a positive integer, starting with addition for the leftmost digit.</description><pubDate>Thu, 17 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Average Subarray I</title><link>https://portfolioandblog.netlify.app/projects/643-maximum-average-subarray-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/643-maximum-average-subarray-i/</guid><description>Find a contiguous subarray of length k with the maximum average value in an integer array.</description><pubDate>Thu, 17 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Number of Students Doing Homework at a Given Time</title><link>https://portfolioandblog.netlify.app/projects/1450-number-of-students-doing-homework-at-a-given-time/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1450-number-of-students-doing-homework-at-a-given-time/</guid><description>Given start and end times for students&apos; homework, count how many are working at a specific query time.</description><pubDate>Wed, 16 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Distance Between BST Nodes</title><link>https://portfolioandblog.netlify.app/projects/783-minimum-distance-between-bst-nodes/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/783-minimum-distance-between-bst-nodes/</guid><description>Find the minimum absolute difference between values of any two nodes in a Binary Search Tree.</description><pubDate>Wed, 16 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Odd Binary Number</title><link>https://portfolioandblog.netlify.app/projects/2864-maximum-odd-binary-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2864-maximum-odd-binary-number/</guid><description>You are given a binary string s. Rearrange the bits to form the maximum possible odd binary number.</description><pubDate>Tue, 15 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Leaf-Similar Trees</title><link>https://portfolioandblog.netlify.app/projects/872-leaf-similar-trees/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/872-leaf-similar-trees/</guid><description>Check if two binary trees have the same leaf value sequence when traversed from left to right.</description><pubDate>Mon, 14 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Check If a Word Occurs As a Prefix of Any Word in a Sentence</title><link>https://portfolioandblog.netlify.app/projects/1455-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1455-check-if-a-word-occurs-as-a-prefix-of-any-word-in-a-sentence/</guid><description>Given a sentence and a search word, find if the search word is a prefix of any word in the sentence and return its 1-indexed position.</description><pubDate>Thu, 10 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Percentage of Users Attended a Contest</title><link>https://portfolioandblog.netlify.app/projects/1633-percentage-of-users-attended-a-contest/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1633-percentage-of-users-attended-a-contest/</guid><description>Calculate the percentage of users who registered for each contest, rounded to two decimal places.</description><pubDate>Wed, 09 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Points That Intersect With Cars</title><link>https://portfolioandblog.netlify.app/projects/2848-points-that-intersect-with-cars/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2848-points-that-intersect-with-cars/</guid><description>Given a list of integer intervals representing cars, calculate the total number of unique integer points covered by any car.</description><pubDate>Wed, 09 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Word Pattern</title><link>https://portfolioandblog.netlify.app/projects/290-word-pattern/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/290-word-pattern/</guid><description>Given a pattern and a string s, find if s follows the same pattern. Requires a bijection between pattern letters and words.</description><pubDate>Wed, 09 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Missing Ranges</title><link>https://portfolioandblog.netlify.app/projects/163-missing-ranges/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/163-missing-ranges/</guid><description>You are given an inclusive range [lower, upper] and a sorted unique integer array nums. Return the smallest sorted list of ranges that cover every missing number exactly.</description><pubDate>Tue, 08 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Count the Digits That Divide a Number</title><link>https://portfolioandblog.netlify.app/projects/2520-count-the-digits-that-divide-a-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2520-count-the-digits-that-divide-a-number/</guid><description>Count the number of digits in a number that divide the number evenly.</description><pubDate>Tue, 08 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Rising Temperature</title><link>https://portfolioandblog.netlify.app/projects/197-rising-temperature/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/197-rising-temperature/</guid><description>Find all dates&apos; Ids with higher temperature compared to its previous dates (yesterday).</description><pubDate>Sun, 06 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Day of the Year</title><link>https://portfolioandblog.netlify.app/projects/1154-day-of-the-year/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1154-day-of-the-year/</guid><description>Calculate the day number of the year given a date string in YYYY-MM-DD format.</description><pubDate>Sat, 05 Jul 2025 00:00:00 GMT</pubDate></item><item><title>Richest Customer Wealth</title><link>https://portfolioandblog.netlify.app/projects/1672-richest-customer-wealth/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1672-richest-customer-wealth/</guid><description>You are given an array accounts where accounts[i][j] is the money the i-th customer has in the j-th bank. Return the wealth that the richest customer has.</description><pubDate>Fri, 04 Jul 2025 00:00:00 GMT</pubDate></item><item><title>To Lower Case</title><link>https://portfolioandblog.netlify.app/projects/709-to-lower-case/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/709-to-lower-case/</guid><description>Given a string s, return the string after replacing every uppercase letter with the same lowercase letter.</description><pubDate>Mon, 30 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Convert 1D Array Into 2D Array</title><link>https://portfolioandblog.netlify.app/projects/2022-convert-1d-array-into-2d-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2022-convert-1d-array-into-2d-array/</guid><description>You are given a 0-indexed 1-dimensional array of distinct integers. Convert it into a 2-dimensional array with m rows and n columns.</description><pubDate>Sat, 28 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Number of Pairs in Array</title><link>https://portfolioandblog.netlify.app/projects/2341-maximum-number-of-pairs-in-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2341-maximum-number-of-pairs-in-array/</guid><description>Count pairs of equal numbers in an array and return the number of pairs formed and leftover elements.</description><pubDate>Sat, 28 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Remove Outermost Parentheses</title><link>https://portfolioandblog.netlify.app/projects/1021-remove-outermost-parentheses/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1021-remove-outermost-parentheses/</guid><description>Remove the outermost parentheses from every primitive string in the decomposition of a valid parentheses string.</description><pubDate>Fri, 27 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Print in Order</title><link>https://portfolioandblog.netlify.app/projects/1114-print-in-order/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1114-print-in-order/</guid><description>Synchronize three threads to print methods in order: first, second, third.</description><pubDate>Thu, 26 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Mirror Distance of an Integer</title><link>https://portfolioandblog.netlify.app/projects/3783-mirror-distance-of-an-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3783-mirror-distance-of-an-integer/</guid><description>Calculate the absolute difference between an integer and its mirror (digit-reversed) value.</description><pubDate>Thu, 26 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Baseball Game</title><link>https://portfolioandblog.netlify.app/projects/682-baseball-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/682-baseball-game/</guid><description>Calculate the sum of baseball scores based on operations like integer, &apos;+&apos;, &apos;D&apos;, and &apos;C&apos;.</description><pubDate>Wed, 25 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Number of Recent Calls</title><link>https://portfolioandblog.netlify.app/projects/933-number-of-recent-calls/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/933-number-of-recent-calls/</guid><description>Count the number of recent requests within a 3000ms time frame using a queue-based approach.</description><pubDate>Wed, 25 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Kids With the Greatest Number of Candies</title><link>https://portfolioandblog.netlify.app/projects/1431-kids-with-the-greatest-number-of-candies/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1431-kids-with-the-greatest-number-of-candies/</guid><description>Determine if a kid can have the greatest number of candies after receiving extraCandies.</description><pubDate>Sun, 22 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Determine if String Halves Are Alike</title><link>https://portfolioandblog.netlify.app/projects/1704-determine-if-string-halves-are-alike/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1704-determine-if-string-halves-are-alike/</guid><description>Check if two halves of a string have the same number of vowels by splitting and counting.</description><pubDate>Sun, 22 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Shortest Word Distance</title><link>https://portfolioandblog.netlify.app/projects/243-shortest-word-distance/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/243-shortest-word-distance/</guid><description>Given a list of words and two specific words, find the minimum distance between their indices in the list.</description><pubDate>Sun, 22 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Merge Similar Items</title><link>https://portfolioandblog.netlify.app/projects/2363-merge-similar-items/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2363-merge-similar-items/</guid><description>Merge two lists of items by summing weights of items with the same value, then return sorted by value.</description><pubDate>Sat, 21 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Form Smallest Number From Two Digit Arrays</title><link>https://portfolioandblog.netlify.app/projects/2605-form-smallest-number-from-two-digit-arrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2605-form-smallest-number-from-two-digit-arrays/</guid><description>Given two digit arrays, find the smallest number containing at least one digit from each array.</description><pubDate>Sat, 21 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Last Visited Integers</title><link>https://portfolioandblog.netlify.app/projects/2899-last-visited-integers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2899-last-visited-integers/</guid><description>Given an array of strings, process integers and &apos;prev&apos; commands to return the last visited integers.</description><pubDate>Fri, 20 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Alternating Groups I</title><link>https://portfolioandblog.netlify.app/projects/3206-alternating-groups-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3206-alternating-groups-i/</guid><description>Count the number of alternating groups of three colors in a circular array where the first and third colors are the same.</description><pubDate>Fri, 20 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Binary Tree Tilt</title><link>https://portfolioandblog.netlify.app/projects/563-binary-tree-tilt/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/563-binary-tree-tilt/</guid><description>Calculate the sum of every tree node&apos;s tilt, where tilt is the absolute difference between left and right subtree sums.</description><pubDate>Wed, 18 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Find Common Characters</title><link>https://portfolioandblog.netlify.app/projects/1002-find-common-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1002-find-common-characters/</guid><description>Given an array of strings, return a list of characters that appear in all strings, including duplicates.</description><pubDate>Tue, 17 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Count Largest Group</title><link>https://portfolioandblog.netlify.app/projects/1399-count-largest-group/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1399-count-largest-group/</guid><description>Group numbers 1 to n by digit sum and count how many groups have the largest size.</description><pubDate>Tue, 17 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Replace All Digits with Characters</title><link>https://portfolioandblog.netlify.app/projects/1844-replace-all-digits-with-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1844-replace-all-digits-with-characters/</guid><description>Replace each digit in a string with the character shifted by that digit from the previous character.</description><pubDate>Tue, 17 Jun 2025 00:00:00 GMT</pubDate></item><item><title>License Key Formatting</title><link>https://portfolioandblog.netlify.app/projects/482-license-key-formatting/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/482-license-key-formatting/</guid><description>Reformat a license key string so that groups are separated by dashes, each group has exactly k characters, and all letters are uppercase.</description><pubDate>Tue, 17 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Check if Bitwise OR Has Trailing Zeros</title><link>https://portfolioandblog.netlify.app/projects/2980-check-if-bitwise-or-has-trailing-zeros/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2980-check-if-bitwise-or-has-trailing-zeros/</guid><description>Check if there exists a pair of elements in an array whose bitwise OR results in an even number.</description><pubDate>Mon, 16 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Find the Degree of Each Vertex</title><link>https://portfolioandblog.netlify.app/projects/3898-find-the-degree-of-each-vertex/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3898-find-the-degree-of-each-vertex/</guid><description>Calculate the degree of every vertex in an undirected graph given its number of vertices and edge list.</description><pubDate>Mon, 16 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Decode the Message</title><link>https://portfolioandblog.netlify.app/projects/2325-decode-the-message/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2325-decode-the-message/</guid><description>Decode a message using a substitution cipher derived from the first occurrence of each letter in a given key.</description><pubDate>Sun, 15 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Number of Distinct Averages</title><link>https://portfolioandblog.netlify.app/projects/2465-number-of-distinct-averages/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2465-number-of-distinct-averages/</guid><description>Calculate the number of distinct averages obtained by repeatedly pairing the minimum and maximum numbers in an array.</description><pubDate>Sun, 15 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Final Value of Variable After Performing Operations</title><link>https://portfolioandblog.netlify.app/projects/2011-final-value-of-variable-after-performing-operations/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2011-final-value-of-variable-after-performing-operations/</guid><description>Calculate the final value of a variable after performing increment and decrement operations.</description><pubDate>Sat, 14 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Design Parking System</title><link>https://portfolioandblog.netlify.app/projects/1603-design-parking-system/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1603-design-parking-system/</guid><description>Design a parking system that manages parking slots for big, medium, and small cars, checking availability upon entry.</description><pubDate>Thu, 12 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Count the Number of Special Characters I</title><link>https://portfolioandblog.netlify.app/projects/3120-count-the-number-of-special-characters-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3120-count-the-number-of-special-characters-i/</guid><description>You are given a string word. A character is special if it appears in both lowercase and uppercase forms in word. Return the number of special characters.</description><pubDate>Thu, 12 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Ransom Note</title><link>https://portfolioandblog.netlify.app/projects/383-ransom-note/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/383-ransom-note/</guid><description>Given two strings ransomNote and magazine, return true if ransomNote can be constructed using letters from magazine.</description><pubDate>Thu, 12 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Find Indices of Stable Mountains</title><link>https://portfolioandblog.netlify.app/projects/3285-find-indices-of-stable-mountains/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3285-find-indices-of-stable-mountains/</guid><description>Return indices of mountains with height strictly greater than threshold, excluding the first mountain.</description><pubDate>Mon, 09 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Student Attendance Record I</title><link>https://portfolioandblog.netlify.app/projects/551-student-attendance-record-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/551-student-attendance-record-i/</guid><description>Check if a student&apos;s attendance record is rewardable based on absence count and consecutive late days.</description><pubDate>Sun, 08 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Distance Between Bus Stops</title><link>https://portfolioandblog.netlify.app/projects/1184-distance-between-bus-stops/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1184-distance-between-bus-stops/</guid><description>Find the shortest distance between two bus stops on a circular route.</description><pubDate>Sat, 07 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Right Shifts to Sort the Array</title><link>https://portfolioandblog.netlify.app/projects/2855-minimum-right-shifts-to-sort-the-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2855-minimum-right-shifts-to-sort-the-array/</guid><description>Find the minimum right shifts to sort a distinct array, or return -1 if impossible.</description><pubDate>Fri, 06 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Coupon Code Validator</title><link>https://portfolioandblog.netlify.app/projects/3606-coupon-code-validator/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3606-coupon-code-validator/</guid><description>Validate a coupon code based on length, character set, digit presence, uniqueness, and sorting order.</description><pubDate>Fri, 06 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Find the Sum of Encrypted Integers</title><link>https://portfolioandblog.netlify.app/projects/3079-find-the-sum-of-encrypted-integers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3079-find-the-sum-of-encrypted-integers/</guid><description>Calculate the sum of integers where each digit is replaced by the maximum digit found in that integer.</description><pubDate>Thu, 05 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Biggest Single Number</title><link>https://portfolioandblog.netlify.app/projects/619-biggest-single-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/619-biggest-single-number/</guid><description>Find the largest number that appears exactly once in a table. If no such number exists, return null.</description><pubDate>Thu, 05 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Sum of Digits in Base K</title><link>https://portfolioandblog.netlify.app/projects/1837-sum-of-digits-in-base-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1837-sum-of-digits-in-base-k/</guid><description>Given an integer n in base 10 and a base k, return the sum of digits of n after converting to base k.</description><pubDate>Wed, 04 Jun 2025 00:00:00 GMT</pubDate></item><item><title>K Items With the Maximum Sum</title><link>https://portfolioandblog.netlify.app/projects/2600-k-items-with-the-maximum-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2600-k-items-with-the-maximum-sum/</guid><description>You are given three types of items with values 1, 0, and -1. Pick exactly k items to maximize the sum.</description><pubDate>Mon, 02 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Remove Trailing Zeros From a String</title><link>https://portfolioandblog.netlify.app/projects/2710-remove-trailing-zeros-from-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2710-remove-trailing-zeros-from-a-string/</guid><description>Given a positive integer num represented as a string, return the string without any trailing zeros.</description><pubDate>Mon, 02 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Compute Decimal Representation</title><link>https://portfolioandblog.netlify.app/projects/3697-compute-decimal-representation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3697-compute-decimal-representation/</guid><description>Convert a fraction to its decimal string representation, handling repeating decimals with parentheses.</description><pubDate>Sun, 01 Jun 2025 00:00:00 GMT</pubDate></item><item><title>Number of Valid Clock Times</title><link>https://portfolioandblog.netlify.app/projects/2437-number-of-valid-clock-times/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2437-number-of-valid-clock-times/</guid><description>Count valid times by replacing &apos;?&apos; digits in a 24-hour clock format.</description><pubDate>Sat, 31 May 2025 00:00:00 GMT</pubDate></item><item><title>Take Gifts From the Richest Pile</title><link>https://portfolioandblog.netlify.app/projects/2558-take-gifts-from-the-richest-pile/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2558-take-gifts-from-the-richest-pile/</guid><description>You are given an array of piles and an integer k. Pick the largest pile k times, take the floor of its square root, and return the sum of remaining gifts.</description><pubDate>Sat, 31 May 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Product Difference Between Two Pairs</title><link>https://portfolioandblog.netlify.app/projects/1913-maximum-product-difference-between-two-pairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1913-maximum-product-difference-between-two-pairs/</guid><description>Find the maximum product difference between two pairs (a, b) and (c, d) in an array.</description><pubDate>Fri, 30 May 2025 00:00:00 GMT</pubDate></item><item><title>Find Nearest Point That Has the Same X or Y Coordinate</title><link>https://portfolioandblog.netlify.app/projects/1779-find-nearest-point-that-has-the-same-x-or-y-coordinate/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1779-find-nearest-point-that-has-the-same-x-or-y-coordinate/</guid><description>Find the point in an array that shares an x or y coordinate with a target point and has the smallest Manhattan distance.</description><pubDate>Wed, 28 May 2025 00:00:00 GMT</pubDate></item><item><title>Check Balanced String</title><link>https://portfolioandblog.netlify.app/projects/3340-check-balanced-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3340-check-balanced-string/</guid><description>Determine if a numeric string is balanced by comparing the sum of digits in the first half with the sum of digits in the second half.</description><pubDate>Mon, 26 May 2025 00:00:00 GMT</pubDate></item><item><title>Decrypt String from Alphabet to Integer Mapping</title><link>https://portfolioandblog.netlify.app/projects/1309-decrypt-string-from-alphabet-to-integer-mapping/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1309-decrypt-string-from-alphabet-to-integer-mapping/</guid><description>Given an encrypted string where 1-9 map to a-i and 10#-26# map to j-z, decrypt it to the original string.</description><pubDate>Sun, 25 May 2025 00:00:00 GMT</pubDate></item><item><title>Fix Names in a Table</title><link>https://portfolioandblog.netlify.app/projects/1667-fix-names-in-a-table/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1667-fix-names-in-a-table/</guid><description>Write a solution to fix user names in a table so that only the first character is uppercase and the rest are lowercase.</description><pubDate>Sun, 25 May 2025 00:00:00 GMT</pubDate></item><item><title>Delete Characters to Make Fancy String</title><link>https://portfolioandblog.netlify.app/projects/1957-delete-characters-to-make-fancy-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1957-delete-characters-to-make-fancy-string/</guid><description>Delete minimum characters from a string so no three consecutive characters are equal.</description><pubDate>Sat, 24 May 2025 00:00:00 GMT</pubDate></item><item><title>Binary Watch</title><link>https://portfolioandblog.netlify.app/projects/401-binary-watch/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/401-binary-watch/</guid><description>Given the number of LEDs turned on, return all possible times a binary watch could display.</description><pubDate>Sat, 24 May 2025 00:00:00 GMT</pubDate></item><item><title>Number Complement</title><link>https://portfolioandblog.netlify.app/projects/476-number-complement/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/476-number-complement/</guid><description>Find the complement of an integer by flipping all bits in its binary representation.</description><pubDate>Sat, 24 May 2025 00:00:00 GMT</pubDate></item><item><title>Remove Duplicates from Sorted List</title><link>https://portfolioandblog.netlify.app/projects/83-remove-duplicates-from-sorted-list/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/83-remove-duplicates-from-sorted-list/</guid><description>Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as well.</description><pubDate>Fri, 23 May 2025 00:00:00 GMT</pubDate></item><item><title>Check if the Sentence Is Pangram</title><link>https://portfolioandblog.netlify.app/projects/1832-check-if-the-sentence-is-pangram/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1832-check-if-the-sentence-is-pangram/</guid><description>Determine if a given sentence contains every letter of the English alphabet at least once.</description><pubDate>Thu, 22 May 2025 00:00:00 GMT</pubDate></item><item><title>Count Indices With Opposite Parity</title><link>https://portfolioandblog.netlify.app/projects/3917-count-indices-with-opposite-parity/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3917-count-indices-with-opposite-parity/</guid><description>Count the number of indices where the index and the value at that index have opposite parity.</description><pubDate>Wed, 21 May 2025 00:00:00 GMT</pubDate></item><item><title>How Many Numbers Are Smaller Than the Current Number</title><link>https://portfolioandblog.netlify.app/projects/1365-how-many-numbers-are-smaller-than-the-current-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1365-how-many-numbers-are-smaller-than-the-current-number/</guid><description>Given an array nums, for each element find the count of numbers smaller than it in the array.</description><pubDate>Tue, 20 May 2025 00:00:00 GMT</pubDate></item><item><title>Redistribute Characters to Make All Strings Equal</title><link>https://portfolioandblog.netlify.app/projects/1897-redistribute-characters-to-make-all-strings-equal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1897-redistribute-characters-to-make-all-strings-equal/</guid><description>Determine if you can redistribute characters between strings to make all strings equal.</description><pubDate>Mon, 19 May 2025 00:00:00 GMT</pubDate></item><item><title>Build Array from Permutation</title><link>https://portfolioandblog.netlify.app/projects/1920-build-array-from-permutation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1920-build-array-from-permutation/</guid><description>Given a zero-based permutation nums, build an array ans where ans[i] = nums[nums[i]] for every 0 &amp;lt;= i &amp;lt; nums.length.</description><pubDate>Mon, 19 May 2025 00:00:00 GMT</pubDate></item><item><title>Partition Array Into Three Parts With Equal Sum</title><link>https://portfolioandblog.netlify.app/projects/1013-partition-array-into-three-parts-with-equal-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1013-partition-array-into-three-parts-with-equal-sum/</guid><description>Check if an array can be split into three contiguous parts with equal sums.</description><pubDate>Sun, 18 May 2025 00:00:00 GMT</pubDate></item><item><title>Check if All Characters Have Equal Number of Occurrences</title><link>https://portfolioandblog.netlify.app/projects/1941-check-if-all-characters-have-equal-number-of-occurrences/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1941-check-if-all-characters-have-equal-number-of-occurrences/</guid><description>Given a string s, determine if all characters appear the same number of times.</description><pubDate>Sat, 17 May 2025 00:00:00 GMT</pubDate></item><item><title>Average of Levels in Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/637-average-of-levels-in-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/637-average-of-levels-in-binary-tree/</guid><description>Given the root of a binary tree, return the average value of the nodes on each level in the form of an array.</description><pubDate>Sat, 17 May 2025 00:00:00 GMT</pubDate></item><item><title>Select Data</title><link>https://portfolioandblog.netlify.app/projects/2880-select-data/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2880-select-data/</guid><description>Select specific columns (name and age) from a DataFrame containing student information.</description><pubDate>Fri, 16 May 2025 00:00:00 GMT</pubDate></item><item><title>String Matching in an Array</title><link>https://portfolioandblog.netlify.app/projects/1408-string-matching-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1408-string-matching-in-an-array/</guid><description>Find all strings in an array that are substrings of another string in the same array.</description><pubDate>Sun, 11 May 2025 00:00:00 GMT</pubDate></item><item><title>Sum of Values at Indices With K Set Bits</title><link>https://portfolioandblog.netlify.app/projects/2859-sum-of-values-at-indices-with-k-set-bits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2859-sum-of-values-at-indices-with-k-set-bits/</guid><description>Return the sum of all nums[i] where the index i has exactly k set bits in its binary representation.</description><pubDate>Sun, 11 May 2025 00:00:00 GMT</pubDate></item><item><title>Sum of Elements With Frequency Divisible by K</title><link>https://portfolioandblog.netlify.app/projects/3712-sum-of-elements-with-frequency-divisible-by-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3712-sum-of-elements-with-frequency-divisible-by-k/</guid><description>Given an array nums and integer k, return sum of elements whose frequency is divisible by k.</description><pubDate>Sun, 11 May 2025 00:00:00 GMT</pubDate></item><item><title>Invert Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/226-invert-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/226-invert-binary-tree/</guid><description>Given the root of a binary tree, invert the tree, and return its root.</description><pubDate>Sat, 10 May 2025 00:00:00 GMT</pubDate></item><item><title>Maximize Sum Of Array After K Negations</title><link>https://portfolioandblog.netlify.app/projects/1005-maximize-sum-of-array-after-k-negations/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1005-maximize-sum-of-array-after-k-negations/</guid><description>Given an integer array nums and an integer k, modify the array by choosing an index i and replacing nums[i] with -nums[i] exactly k times to maximize the sum of the array.</description><pubDate>Fri, 09 May 2025 00:00:00 GMT</pubDate></item><item><title>Count the Number of Consistent Strings</title><link>https://portfolioandblog.netlify.app/projects/1684-count-the-number-of-consistent-strings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1684-count-the-number-of-consistent-strings/</guid><description>You are given a string allowed and an array of strings words. Return the number of strings in words that are consistent with allowed.</description><pubDate>Thu, 08 May 2025 00:00:00 GMT</pubDate></item><item><title>The Number of Employees Which Report to Each Employee</title><link>https://portfolioandblog.netlify.app/projects/1731-the-number-of-employees-which-report-to-each-employee/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1731-the-number-of-employees-which-report-to-each-employee/</guid><description>Count the number of employees that report to each employee and calculate their average age.</description><pubDate>Thu, 08 May 2025 00:00:00 GMT</pubDate></item><item><title>Concatenate Non-Zero Digits and Multiply by Sum I</title><link>https://portfolioandblog.netlify.app/projects/3754-concatenate-non-zero-digits-and-multiply-by-sum-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3754-concatenate-non-zero-digits-and-multiply-by-sum-i/</guid><description>Given an integer n, return the product of the sum of its non-zero digits and the integer formed by concatenating its non-zero digits.</description><pubDate>Thu, 08 May 2025 00:00:00 GMT</pubDate></item><item><title>Perfect Number</title><link>https://portfolioandblog.netlify.app/projects/507-perfect-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/507-perfect-number/</guid><description>A perfect number is a positive integer that is equal to the sum of its positive divisors, excluding the number itself.</description><pubDate>Thu, 08 May 2025 00:00:00 GMT</pubDate></item><item><title>Binary Number with Alternating Bits</title><link>https://portfolioandblog.netlify.app/projects/693-binary-number-with-alternating-bits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/693-binary-number-with-alternating-bits/</guid><description>Check if a positive integer has alternating bits where no two adjacent bits are the same.</description><pubDate>Thu, 08 May 2025 00:00:00 GMT</pubDate></item><item><title>Path Sum</title><link>https://portfolioandblog.netlify.app/projects/112-path-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/112-path-sum/</guid><description>Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path where the sum of values equals targetSum.</description><pubDate>Wed, 07 May 2025 00:00:00 GMT</pubDate></item><item><title>Maximum 69 Number</title><link>https://portfolioandblog.netlify.app/projects/1323-maximum-69-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1323-maximum-69-number/</guid><description>Given a number consisting only of digits 6 and 9, return the maximum number by changing at most one digit (6 to 9 or 9 to 6).</description><pubDate>Tue, 06 May 2025 00:00:00 GMT</pubDate></item><item><title>Average Time of Process per Machine</title><link>https://portfolioandblog.netlify.app/projects/1661-average-time-of-process-per-machine/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1661-average-time-of-process-per-machine/</guid><description>Calculate the average time each machine takes to complete a process using start and end timestamps.</description><pubDate>Tue, 06 May 2025 00:00:00 GMT</pubDate></item><item><title>Average Value of Even Numbers That Are Divisible by Three</title><link>https://portfolioandblog.netlify.app/projects/2455-average-value-of-even-numbers-that-are-divisible-by-three/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2455-average-value-of-even-numbers-that-are-divisible-by-three/</guid><description>Calculate the average of numbers in an array that are divisible by both 2 and 3.</description><pubDate>Tue, 06 May 2025 00:00:00 GMT</pubDate></item><item><title>Unique Morse Code Words</title><link>https://portfolioandblog.netlify.app/projects/804-unique-morse-code-words/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/804-unique-morse-code-words/</guid><description>International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes. Given a list of words, translate each word into Morse code and return the number of unique transformations.</description><pubDate>Mon, 05 May 2025 00:00:00 GMT</pubDate></item><item><title>Longest Strictly Increasing or Strictly Decreasing Subarray</title><link>https://portfolioandblog.netlify.app/projects/3105-longest-strictly-increasing-or-strictly-decreasing-subarray/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3105-longest-strictly-increasing-or-strictly-decreasing-subarray/</guid><description>Find the length of the longest subarray that is either strictly increasing or strictly decreasing.</description><pubDate>Sun, 04 May 2025 00:00:00 GMT</pubDate></item><item><title>Find the XOR of Numbers Which Appear Twice</title><link>https://portfolioandblog.netlify.app/projects/3158-find-the-xor-of-numbers-which-appear-twice/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3158-find-the-xor-of-numbers-which-appear-twice/</guid><description>You are given an integer array nums. Return the XOR of all the numbers that appear exactly twice in the array.</description><pubDate>Sun, 04 May 2025 00:00:00 GMT</pubDate></item><item><title>First Letter to Appear Twice</title><link>https://portfolioandblog.netlify.app/projects/2351-first-letter-to-appear-twice/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2351-first-letter-to-appear-twice/</guid><description>Find the first letter that appears twice in a string of lowercase English letters.</description><pubDate>Wed, 30 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Number of Good Pairs</title><link>https://portfolioandblog.netlify.app/projects/1512-number-of-good-pairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1512-number-of-good-pairs/</guid><description>Count pairs of indices where nums[i] equals nums[j] and i is less than j.</description><pubDate>Tue, 29 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Element After Replacement With Digit Sum</title><link>https://portfolioandblog.netlify.app/projects/3300-minimum-element-after-replacement-with-digit-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3300-minimum-element-after-replacement-with-digit-sum/</guid><description>Replace each array element with the sum of its digits and find the minimum value.</description><pubDate>Tue, 29 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Second Largest Digit in a String</title><link>https://portfolioandblog.netlify.app/projects/1796-second-largest-digit-in-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1796-second-largest-digit-in-a-string/</guid><description>Find the second largest unique digit in a string containing alphanumeric characters.</description><pubDate>Sun, 27 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Crawler Log Folder</title><link>https://portfolioandblog.netlify.app/projects/1598-crawler-log-folder/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1598-crawler-log-folder/</guid><description>Calculate the minimum steps to return to the main folder from the current folder after performing a series of move operations.</description><pubDate>Sat, 26 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Count Prefix and Suffix Pairs I</title><link>https://portfolioandblog.netlify.app/projects/3042-count-prefix-and-suffix-pairs-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3042-count-prefix-and-suffix-pairs-i/</guid><description>Count pairs of strings where the earlier string is both a prefix and a suffix of the later string.</description><pubDate>Fri, 25 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Find the Town Judge</title><link>https://portfolioandblog.netlify.app/projects/997-find-the-town-judge/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/997-find-the-town-judge/</guid><description>Identify the town judge who is trusted by everyone but trusts no one, given a list of trust relationships.</description><pubDate>Mon, 21 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Relative Sort Array</title><link>https://portfolioandblog.netlify.app/projects/1122-relative-sort-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1122-relative-sort-array/</guid><description>Sort arr1 so elements follow the relative order of arr2, with remaining elements sorted ascending at the end.</description><pubDate>Sun, 20 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Reverse Degree of a String</title><link>https://portfolioandblog.netlify.app/projects/3498-reverse-degree-of-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3498-reverse-degree-of-a-string/</guid><description>Calculate the sum of reverse degrees of characters in a string, where reverse degree is the index in the reversed string plus one.</description><pubDate>Sat, 19 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Valid Elements in an Array</title><link>https://portfolioandblog.netlify.app/projects/3912-valid-elements-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3912-valid-elements-in-an-array/</guid><description>Count the number of elements in an array that are strictly greater than the sum of all elements to their left.</description><pubDate>Sat, 19 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Base 7</title><link>https://portfolioandblog.netlify.app/projects/504-base-7/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/504-base-7/</guid><description>Given an integer, return its base 7 representation as a string.</description><pubDate>Sat, 19 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Interval Cancellation</title><link>https://portfolioandblog.netlify.app/projects/2725-interval-cancellation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2725-interval-cancellation/</guid><description>Implement a function to schedule a recurring function call with an initial delay and return a function to cancel it.</description><pubDate>Fri, 18 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Unique 3-Digit Even Numbers</title><link>https://portfolioandblog.netlify.app/projects/3483-unique-3-digit-even-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3483-unique-3-digit-even-numbers/</guid><description>Given an array of digits, return the count of unique 3-digit even numbers that can be formed where each digit is used at most once.</description><pubDate>Fri, 18 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Last Stone Weight</title><link>https://portfolioandblog.netlify.app/projects/1046-last-stone-weight/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1046-last-stone-weight/</guid><description>We have a collection of stones, each stone has a positive integer weight. Each turn, we choose the two heaviest stones and smash them together.</description><pubDate>Thu, 17 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Value to Get Positive Step by Step Sum</title><link>https://portfolioandblog.netlify.app/projects/1413-minimum-value-to-get-positive-step-by-step-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1413-minimum-value-to-get-positive-step-by-step-sum/</guid><description>Find the minimum positive start value so that the running sum never drops below 1.</description><pubDate>Sun, 13 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Sum of Good Numbers</title><link>https://portfolioandblog.netlify.app/projects/3452-sum-of-good-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3452-sum-of-good-numbers/</guid><description>Given an array of integers, return the sum of numbers that are divisible by their digit count.</description><pubDate>Fri, 11 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Number of Lines To Write String</title><link>https://portfolioandblog.netlify.app/projects/806-number-of-lines-to-write-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/806-number-of-lines-to-write-string/</guid><description>Calculate the number of lines and width of the last line when writing a string with given character widths.</description><pubDate>Fri, 11 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Duplicate Emails</title><link>https://portfolioandblog.netlify.app/projects/182-duplicate-emails/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/182-duplicate-emails/</guid><description>Write a SQL query to find all duplicate emails in a table named Person.</description><pubDate>Mon, 07 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Binary Tree Preorder Traversal</title><link>https://portfolioandblog.netlify.app/projects/144-binary-tree-preorder-traversal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/144-binary-tree-preorder-traversal/</guid><description>Return the preorder traversal of a binary tree&apos;s node values.</description><pubDate>Fri, 04 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Reverse Prefix of Word</title><link>https://portfolioandblog.netlify.app/projects/2000-reverse-prefix-of-word/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2000-reverse-prefix-of-word/</guid><description>Given a word and a character, reverse the segment of the word starting from index 0 to the first occurrence of the character.</description><pubDate>Fri, 04 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Range Sum of BST</title><link>https://portfolioandblog.netlify.app/projects/938-range-sum-of-bst/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/938-range-sum-of-bst/</guid><description>Given the root node of a binary search tree and two integers low and high, return the sum of values of all nodes with a value in the inclusive range [low, high].</description><pubDate>Fri, 04 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Count Pairs That Form a Complete Day I</title><link>https://portfolioandblog.netlify.app/projects/3184-count-pairs-that-form-a-complete-day-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3184-count-pairs-that-form-a-complete-day-i/</guid><description>Count pairs of indices where the sum of hours is divisible by 24.</description><pubDate>Wed, 02 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Element Appearing More Than 25% In Sorted Array</title><link>https://portfolioandblog.netlify.app/projects/1287-element-appearing-more-than-25-in-sorted-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1287-element-appearing-more-than-25-in-sorted-array/</guid><description>Given a sorted integer array, find the element that appears more than 25% of the time.</description><pubDate>Tue, 01 Apr 2025 00:00:00 GMT</pubDate></item><item><title>Divide Array Into Equal Pairs</title><link>https://portfolioandblog.netlify.app/projects/2206-divide-array-into-equal-pairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2206-divide-array-into-equal-pairs/</guid><description>Determine if an array can be split into pairs of equal numbers by checking if every element occurs an even number of times.</description><pubDate>Mon, 31 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Triangle Judgement</title><link>https://portfolioandblog.netlify.app/projects/610-triangle-judgement/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/610-triangle-judgement/</guid><description>Determine if three given side lengths can form a valid triangle for each row in the table.</description><pubDate>Mon, 31 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Find Words That Can Be Formed by Characters</title><link>https://portfolioandblog.netlify.app/projects/1160-find-words-that-can-be-formed-by-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1160-find-words-that-can-be-formed-by-characters/</guid><description>You are given an array of strings words and a string chars. Return the sum of lengths of all strings in words that can be formed using characters from chars.</description><pubDate>Sun, 30 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Combine Two Tables</title><link>https://portfolioandblog.netlify.app/projects/175-combine-two-tables/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/175-combine-two-tables/</guid><description>Write a SQL query to report the first name, last name, city, and state of each person in the Person table.</description><pubDate>Sun, 30 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Calculate Digit Sum of a String</title><link>https://portfolioandblog.netlify.app/projects/2243-calculate-digit-sum-of-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2243-calculate-digit-sum-of-a-string/</guid><description>You are given a string s consisting of digits and an integer k. Perform digit sum grouping operations until the string length is &amp;lt;= k.</description><pubDate>Sun, 30 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Split With Minimum Sum</title><link>https://portfolioandblog.netlify.app/projects/2578-split-with-minimum-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2578-split-with-minimum-sum/</guid><description>Given a positive integer num, split its digits into two new integers to minimize their sum.</description><pubDate>Sat, 29 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Find Closest Person</title><link>https://portfolioandblog.netlify.app/projects/3516-find-closest-person/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3516-find-closest-person/</guid><description>Given an array of positions and your position, find the minimum distance to any person.</description><pubDate>Wed, 26 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Find Minimum Log Transportation Cost</title><link>https://portfolioandblog.netlify.app/projects/3560-find-minimum-log-transportation-cost/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3560-find-minimum-log-transportation-cost/</guid><description>Calculate the minimum cost to transport logs given a truck capacity, where cost is the max weight per trip.</description><pubDate>Wed, 26 Mar 2025 00:00:00 GMT</pubDate></item><item><title>First Unique Character in a String</title><link>https://portfolioandblog.netlify.app/projects/387-first-unique-character-in-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/387-first-unique-character-in-a-string/</guid><description>Find the first non-repeating character in a string and return its index, or -1 if none exists.</description><pubDate>Wed, 26 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Article Views I</title><link>https://portfolioandblog.netlify.app/projects/1148-article-views-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1148-article-views-i/</guid><description>Find all authors who viewed their own articles at least once, sorted by author_id.</description><pubDate>Mon, 24 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Find the Number of Winning Players</title><link>https://portfolioandblog.netlify.app/projects/3238-find-the-number-of-winning-players/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3238-find-the-number-of-winning-players/</guid><description>Determine the number of players who have picked at least x balls of the same color, where x is the player&apos;s ID.</description><pubDate>Sun, 23 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Project Employees I</title><link>https://portfolioandblog.netlify.app/projects/1075-project-employees-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1075-project-employees-i/</guid><description>Report the average experience years of employees for each project, rounded to two decimal places.</description><pubDate>Sat, 22 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Prime Arrangements</title><link>https://portfolioandblog.netlify.app/projects/1175-prime-arrangements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1175-prime-arrangements/</guid><description>Return the number of permutations of 1 to n where prime numbers are at prime indices, modulo 10⁹ + 7.</description><pubDate>Fri, 21 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Isomorphic Strings</title><link>https://portfolioandblog.netlify.app/projects/205-isomorphic-strings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/205-isomorphic-strings/</guid><description>Check if two strings are isomorphic by replacing characters in one string to form the other.</description><pubDate>Thu, 20 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Number of Students Unable to Eat Lunch</title><link>https://portfolioandblog.netlify.app/projects/1700-number-of-students-unable-to-eat-lunch/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1700-number-of-students-unable-to-eat-lunch/</guid><description>Students queue up for sandwiches. If the top sandwich doesn&apos;t match a student&apos;s preference, they move to the back. Count students who never eat.</description><pubDate>Tue, 18 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Most Frequent Even Element</title><link>https://portfolioandblog.netlify.app/projects/2404-most-frequent-even-element/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2404-most-frequent-even-element/</guid><description>Find the most frequent even element in an array. If multiple have same frequency, return smallest. Return -1 if no even elements.</description><pubDate>Mon, 17 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Smallest Even Multiple</title><link>https://portfolioandblog.netlify.app/projects/2413-smallest-even-multiple/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2413-smallest-even-multiple/</guid><description>Find the smallest positive multiple of n that is also even.</description><pubDate>Mon, 17 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Find Subsequence of Length K With the Largest Sum</title><link>https://portfolioandblog.netlify.app/projects/2099-find-subsequence-of-length-k-with-the-largest-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2099-find-subsequence-of-length-k-with-the-largest-sum/</guid><description>Find a subsequence of length k with maximum sum from an array, maintaining original order.</description><pubDate>Thu, 13 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Check if a String Is an Acronym of Words</title><link>https://portfolioandblog.netlify.app/projects/2828-check-if-a-string-is-an-acronym-of-words/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2828-check-if-a-string-is-an-acronym-of-words/</guid><description>Determine if a given string is formed by the first letters of an array of words.</description><pubDate>Wed, 12 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Number of Chairs in a Waiting Room</title><link>https://portfolioandblog.netlify.app/projects/3168-minimum-number-of-chairs-in-a-waiting-room/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3168-minimum-number-of-chairs-in-a-waiting-room/</guid><description>Find the minimum number of chairs needed in a waiting room given a string of people entering (&apos;E&apos;) and leaving (&apos;L&apos;).</description><pubDate>Wed, 12 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Min Cost Climbing Stairs</title><link>https://portfolioandblog.netlify.app/projects/746-min-cost-climbing-stairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/746-min-cost-climbing-stairs/</guid><description>Find the minimum cost to reach the top of the floor, where you can start from step 0 or 1 and climb 1 or 2 steps.</description><pubDate>Sun, 09 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Snake in Matrix</title><link>https://portfolioandblog.netlify.app/projects/3248-snake-in-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3248-snake-in-matrix/</guid><description>Simulate a snake moving in an n x n matrix based on a list of directional commands and return its final position.</description><pubDate>Sat, 08 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Third Maximum Number</title><link>https://portfolioandblog.netlify.app/projects/414-third-maximum-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/414-third-maximum-number/</guid><description>Given an integer array, return the third distinct maximum number, or the maximum if it doesn&apos;t exist.</description><pubDate>Sat, 08 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Product Sales Analysis I</title><link>https://portfolioandblog.netlify.app/projects/1068-product-sales-analysis-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1068-product-sales-analysis-i/</guid><description>Report product_id, year, and quantity for each sale from the Sales table.</description><pubDate>Thu, 06 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Check if Strings Can be Made Equal With Operations I</title><link>https://portfolioandblog.netlify.app/projects/2839-check-if-strings-can-be-made-equal-with-operations-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2839-check-if-strings-can-be-made-equal-with-operations-i/</guid><description>Determine if two strings can be made equal by swapping characters at indices with the same parity.</description><pubDate>Thu, 06 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Count Items Matching a Rule</title><link>https://portfolioandblog.netlify.app/projects/1773-count-items-matching-a-rule/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1773-count-items-matching-a-rule/</guid><description>Count items in a list that match a given rule based on type, color, or name attributes.</description><pubDate>Sun, 02 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Flood Fill</title><link>https://portfolioandblog.netlify.app/projects/733-flood-fill/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/733-flood-fill/</guid><description>Change the color of a connected region in an image starting from a given pixel using flood fill algorithm.</description><pubDate>Sun, 02 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Hours of Training to Win a Competition</title><link>https://portfolioandblog.netlify.app/projects/2383-minimum-hours-of-training-to-win-a-competition/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2383-minimum-hours-of-training-to-win-a-competition/</guid><description>Calculate minimum training hours needed to win all competitions by tracking energy and experience deficits.</description><pubDate>Sat, 01 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Operations to Make Array Sum Divisible by K</title><link>https://portfolioandblog.netlify.app/projects/3512-minimum-operations-to-make-array-sum-divisible-by-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3512-minimum-operations-to-make-array-sum-divisible-by-k/</guid><description>Find the minimum number of elements to remove from an array so that the sum of the remaining elements is divisible by k.</description><pubDate>Sat, 01 Mar 2025 00:00:00 GMT</pubDate></item><item><title>Sum of Digits of String After Convert</title><link>https://portfolioandblog.netlify.app/projects/1945-sum-of-digits-of-string-after-convert/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1945-sum-of-digits-of-string-after-convert/</guid><description>Convert string to integer string, then repeatedly sum digits k times.</description><pubDate>Thu, 27 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Return Length of Arguments Passed</title><link>https://portfolioandblog.netlify.app/projects/2703-return-length-of-arguments-passed/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2703-return-length-of-arguments-passed/</guid><description>Write a function that returns the number of arguments passed to it.</description><pubDate>Thu, 27 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Get Maximum in Generated Array</title><link>https://portfolioandblog.netlify.app/projects/1646-get-maximum-in-generated-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1646-get-maximum-in-generated-array/</guid><description>Generate an array based on specific index rules and find the maximum value within it.</description><pubDate>Wed, 26 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Length Substring With Two Occurrences</title><link>https://portfolioandblog.netlify.app/projects/3090-maximum-length-substring-with-two-occurrences/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3090-maximum-length-substring-with-two-occurrences/</guid><description>Find the longest substring where no character appears more than twice.</description><pubDate>Tue, 25 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Intersection of Two Arrays</title><link>https://portfolioandblog.netlify.app/projects/349-intersection-of-two-arrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/349-intersection-of-two-arrays/</guid><description>Given two integer arrays, return an array of their intersection. Each element in the result must be unique.</description><pubDate>Sun, 23 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Distance Between Three Equal Elements I</title><link>https://portfolioandblog.netlify.app/projects/3740-minimum-distance-between-three-equal-elements-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3740-minimum-distance-between-three-equal-elements-i/</guid><description>Find the minimum distance between three equal elements in an array.</description><pubDate>Fri, 21 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Rectangle Overlap</title><link>https://portfolioandblog.netlify.app/projects/836-rectangle-overlap/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/836-rectangle-overlap/</guid><description>Determine if two axis-aligned rectangles overlap by checking their projections on the x and y axes.</description><pubDate>Fri, 21 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Longest Continuous Increasing Subsequence</title><link>https://portfolioandblog.netlify.app/projects/674-longest-continuous-increasing-subsequence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/674-longest-continuous-increasing-subsequence/</guid><description>Find the length of the longest continuous increasing subsequence (subarray) in an unsorted array.</description><pubDate>Wed, 19 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Two Sum Less Than K</title><link>https://portfolioandblog.netlify.app/projects/1099-two-sum-less-than-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1099-two-sum-less-than-k/</guid><description>Given an array nums and an integer k, find the maximum sum of two numbers less than k.</description><pubDate>Tue, 18 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Classes With at Least 5 Students</title><link>https://portfolioandblog.netlify.app/projects/596-classes-with-at-least-5-students/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/596-classes-with-at-least-5-students/</guid><description>Find all classes that have at least 5 students enrolled.</description><pubDate>Mon, 17 Feb 2025 00:00:00 GMT</pubDate></item><item><title>User Activity for the Past 30 Days I</title><link>https://portfolioandblog.netlify.app/projects/1141-user-activity-for-the-past-30-days-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1141-user-activity-for-the-past-30-days-i/</guid><description>Find the daily active user count for a period of 30 days ending on 2019-07-27 inclusive.</description><pubDate>Sun, 16 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Count Days Spent Together</title><link>https://portfolioandblog.netlify.app/projects/2409-count-days-spent-together/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2409-count-days-spent-together/</guid><description>Alice and Bob are traveling to Rome for vacation. Calculate the number of days they spend together based on their arrival and departure dates.</description><pubDate>Sun, 16 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Binary Gap</title><link>https://portfolioandblog.netlify.app/projects/868-binary-gap/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/868-binary-gap/</guid><description>Given a positive integer n, find the maximum distance between two consecutive 1&apos;s in its binary representation.</description><pubDate>Sat, 15 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Distribute Candies to People</title><link>https://portfolioandblog.netlify.app/projects/1103-distribute-candies-to-people/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1103-distribute-candies-to-people/</guid><description>We distribute candies to people in turns, giving 1, 2, 3... candies sequentially. Return the final array of candies each person holds.</description><pubDate>Fri, 14 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Largest Local Values in a Matrix</title><link>https://portfolioandblog.netlify.app/projects/2373-largest-local-values-in-a-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2373-largest-local-values-in-a-matrix/</guid><description>You are given an n x n integer matrix grid. Generate an (n-2) x (n-2) matrix maxLocal where each element is the largest value in the contiguous 3x3 submatrix of grid.</description><pubDate>Fri, 14 Feb 2025 00:00:00 GMT</pubDate></item><item><title>N-th Tribonacci Number</title><link>https://portfolioandblog.netlify.app/projects/1137-n-th-tribonacci-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1137-n-th-tribonacci-number/</guid><description>Calculate the n-th Tribonacci number, defined by the recurrence relation Tn = Tn-1 + Tn-2 + Tn-3.</description><pubDate>Wed, 12 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Sleep</title><link>https://portfolioandblog.netlify.app/projects/2621-sleep/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2621-sleep/</guid><description>Implement an async sleep function that delays execution for a specified number of milliseconds.</description><pubDate>Wed, 12 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Find N Unique Integers Sum up to Zero</title><link>https://portfolioandblog.netlify.app/projects/1304-find-n-unique-integers-sum-up-to-zero/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1304-find-n-unique-integers-sum-up-to-zero/</guid><description>Given an integer n, return any array of n unique integers that sum up to zero.</description><pubDate>Mon, 10 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Find Lucky Integer in an Array</title><link>https://portfolioandblog.netlify.app/projects/1394-find-lucky-integer-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1394-find-lucky-integer-in-an-array/</guid><description>Given an array of integers, a lucky integer is an integer which has a frequency in the array equal to its value. Return the largest lucky integer, or -1 if none exists.</description><pubDate>Mon, 10 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Find Users With Valid E-Mails</title><link>https://portfolioandblog.netlify.app/projects/1517-find-users-with-valid-e-mails/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1517-find-users-with-valid-e-mails/</guid><description>Find users with valid e-mails where prefix starts with a letter and domain is @leetcode.com</description><pubDate>Mon, 10 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Product of Three Numbers</title><link>https://portfolioandblog.netlify.app/projects/628-maximum-product-of-three-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/628-maximum-product-of-three-numbers/</guid><description>Given an integer array nums, find three numbers whose product is maximum and return the maximum product.</description><pubDate>Mon, 10 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Total Distance Traveled</title><link>https://portfolioandblog.netlify.app/projects/2739-total-distance-traveled/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2739-total-distance-traveled/</guid><description>Calculate the total distance a truck can travel given a main and auxiliary fuel tank with specific transfer rules.</description><pubDate>Sun, 09 Feb 2025 00:00:00 GMT</pubDate></item><item><title>DI String Match</title><link>https://portfolioandblog.netlify.app/projects/942-di-string-match/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/942-di-string-match/</guid><description>Given a string of I and D characters, reconstruct a permutation where I means increase and D means decrease.</description><pubDate>Sat, 08 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Binary Prefix Divisible By 5</title><link>https://portfolioandblog.netlify.app/projects/1018-binary-prefix-divisible-by-5/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1018-binary-prefix-divisible-by-5/</guid><description>Given a binary array, determine if the number formed by each prefix is divisible by 5.</description><pubDate>Fri, 07 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Employee Bonus</title><link>https://portfolioandblog.netlify.app/projects/577-employee-bonus/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/577-employee-bonus/</guid><description>Select all employees with a bonus less than 1000, returning their name and bonus amount.</description><pubDate>Wed, 05 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Find the Child Who Has the Ball After K Seconds</title><link>https://portfolioandblog.netlify.app/projects/3178-find-the-child-who-has-the-ball-after-k-seconds/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3178-find-the-child-who-has-the-ball-after-k-seconds/</guid><description>You are given n children standing in a line. The ball starts at child 0 and moves back and forth. Return the child holding the ball after k seconds.</description><pubDate>Mon, 03 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Sum of All Subset XOR Totals</title><link>https://portfolioandblog.netlify.app/projects/1863-sum-of-all-subset-xor-totals/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1863-sum-of-all-subset-xor-totals/</guid><description>Calculate the sum of XOR totals for every subset of an array.</description><pubDate>Sun, 02 Feb 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Units on a Truck</title><link>https://portfolioandblog.netlify.app/projects/1710-maximum-units-on-a-truck/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1710-maximum-units-on-a-truck/</guid><description>Maximize the total number of units loaded on a truck by selecting boxes with the highest number of units per box first.</description><pubDate>Fri, 31 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Find the Winning Player in Coin Game</title><link>https://portfolioandblog.netlify.app/projects/3222-find-the-winning-player-in-coin-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3222-find-the-winning-player-in-coin-game/</guid><description>Determine the winner of a coin game where Alice and Bob remove 2, 3, or 5 coins from their own piles.</description><pubDate>Wed, 29 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Count Elements With Strictly Smaller and Greater Elements</title><link>https://portfolioandblog.netlify.app/projects/2148-count-elements-with-strictly-smaller-and-greater-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2148-count-elements-with-strictly-smaller-and-greater-elements/</guid><description>Count elements in an array that have both a strictly smaller and a strictly greater element present.</description><pubDate>Tue, 28 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Cells in a Range on an Excel Sheet</title><link>https://portfolioandblog.netlify.app/projects/2194-cells-in-a-range-on-an-excel-sheet/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2194-cells-in-a-range-on-an-excel-sheet/</guid><description>Return all cells in the inclusive range of an Excel sheet given a string like &apos;K1:L2&apos;.</description><pubDate>Tue, 28 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Function Composition</title><link>https://portfolioandblog.netlify.app/projects/2629-function-composition/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2629-function-composition/</guid><description>Given an array of functions, return a new function that represents the composition of all functions.</description><pubDate>Mon, 27 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Faulty Keyboard</title><link>https://portfolioandblog.netlify.app/projects/2810-faulty-keyboard/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2810-faulty-keyboard/</guid><description>Your laptop keyboard is faulty: typing &apos;i&apos; reverses the string typed so far. Return the final string displayed.</description><pubDate>Mon, 27 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Create a DataFrame from List</title><link>https://portfolioandblog.netlify.app/projects/2877-create-a-dataframe-from-list/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2877-create-a-dataframe-from-list/</guid><description>Create a pandas DataFrame from a given 2D list with specified column names.</description><pubDate>Sat, 25 Jan 2025 00:00:00 GMT</pubDate></item><item><title>The Latest Login in 2020</title><link>https://portfolioandblog.netlify.app/projects/1890-the-latest-login-in-2020/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1890-the-latest-login-in-2020/</guid><description>Find the latest login timestamp for each user in the year 2020 from the Logins table.</description><pubDate>Fri, 24 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Number of Arithmetic Triplets</title><link>https://portfolioandblog.netlify.app/projects/2367-number-of-arithmetic-triplets/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2367-number-of-arithmetic-triplets/</guid><description>Count the number of index triplets (i, j, k) in a strictly increasing array where the differences between consecutive elements equal a given value.</description><pubDate>Wed, 22 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Number of Unique Subjects Taught by Each Teacher</title><link>https://portfolioandblog.netlify.app/projects/2356-number-of-unique-subjects-taught-by-each-teacher/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2356-number-of-unique-subjects-taught-by-each-teacher/</guid><description>Count the number of unique subjects each teacher teaches from the Teacher table.</description><pubDate>Tue, 21 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Absolute Difference Between Maximum and Minimum K Elements</title><link>https://portfolioandblog.netlify.app/projects/3774-absolute-difference-between-maximum-and-minimum-k-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3774-absolute-difference-between-maximum-and-minimum-k-elements/</guid><description>Find the minimum possible absolute difference between the maximum and minimum elements of any subset of size k from the array.</description><pubDate>Tue, 21 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Largest Positive Integer That Exists With Its Negative</title><link>https://portfolioandblog.netlify.app/projects/2441-largest-positive-integer-that-exists-with-its-negative/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2441-largest-positive-integer-that-exists-with-its-negative/</guid><description>Given an integer array nums, return the largest positive integer k such that -k also exists in the array. If there is no such integer, return -1.</description><pubDate>Mon, 20 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Reverse String</title><link>https://portfolioandblog.netlify.app/projects/344-reverse-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/344-reverse-string/</guid><description>Write a function that reverses a string. The input string is given as an array of characters s. You must do this by modifying the input array in-place with O(1) extra memory.</description><pubDate>Mon, 20 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Jewels and Stones</title><link>https://portfolioandblog.netlify.app/projects/771-jewels-and-stones/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/771-jewels-and-stones/</guid><description>You&apos;re given strings jewels representing the types of stones that are jewels, and stones representing the stones you have. Return the number of stones that are also jewels.</description><pubDate>Sun, 19 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Generate Fibonacci Sequence</title><link>https://portfolioandblog.netlify.app/projects/2648-generate-fibonacci-sequence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2648-generate-fibonacci-sequence/</guid><description>Write a generator function that yields Fibonacci numbers starting from 0, 1.</description><pubDate>Sat, 18 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Split Strings by Separator</title><link>https://portfolioandblog.netlify.app/projects/2788-split-strings-by-separator/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2788-split-strings-by-separator/</guid><description>Given an array of strings and a separator character, split each string by the separator and return a 2D array of non-empty substrings.</description><pubDate>Fri, 17 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Method Chaining</title><link>https://portfolioandblog.netlify.app/projects/2891-method-chaining/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2891-method-chaining/</guid><description>Implement a class with methods that can be chained together to perform operations.</description><pubDate>Thu, 16 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Rearrange Spaces Between Words</title><link>https://portfolioandblog.netlify.app/projects/1592-rearrange-spaces-between-words/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1592-rearrange-spaces-between-words/</guid><description>Rearrange spaces between words to distribute them equally, placing extra spaces at the end.</description><pubDate>Wed, 15 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Determine if Two Events Have Conflict</title><link>https://portfolioandblog.netlify.app/projects/2446-determine-if-two-events-have-conflict/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2446-determine-if-two-events-have-conflict/</guid><description>Given two time intervals, check if they overlap or touch at the boundaries.</description><pubDate>Mon, 13 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Minimum Difference Between Highest and Lowest of K Scores</title><link>https://portfolioandblog.netlify.app/projects/1984-minimum-difference-between-highest-and-lowest-of-k-scores/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1984-minimum-difference-between-highest-and-lowest-of-k-scores/</guid><description>Find the minimum possible difference between the highest and lowest of k scores from an array.</description><pubDate>Tue, 07 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Most Common Word</title><link>https://portfolioandblog.netlify.app/projects/819-most-common-word/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/819-most-common-word/</guid><description>Find the most frequent word in a paragraph that is not in the banned list.</description><pubDate>Tue, 07 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Maximum Ascending Subarray Sum</title><link>https://portfolioandblog.netlify.app/projects/1800-maximum-ascending-subarray-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1800-maximum-ascending-subarray-sum/</guid><description>Find the maximum sum of an ascending subarray where each element is strictly greater than the previous element.</description><pubDate>Mon, 06 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Zigzag Grid Traversal With Skip</title><link>https://portfolioandblog.netlify.app/projects/3417-zigzag-grid-traversal-with-skip/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3417-zigzag-grid-traversal-with-skip/</guid><description>Traverse a 2D grid in a zigzag pattern, skipping specific elements, and return the result in a 1D array.</description><pubDate>Mon, 06 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Intersection of Two Arrays II</title><link>https://portfolioandblog.netlify.app/projects/350-intersection-of-two-arrays-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/350-intersection-of-two-arrays-ii/</guid><description>Given two integer arrays nums1 and nums2, return an array of their intersection. Each element in the result must appear as many times as it shows in both arrays.</description><pubDate>Mon, 06 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Number of Segments in a String</title><link>https://portfolioandblog.netlify.app/projects/434-number-of-segments-in-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/434-number-of-segments-in-a-string/</guid><description>Count the number of segments in a string, where a segment is defined as a contiguous sequence of non-space characters.</description><pubDate>Sun, 05 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Reverse String II</title><link>https://portfolioandblog.netlify.app/projects/541-reverse-string-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/541-reverse-string-ii/</guid><description>Given a string s and an integer k, reverse the first k characters for every 2k characters.</description><pubDate>Thu, 02 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Valid Mountain Array</title><link>https://portfolioandblog.netlify.app/projects/941-valid-mountain-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/941-valid-mountain-array/</guid><description>Check if an array strictly increases then strictly decreases.</description><pubDate>Wed, 01 Jan 2025 00:00:00 GMT</pubDate></item><item><title>Convert Binary Number in a Linked List to Integer</title><link>https://portfolioandblog.netlify.app/projects/1290-convert-binary-number-in-a-linked-list-to-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1290-convert-binary-number-in-a-linked-list-to-integer/</guid><description>Given head which is a reference node to a singly-linked list, return the decimal value of the binary number represented by the linked list.</description><pubDate>Tue, 31 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Big Countries</title><link>https://portfolioandblog.netlify.app/projects/595-big-countries/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/595-big-countries/</guid><description>Find the name, population, and area of countries with an area of at least three million square kilometers or a population of at least twenty-five million.</description><pubDate>Mon, 30 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Matrix Similarity After Cyclic Shifts</title><link>https://portfolioandblog.netlify.app/projects/2946-matrix-similarity-after-cyclic-shifts/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2946-matrix-similarity-after-cyclic-shifts/</guid><description>Check if a matrix remains identical after applying k cyclic shifts (right for even rows, left for odd rows).</description><pubDate>Sun, 29 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Defuse the Bomb</title><link>https://portfolioandblog.netlify.app/projects/1652-defuse-the-bomb/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1652-defuse-the-bomb/</guid><description>Decrypt the circular array code by summing the next k elements or previous k elements based on the value of k.</description><pubDate>Sat, 28 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Shuffle String</title><link>https://portfolioandblog.netlify.app/projects/1528-shuffle-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1528-shuffle-string/</guid><description>Given a string s and an integer array indices, shuffle the string so that the character at the ith position moves to indices[i] in the shuffled string.</description><pubDate>Thu, 26 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Distribute Money to Maximum Children</title><link>https://portfolioandblog.netlify.app/projects/2591-distribute-money-to-maximum-children/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2591-distribute-money-to-maximum-children/</guid><description>Distribute money to children such that no child gets 4 dollars and the number of children getting 8 dollars is maximized.</description><pubDate>Wed, 25 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Number of Changing Keys</title><link>https://portfolioandblog.netlify.app/projects/3019-number-of-changing-keys/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3019-number-of-changing-keys/</guid><description>Count the number of times you need to change keys while typing a string, considering case changes.</description><pubDate>Wed, 25 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Thousand Separator</title><link>https://portfolioandblog.netlify.app/projects/1556-thousand-separator/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1556-thousand-separator/</guid><description>Given an integer n, add a dot (.) as the thousands separator and return it in string format.</description><pubDate>Tue, 24 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Number of Bit Changes to Make Two Integers Equal</title><link>https://portfolioandblog.netlify.app/projects/3226-number-of-bit-changes-to-make-two-integers-equal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3226-number-of-bit-changes-to-make-two-integers-equal/</guid><description>Find minimum bit changes to make n equal to k by only changing 0s to 1s.</description><pubDate>Sun, 22 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Distribute Candies Among Children I</title><link>https://portfolioandblog.netlify.app/projects/2928-distribute-candies-among-children-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2928-distribute-candies-among-children-i/</guid><description>Count ways to distribute n candies among 3 children with each getting 1 to limit candies.</description><pubDate>Sat, 21 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Count Good Triplets</title><link>https://portfolioandblog.netlify.app/projects/1534-count-good-triplets/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1534-count-good-triplets/</guid><description>Count the number of triplets (i, j, k) such that the absolute differences between elements satisfy given conditions.</description><pubDate>Thu, 19 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Product of Two Digits</title><link>https://portfolioandblog.netlify.app/projects/3536-maximum-product-of-two-digits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3536-maximum-product-of-two-digits/</guid><description>Find the maximum product of any two digits from a given integer.</description><pubDate>Mon, 16 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Find the Key of the Numbers</title><link>https://portfolioandblog.netlify.app/projects/3270-find-the-key-of-the-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3270-find-the-key-of-the-numbers/</guid><description>You are given three integers. Find the key by taking the maximum digit at each place value among the three numbers.</description><pubDate>Sat, 14 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Find X-Sum of All K-Long Subarrays I</title><link>https://portfolioandblog.netlify.app/projects/3318-find-x-sum-of-all-k-long-subarrays-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3318-find-x-sum-of-all-k-long-subarrays-i/</guid><description>Calculate the x-sum for every subarray of length k, where x-sum is the sum of top x most frequent elements.</description><pubDate>Fri, 13 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Find All K-Distant Indices in an Array</title><link>https://portfolioandblog.netlify.app/projects/2200-find-all-k-distant-indices-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2200-find-all-k-distant-indices-in-an-array/</guid><description>Find all indices i in an array such that there exists an index j where nums[j] equals key and the absolute difference between i and j is at most k.</description><pubDate>Thu, 12 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Find the Largest Almost Missing Integer</title><link>https://portfolioandblog.netlify.app/projects/3471-find-the-largest-almost-missing-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3471-find-the-largest-almost-missing-integer/</guid><description>Find the largest integer x not in nums such that x+1 is in nums.</description><pubDate>Thu, 12 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Consecutive Characters</title><link>https://portfolioandblog.netlify.app/projects/1446-consecutive-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1446-consecutive-characters/</guid><description>Given a string s, find the maximum length of a substring containing only one unique character.</description><pubDate>Tue, 10 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Find Maximum Number of String Pairs</title><link>https://portfolioandblog.netlify.app/projects/2744-find-maximum-number-of-string-pairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2744-find-maximum-number-of-string-pairs/</guid><description>You are given a 0-indexed array words consisting of distinct strings. Return the maximum number of pairs (i, j) such that i &amp;lt; j and words[i] is equal to the reversed string of words[j].</description><pubDate>Mon, 09 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Population Year</title><link>https://portfolioandblog.netlify.app/projects/1854-maximum-population-year/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1854-maximum-population-year/</guid><description>Find the year with the highest population based on birth and death years.</description><pubDate>Sat, 07 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Count Vowel Substrings of a String</title><link>https://portfolioandblog.netlify.app/projects/2062-count-vowel-substrings-of-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2062-count-vowel-substrings-of-a-string/</guid><description>Count the number of substrings that contain only vowels and include all five vowels at least once.</description><pubDate>Fri, 06 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Guess Number Higher or Lower</title><link>https://portfolioandblog.netlify.app/projects/374-guess-number-higher-or-lower/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/374-guess-number-higher-or-lower/</guid><description>We are playing the Guess Game. I pick a number from 1 to n. You have to guess which number I picked using the guess API.</description><pubDate>Thu, 05 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Count Operations to Obtain Zero</title><link>https://portfolioandblog.netlify.app/projects/2169-count-operations-to-obtain-zero/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2169-count-operations-to-obtain-zero/</guid><description>Calculate the number of operations to reduce two numbers to zero by repeatedly subtracting the smaller from the larger.</description><pubDate>Wed, 04 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Absolute Difference in BST</title><link>https://portfolioandblog.netlify.app/projects/530-minimum-absolute-difference-in-bst/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/530-minimum-absolute-difference-in-bst/</guid><description>Find the minimum absolute difference between values of any two nodes in a Binary Search Tree.</description><pubDate>Mon, 02 Dec 2024 00:00:00 GMT</pubDate></item><item><title>Actors and Directors Who Cooperated At Least Three Times</title><link>https://portfolioandblog.netlify.app/projects/1050-actors-and-directors-who-cooperated-at-least-three-times/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1050-actors-and-directors-who-cooperated-at-least-three-times/</guid><description>Find pairs of actors and directors who have worked together at least three times using SQL aggregation.</description><pubDate>Mon, 25 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Replace Elements with Greatest Element on Right Side</title><link>https://portfolioandblog.netlify.app/projects/1299-replace-elements-with-greatest-element-on-right-side/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1299-replace-elements-with-greatest-element-on-right-side/</guid><description>Replace each element in an array with the greatest element to its right, and the last element with -1.</description><pubDate>Mon, 25 Nov 2024 00:00:00 GMT</pubDate></item><item><title>AWARDS</title><link>https://portfolioandblog.netlify.app/projects/awards/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/awards/</guid><description>The **Awards Platform** is a modern web application designed to simplify the process of creating, managing, and showcasing awards. Tailored for organizations, teams, and events, it combines a sleek user interface with a powerful backend, making nominations, voting, and winner announcements effortless. Built with **TailwindCSS**, it ensures a visually stunning and fully responsive design for all devices.</description><pubDate>Mon, 25 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Product of Two Elements in an Array</title><link>https://portfolioandblog.netlify.app/projects/1464-maximum-product-of-two-elements-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1464-maximum-product-of-two-elements-in-an-array/</guid><description>Find the maximum value of (nums[i]-1)*(nums[j]-1) by choosing two different indices i and j from the array.</description><pubDate>Sat, 23 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Positive Sum Subarray</title><link>https://portfolioandblog.netlify.app/projects/3364-minimum-positive-sum-subarray/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3364-minimum-positive-sum-subarray/</guid><description>Find the smallest sum of any non-empty subarray that is strictly positive.</description><pubDate>Sat, 23 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Subsequence in Non-Increasing Order</title><link>https://portfolioandblog.netlify.app/projects/1403-minimum-subsequence-in-non-increasing-order/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1403-minimum-subsequence-in-non-increasing-order/</guid><description>Find the minimum size subsequence where the sum of its elements is strictly greater than the sum of the remaining elements.</description><pubDate>Thu, 21 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Smallest Number With All Set Bits</title><link>https://portfolioandblog.netlify.app/projects/3370-smallest-number-with-all-set-bits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3370-smallest-number-with-all-set-bits/</guid><description>Find the smallest number with all bits set for a given number of bits n.</description><pubDate>Thu, 21 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Binary Tree Paths</title><link>https://portfolioandblog.netlify.app/projects/257-binary-tree-paths/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/257-binary-tree-paths/</guid><description>Given the root of a binary tree, return all root-to-leaf paths in any order.</description><pubDate>Wed, 20 Nov 2024 00:00:00 GMT</pubDate></item><item><title>The Two Sneaky Numbers of Digitville</title><link>https://portfolioandblog.netlify.app/projects/3289-the-two-sneaky-numbers-of-digitville/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3289-the-two-sneaky-numbers-of-digitville/</guid><description>Find the two numbers that appear twice in an array where all other numbers appear exactly once.</description><pubDate>Wed, 20 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Duplicate Zeros</title><link>https://portfolioandblog.netlify.app/projects/1089-duplicate-zeros/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1089-duplicate-zeros/</guid><description>Duplicate each occurrence of zero in a fixed-length array, shifting remaining elements to the right.</description><pubDate>Sat, 16 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Reformat The String</title><link>https://portfolioandblog.netlify.app/projects/1417-reformat-the-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1417-reformat-the-string/</guid><description>You are given an alphanumeric string s. Reformat the string so that no two adjacent characters are the same type (letter vs digit). Return the reformatted string or empty if impossible.</description><pubDate>Sat, 16 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Traffic Signal Color</title><link>https://portfolioandblog.netlify.app/projects/3894-traffic-signal-color/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3894-traffic-signal-color/</guid><description>Determine the color of a traffic signal after a given time, knowing it cycles Green -&gt; Yellow -&gt; Red -&gt; Green every second.</description><pubDate>Sat, 16 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Sum of Squares of Special Elements</title><link>https://portfolioandblog.netlify.app/projects/2778-sum-of-squares-of-special-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2778-sum-of-squares-of-special-elements/</guid><description>Calculate the sum of squares of elements whose 1-indexed positions divide the array length.</description><pubDate>Thu, 14 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Find the Array Concatenation Value</title><link>https://portfolioandblog.netlify.app/projects/2562-find-the-array-concatenation-value/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2562-find-the-array-concatenation-value/</guid><description>Calculate the total value by repeatedly concatenating the first and last elements of an array until it is empty.</description><pubDate>Tue, 12 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Find Smallest Letter Greater Than Target</title><link>https://portfolioandblog.netlify.app/projects/744-find-smallest-letter-greater-than-target/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/744-find-smallest-letter-greater-than-target/</guid><description>Given a sorted characters array and a target character, find the smallest character in the array that is larger than the target.</description><pubDate>Tue, 12 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Absolute Difference</title><link>https://portfolioandblog.netlify.app/projects/1200-minimum-absolute-difference/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1200-minimum-absolute-difference/</guid><description>Given an array of distinct integers, find all pairs of elements with the minimum absolute difference.</description><pubDate>Sun, 10 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Sum of Variable Length Subarrays</title><link>https://portfolioandblog.netlify.app/projects/3427-sum-of-variable-length-subarrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3427-sum-of-variable-length-subarrays/</guid><description>Calculate the total sum of subarrays defined by a corresponding lengths array.</description><pubDate>Sat, 09 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Distribute Candies</title><link>https://portfolioandblog.netlify.app/projects/575-distribute-candies/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/575-distribute-candies/</guid><description>Alice has n candies of different types. She must eat n/2 of them. Return the maximum number of different types she can eat.</description><pubDate>Fri, 08 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Decode XORed Array</title><link>https://portfolioandblog.netlify.app/projects/1720-decode-xored-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1720-decode-xored-array/</guid><description>Given an encoded array and the first element of the original array, reconstruct the original array using XOR properties.</description><pubDate>Thu, 07 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Check If N and Its Double Exist</title><link>https://portfolioandblog.netlify.app/projects/1346-check-if-n-and-its-double-exist/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1346-check-if-n-and-its-double-exist/</guid><description>Given an array of integers, return true if there exist indices i and j such that i != j and arr[i] == 2 * arr[j].</description><pubDate>Sat, 02 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Largest Number At Least Twice of Others</title><link>https://portfolioandblog.netlify.app/projects/747-largest-number-at-least-twice-of-others/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/747-largest-number-at-least-twice-of-others/</guid><description>Find the index of the largest integer if it is at least twice as much as every other number in the array.</description><pubDate>Fri, 01 Nov 2024 00:00:00 GMT</pubDate></item><item><title>Sort Even and Odd Indices Independently</title><link>https://portfolioandblog.netlify.app/projects/2164-sort-even-and-odd-indices-independently/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2164-sort-even-and-odd-indices-independently/</guid><description>Sort values at even indices in non-decreasing order and odd indices in non-increasing order.</description><pubDate>Thu, 31 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Apple Redistribution into Boxes</title><link>https://portfolioandblog.netlify.app/projects/3074-apple-redistribution-into-boxes/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3074-apple-redistribution-into-boxes/</guid><description>Determine the minimum number of boxes needed to redistribute all apples, given the weight of apples and the capacity of boxes.</description><pubDate>Wed, 30 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Categorize Box According to Criteria</title><link>https://portfolioandblog.netlify.app/projects/2525-categorize-box-according-to-criteria/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2525-categorize-box-according-to-criteria/</guid><description>Determine if a box is Bulky, Heavy, Both, or Neither based on its dimensions and mass.</description><pubDate>Tue, 29 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Count the Number of Vowel Strings in Range</title><link>https://portfolioandblog.netlify.app/projects/2586-count-the-number-of-vowel-strings-in-range/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2586-count-the-number-of-vowel-strings-in-range/</guid><description>You are given a 0-indexed string array words and two integers left and right. Return the number of vowel strings in the range [left, right].</description><pubDate>Mon, 28 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Reshape Data: Concatenate</title><link>https://portfolioandblog.netlify.app/projects/2888-reshape-data-concatenate/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2888-reshape-data-concatenate/</guid><description>Concatenate two DataFrames into a single DataFrame using Pandas.</description><pubDate>Mon, 28 Oct 2024 00:00:00 GMT</pubDate></item><item><title>First Bad Version</title><link>https://portfolioandblog.netlify.app/projects/278-first-bad-version/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/278-first-bad-version/</guid><description>Find the first bad version using binary search given an API to check if a version is bad.</description><pubDate>Sun, 27 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Truncate Sentence</title><link>https://portfolioandblog.netlify.app/projects/1816-truncate-sentence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1816-truncate-sentence/</guid><description>Return the first k words of a sentence separated by spaces.</description><pubDate>Sat, 26 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Kth Distinct String in an Array</title><link>https://portfolioandblog.netlify.app/projects/2053-kth-distinct-string-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2053-kth-distinct-string-in-an-array/</guid><description>Find the kth distinct string in an array, where a distinct string appears exactly once.</description><pubDate>Sat, 26 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Intersection of Multiple Arrays</title><link>https://portfolioandblog.netlify.app/projects/2248-intersection-of-multiple-arrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2248-intersection-of-multiple-arrays/</guid><description>Find the intersection of multiple arrays containing distinct integers.</description><pubDate>Sat, 26 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Circular Sentence</title><link>https://portfolioandblog.netlify.app/projects/2490-circular-sentence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2490-circular-sentence/</guid><description>Check if a sentence is circular by verifying that the last character of each word matches the first character of the next word, including the circular wrap-around.</description><pubDate>Sat, 26 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Queries Quality and Percentage</title><link>https://portfolioandblog.netlify.app/projects/1211-queries-quality-and-percentage/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1211-queries-quality-and-percentage/</guid><description>Calculate query quality and percentage from a queries table containing query_name, result, position, and rating.</description><pubDate>Fri, 25 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Number Of Rectangles That Can Form The Largest Square</title><link>https://portfolioandblog.netlify.app/projects/1725-number-of-rectangles-that-can-form-the-largest-square/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1725-number-of-rectangles-that-can-form-the-largest-square/</guid><description>Given rectangles, find how many can form the largest possible square by cutting.</description><pubDate>Mon, 21 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Fizz Buzz</title><link>https://portfolioandblog.netlify.app/projects/412-fizz-buzz/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/412-fizz-buzz/</guid><description>Given an integer n, return a string array answer (1-indexed) where answer[i] is &apos;FizzBuzz&apos; if i is divisible by 3 and 5, &apos;Fizz&apos; if divisible by 3, &apos;Buzz&apos; if divisible by 5, or str(i) otherwise.</description><pubDate>Mon, 21 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Pascal&apos;s Triangle II</title><link>https://portfolioandblog.netlify.app/projects/119-pascals-triangle-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/119-pascals-triangle-ii/</guid><description>Return the kth index row of Pascal&apos;s triangle where each number is the sum of the two numbers directly above it.</description><pubDate>Sat, 19 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Cost to Reach Every Position</title><link>https://portfolioandblog.netlify.app/projects/3502-minimum-cost-to-reach-every-position/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3502-minimum-cost-to-reach-every-position/</guid><description>Calculate the minimum cost to reach each index in an array where you can jump 1 or 2 steps.</description><pubDate>Fri, 18 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Is Object Empty</title><link>https://portfolioandblog.netlify.app/projects/2727-is-object-empty/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2727-is-object-empty/</guid><description>Given an object or an array, return true if it is empty, otherwise return false.</description><pubDate>Thu, 17 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Sum of Four Digit Number After Splitting Digits</title><link>https://portfolioandblog.netlify.app/projects/2160-minimum-sum-of-four-digit-number-after-splitting-digits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2160-minimum-sum-of-four-digit-number-after-splitting-digits/</guid><description>Split a four-digit number into two new numbers using all digits to minimize their sum.</description><pubDate>Wed, 16 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Subarrays Distinct Element Sum of Squares I</title><link>https://portfolioandblog.netlify.app/projects/2913-subarrays-distinct-element-sum-of-squares-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2913-subarrays-distinct-element-sum-of-squares-i/</guid><description>Calculate the sum of squares of distinct element counts for all subarrays of the given array.</description><pubDate>Wed, 16 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Operations to Make the Array Increasing</title><link>https://portfolioandblog.netlify.app/projects/1827-minimum-operations-to-make-the-array-increasing/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1827-minimum-operations-to-make-the-array-increasing/</guid><description>Return the minimum number of operations to make an array strictly increasing by incrementing elements.</description><pubDate>Mon, 14 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Counting Words With a Given Prefix</title><link>https://portfolioandblog.netlify.app/projects/2185-counting-words-with-a-given-prefix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2185-counting-words-with-a-given-prefix/</guid><description>Return the number of strings in an array that start with a given prefix.</description><pubDate>Mon, 14 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Implement Queue using Stacks</title><link>https://portfolioandblog.netlify.app/projects/232-implement-queue-using-stacks/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/232-implement-queue-using-stacks/</guid><description>Implement a FIFO queue using only two stacks with push, pop, peek, and empty operations.</description><pubDate>Mon, 14 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Change Data Type</title><link>https://portfolioandblog.netlify.app/projects/2886-change-data-type/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2886-change-data-type/</guid><description>Convert a value from one data type to another, handling edge cases.</description><pubDate>Mon, 14 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Earliest Finish Time for Land and Water Rides I</title><link>https://portfolioandblog.netlify.app/projects/3633-earliest-finish-time-for-land-and-water-rides-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3633-earliest-finish-time-for-land-and-water-rides-i/</guid><description>Find the minimum total time to complete one land ride and one water ride, where the land ride must be taken first.</description><pubDate>Mon, 14 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Find All Numbers Disappeared in an Array</title><link>https://portfolioandblog.netlify.app/projects/448-find-all-numbers-disappeared-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/448-find-all-numbers-disappeared-in-an-array/</guid><description>Given an array of n integers where 1 ≤ nums[i] ≤ n, find all integers in [1, n] that do not appear in the array.</description><pubDate>Mon, 14 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Evaluate Boolean Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/2331-evaluate-boolean-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2331-evaluate-boolean-binary-tree/</guid><description>Evaluate boolean expression represented by a binary tree where leaves are 0/1 and internal nodes are OR/AND operations.</description><pubDate>Sun, 13 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Toeplitz Matrix</title><link>https://portfolioandblog.netlify.app/projects/766-toeplitz-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/766-toeplitz-matrix/</guid><description>Given a matrix, return true if it is a Toeplitz matrix where every diagonal has the same elements.</description><pubDate>Sat, 12 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Unique Subarray Sum After Deletion</title><link>https://portfolioandblog.netlify.app/projects/3487-maximum-unique-subarray-sum-after-deletion/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3487-maximum-unique-subarray-sum-after-deletion/</guid><description>Find the maximum sum of a subarray with all unique elements after deleting at most one element from the array.</description><pubDate>Tue, 08 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Sort Integers by Binary Reflection</title><link>https://portfolioandblog.netlify.app/projects/3769-sort-integers-by-binary-reflection/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3769-sort-integers-by-binary-reflection/</guid><description>Sort an array of integers based on the value of their binary reflection (reversed bits).</description><pubDate>Mon, 07 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Transform Array by Parity</title><link>https://portfolioandblog.netlify.app/projects/3467-transform-array-by-parity/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3467-transform-array-by-parity/</guid><description>Rearrange array so all even numbers come before odd numbers while maintaining relative order.</description><pubDate>Fri, 04 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Remove One Element to Make the Array Strictly Increasing</title><link>https://portfolioandblog.netlify.app/projects/1909-remove-one-element-to-make-the-array-strictly-increasing/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1909-remove-one-element-to-make-the-array-strictly-increasing/</guid><description>Given an array, return true if it can be made strictly increasing by removing at most one element.</description><pubDate>Wed, 02 Oct 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Count of Positive Integer and Negative Integer</title><link>https://portfolioandblog.netlify.app/projects/2529-maximum-count-of-positive-integer-and-negative-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2529-maximum-count-of-positive-integer-and-negative-integer/</guid><description>Given a sorted array, return the maximum count between positive integers and negative integers. Zero is neither.</description><pubDate>Mon, 30 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Shortest Subarray With OR at Least K I</title><link>https://portfolioandblog.netlify.app/projects/3095-shortest-subarray-with-or-at-least-k-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3095-shortest-subarray-with-or-at-least-k-i/</guid><description>Find the length of the shortest non-empty subarray where the bitwise OR of its elements is at least k.</description><pubDate>Sat, 28 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Goal Parser Interpretation</title><link>https://portfolioandblog.netlify.app/projects/1678-goal-parser-interpretation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1678-goal-parser-interpretation/</guid><description>Interpret the command string by mapping &apos;G&apos; to &apos;G&apos;, &apos;()&apos; to &apos;o&apos;, and &apos;(al)&apos; to &apos;al&apos;.</description><pubDate>Thu, 26 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Reshape Data: Melt</title><link>https://portfolioandblog.netlify.app/projects/2890-reshape-data-melt/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2890-reshape-data-melt/</guid><description>Transform a wide-format DataFrame into a long-format DataFrame by unpivoting subject columns into rows.</description><pubDate>Thu, 26 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Check if Two Chessboard Squares Have the Same Color</title><link>https://portfolioandblog.netlify.app/projects/3274-check-if-two-chessboard-squares-have-the-same-color/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3274-check-if-two-chessboard-squares-have-the-same-color/</guid><description>Determine if two given chessboard squares have the same color based on their coordinates.</description><pubDate>Thu, 26 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Add Two Integers</title><link>https://portfolioandblog.netlify.app/projects/2235-add-two-integers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2235-add-two-integers/</guid><description>Given two integers num1 and num2, return the sum of the two integers.</description><pubDate>Sun, 22 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Day of the Week</title><link>https://portfolioandblog.netlify.app/projects/1185-day-of-the-week/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1185-day-of-the-week/</guid><description>Given a date, return the corresponding day of the week.</description><pubDate>Fri, 20 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Operations to Make Array Values Equal to K</title><link>https://portfolioandblog.netlify.app/projects/3375-minimum-operations-to-make-array-values-equal-to-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3375-minimum-operations-to-make-array-values-equal-to-k/</guid><description>You are given an array nums and an integer k. In one operation, you can remove any element from nums that is greater than k. Return the minimum number of operations to make all elements in nums equal to k.</description><pubDate>Thu, 19 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Find Closest Number to Zero</title><link>https://portfolioandblog.netlify.app/projects/2239-find-closest-number-to-zero/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2239-find-closest-number-to-zero/</guid><description>Given an integer array nums, find the number with the value closest to 0. If there is a tie, return the positive number.</description><pubDate>Wed, 18 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Convert the Temperature</title><link>https://portfolioandblog.netlify.app/projects/2469-convert-the-temperature/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2469-convert-the-temperature/</guid><description>Convert Celsius to Kelvin and Fahrenheit using simple mathematical formulas.</description><pubDate>Wed, 18 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Number of Moves to Seat Everyone</title><link>https://portfolioandblog.netlify.app/projects/2037-minimum-number-of-moves-to-seat-everyone/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2037-minimum-number-of-moves-to-seat-everyone/</guid><description>Match students to seats to minimize total moves by sorting both arrays and pairing corresponding elements.</description><pubDate>Tue, 17 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Learning Management System (LMS)</title><link>https://portfolioandblog.netlify.app/projects/lms/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/lms/</guid><description>A comprehensive Learning Management System built with JavaScript, React, and Tailwind CSS, featuring course management, video processing, and integration with Stripe and other services.</description><pubDate>Sun, 15 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Swap Sex of Employees</title><link>https://portfolioandblog.netlify.app/projects/627-swap-sex-of-employees/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/627-swap-sex-of-employees/</guid><description>Update all &apos;f&apos; values to &apos;m&apos; and all &apos;m&apos; values to &apos;f&apos; in the sex column of the Employee table.</description><pubDate>Fri, 13 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Sort Integers by The Number of 1 Bits</title><link>https://portfolioandblog.netlify.app/projects/1356-sort-integers-by-the-number-of-1-bits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1356-sort-integers-by-the-number-of-1-bits/</guid><description>Sort an array of integers based on the number of 1 bits in their binary representation. If counts are equal, sort by decimal value.</description><pubDate>Thu, 12 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Largest Substring Between Two Equal Characters</title><link>https://portfolioandblog.netlify.app/projects/1624-largest-substring-between-two-equal-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1624-largest-substring-between-two-equal-characters/</guid><description>Given a string s, find the maximum length of a substring between two equal characters.</description><pubDate>Tue, 10 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Find the Highest Altitude</title><link>https://portfolioandblog.netlify.app/projects/1732-find-the-highest-altitude/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1732-find-the-highest-altitude/</guid><description>A biker starts at altitude 0 and travels through points with net altitude gains. Find the highest altitude reached during the trip.</description><pubDate>Tue, 10 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Chunk Array</title><link>https://portfolioandblog.netlify.app/projects/2677-chunk-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2677-chunk-array/</guid><description>Split an array into chunks of a given size, with the last chunk potentially containing fewer elements.</description><pubDate>Tue, 10 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Defanging an IP Address</title><link>https://portfolioandblog.netlify.app/projects/1108-defanging-an-ip-address/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1108-defanging-an-ip-address/</guid><description>Given a valid IP address, replace every &apos;.&apos; with &apos;[.]&apos; to defang it.</description><pubDate>Sat, 07 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Valid Palindrome</title><link>https://portfolioandblog.netlify.app/projects/125-valid-palindrome/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/125-valid-palindrome/</guid><description>Check if a string is a palindrome considering only alphanumeric characters and ignoring case.</description><pubDate>Thu, 05 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Odd String Difference</title><link>https://portfolioandblog.netlify.app/projects/2451-odd-string-difference/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2451-odd-string-difference/</guid><description>Find the string with a unique difference pattern among an array of equal-length strings.</description><pubDate>Thu, 05 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Number of Words Found in Sentences</title><link>https://portfolioandblog.netlify.app/projects/2114-maximum-number-of-words-found-in-sentences/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2114-maximum-number-of-words-found-in-sentences/</guid><description>Find the sentence with the most words by counting spaces in each string.</description><pubDate>Tue, 03 Sep 2024 00:00:00 GMT</pubDate></item><item><title>Latest Time You Can Obtain After Replacing Characters</title><link>https://portfolioandblog.netlify.app/projects/3114-latest-time-you-can-obtain-after-replacing-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3114-latest-time-you-can-obtain-after-replacing-characters/</guid><description>Given a time string with &apos;?&apos; characters, replace them to form the latest valid time.</description><pubDate>Sun, 01 Sep 2024 00:00:00 GMT</pubDate></item><item><title>1-bit and 2-bit Characters</title><link>https://portfolioandblog.netlify.app/projects/717-1-bit-and-2-bit-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/717-1-bit-and-2-bit-characters/</guid><description>Determine if the last character in a binary array must be a 1-bit character, where 0 is 1-bit and 10/11 are 2-bit.</description><pubDate>Sat, 31 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Check Divisibility by Digit Sum and Product</title><link>https://portfolioandblog.netlify.app/projects/3622-check-divisibility-by-digit-sum-and-product/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3622-check-divisibility-by-digit-sum-and-product/</guid><description>Determine if an integer is divisible by both the sum and the product of its digits.</description><pubDate>Wed, 28 Aug 2024 00:00:00 GMT</pubDate></item><item><title>List the Products Ordered in a Period</title><link>https://portfolioandblog.netlify.app/projects/1327-list-the-products-ordered-in-a-period/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1327-list-the-products-ordered-in-a-period/</guid><description>Write a solution to list the names and categories of products ordered in February 2020.</description><pubDate>Mon, 26 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Univalued Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/965-univalued-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/965-univalued-binary-tree/</guid><description>Check if all nodes in a binary tree have the same value.</description><pubDate>Fri, 23 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Average Salary Excluding the Minimum and Maximum Salary</title><link>https://portfolioandblog.netlify.app/projects/1491-average-salary-excluding-the-minimum-and-maximum-salary/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1491-average-salary-excluding-the-minimum-and-maximum-salary/</guid><description>Calculate the average salary excluding the minimum and maximum salary from an array.</description><pubDate>Mon, 19 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Surface Area of 3D Shapes</title><link>https://portfolioandblog.netlify.app/projects/892-surface-area-of-3d-shapes/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/892-surface-area-of-3d-shapes/</guid><description>Calculate the total surface area of a 3D shape represented by an n x n grid of cube heights.</description><pubDate>Mon, 19 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Not Boring Movies</title><link>https://portfolioandblog.netlify.app/projects/620-not-boring-movies/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/620-not-boring-movies/</guid><description>Find movies with odd ID and non-boring description, ordered by rating descending.</description><pubDate>Fri, 16 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Subtract the Product and Sum of Digits of an Integer</title><link>https://portfolioandblog.netlify.app/projects/1281-subtract-the-product-and-sum-of-digits-of-an-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1281-subtract-the-product-and-sum-of-digits-of-an-integer/</guid><description>Given an integer n, return the difference between the product of its digits and the sum of its digits.</description><pubDate>Tue, 13 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Find the Difference of Two Arrays</title><link>https://portfolioandblog.netlify.app/projects/2215-find-the-difference-of-two-arrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2215-find-the-difference-of-two-arrays/</guid><description>Given two integer arrays, return distinct integers present in one but not the other.</description><pubDate>Tue, 13 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Check If All 1&apos;s Are at Least Length K Places Away</title><link>https://portfolioandblog.netlify.app/projects/1437-check-if-all-1s-are-at-least-length-k-places-away/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1437-check-if-all-1s-are-at-least-length-k-places-away/</guid><description>Given an array of 0s and 1s, determine if every pair of adjacent 1s is separated by at least k 0s.</description><pubDate>Fri, 09 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Check if Array Is Sorted and Rotated</title><link>https://portfolioandblog.netlify.app/projects/1752-check-if-array-is-sorted-and-rotated/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1752-check-if-array-is-sorted-and-rotated/</guid><description>Given an array nums, return true if the array was originally sorted in non-decreasing order and then rotated some number of positions.</description><pubDate>Fri, 09 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Score After Splitting a String</title><link>https://portfolioandblog.netlify.app/projects/1422-maximum-score-after-splitting-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1422-maximum-score-after-splitting-a-string/</guid><description>Given a binary string, split it into left and right substrings to maximize the score of zeros in left plus ones in right.</description><pubDate>Tue, 06 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Subtree of Another Tree</title><link>https://portfolioandblog.netlify.app/projects/572-subtree-of-another-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/572-subtree-of-another-tree/</guid><description>Given two binary trees, check if one tree is a subtree of the other by comparing structure and node values.</description><pubDate>Tue, 06 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Divisor Game</title><link>https://portfolioandblog.netlify.app/projects/1025-divisor-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1025-divisor-game/</guid><description>Alice and Bob play a game with a number n. On each turn, a player chooses a divisor x of n and replaces n with n-x. Return true if Alice wins.</description><pubDate>Fri, 02 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Hexadecimal and Hexatrigesimal Conversion</title><link>https://portfolioandblog.netlify.app/projects/3602-hexadecimal-and-hexatrigesimal-conversion/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3602-hexadecimal-and-hexatrigesimal-conversion/</guid><description>Convert a given hexadecimal string to its equivalent representation in base 36 (hexatrigesimal).</description><pubDate>Thu, 01 Aug 2024 00:00:00 GMT</pubDate></item><item><title>Find Missing and Repeated Values</title><link>https://portfolioandblog.netlify.app/projects/2965-find-missing-and-repeated-values/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2965-find-missing-and-repeated-values/</guid><description>Find the repeated and missing numbers in an n x n grid containing values from 1 to n².</description><pubDate>Wed, 31 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Special Positions in a Binary Matrix</title><link>https://portfolioandblog.netlify.app/projects/1582-special-positions-in-a-binary-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1582-special-positions-in-a-binary-matrix/</guid><description>Count positions in a binary matrix where the element is 1 and all other elements in its row and column are 0.</description><pubDate>Mon, 29 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Best Poker Hand</title><link>https://portfolioandblog.netlify.app/projects/2347-best-poker-hand/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2347-best-poker-hand/</guid><description>Determine the best poker hand (Flush, Three of a Kind, Pair, or High Card) from 5 cards given their ranks and suits.</description><pubDate>Sun, 28 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Find the Number of Good Pairs I</title><link>https://portfolioandblog.netlify.app/projects/3162-find-the-number-of-good-pairs-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3162-find-the-number-of-good-pairs-i/</guid><description>Given two integer arrays nums1 and nums2 and an integer k, return the number of pairs (i, j) such that nums1[i] is divisible by nums2[j] * k.</description><pubDate>Sat, 27 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Island Perimeter</title><link>https://portfolioandblog.netlify.app/projects/463-island-perimeter/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/463-island-perimeter/</guid><description>Calculate the perimeter of the island in a grid where 1 is land and 0 is water. The grid is surrounded by water and contains exactly one island.</description><pubDate>Sat, 27 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Time Needed to Buy Tickets</title><link>https://portfolioandblog.netlify.app/projects/2073-time-needed-to-buy-tickets/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2073-time-needed-to-buy-tickets/</guid><description>Calculate the total time taken for the person at position k to finish buying tickets in a queue where people cycle back after buying one.</description><pubDate>Fri, 26 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Water Bottles</title><link>https://portfolioandblog.netlify.app/projects/1518-water-bottles/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1518-water-bottles/</guid><description>Calculate the total number of water bottles you can drink given initial bottles and exchange rate.</description><pubDate>Thu, 25 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Nesting Depth of the Parentheses</title><link>https://portfolioandblog.netlify.app/projects/1614-maximum-nesting-depth-of-the-parentheses/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1614-maximum-nesting-depth-of-the-parentheses/</guid><description>Find the maximum nesting depth of parentheses in a valid string.</description><pubDate>Thu, 25 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Row With Maximum Ones</title><link>https://portfolioandblog.netlify.app/projects/2643-row-with-maximum-ones/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2643-row-with-maximum-ones/</guid><description>Find the row with the most 1s in a binary matrix. Return the smallest index if tied.</description><pubDate>Tue, 23 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Recolors to Get K Consecutive Black Blocks</title><link>https://portfolioandblog.netlify.app/projects/2379-minimum-recolors-to-get-k-consecutive-black-blocks/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2379-minimum-recolors-to-get-k-consecutive-black-blocks/</guid><description>Find the minimum number of &apos;W&apos; to &apos;B&apos; changes needed to create a segment of k consecutive &apos;B&apos; blocks.</description><pubDate>Mon, 22 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Monotonic Array</title><link>https://portfolioandblog.netlify.app/projects/896-monotonic-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/896-monotonic-array/</guid><description>An array is monotonic if it is either entirely non-increasing or non-decreasing. Check if the given array satisfies this property.</description><pubDate>Mon, 22 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Find if Path Exists in Graph</title><link>https://portfolioandblog.netlify.app/projects/1971-find-if-path-exists-in-graph/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1971-find-if-path-exists-in-graph/</guid><description>Determine if a valid path exists between a source and destination node in an undirected graph using DFS, BFS, or Union-Find.</description><pubDate>Sun, 21 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Set Mismatch</title><link>https://portfolioandblog.netlify.app/projects/645-set-mismatch/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/645-set-mismatch/</guid><description>Find the duplicate and missing number in an array containing 1 to n</description><pubDate>Sat, 20 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Maximize Expression of Three Elements</title><link>https://portfolioandblog.netlify.app/projects/3745-maximize-expression-of-three-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3745-maximize-expression-of-three-elements/</guid><description>Find the maximum value of (nums[i] - nums[j]) * nums[k] for i &amp;lt; j &amp;lt; k.</description><pubDate>Fri, 19 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Count Pairs Whose Sum is Less than Target</title><link>https://portfolioandblog.netlify.app/projects/2824-count-pairs-whose-sum-is-less-than-target/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2824-count-pairs-whose-sum-is-less-than-target/</guid><description>Given an array of integers and a target, count the number of index pairs (i, j) where i &amp;lt; j and the sum of the elements is less than the target.</description><pubDate>Thu, 18 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Smallest Missing Integer Greater Than Sequential Prefix Sum</title><link>https://portfolioandblog.netlify.app/projects/2996-smallest-missing-integer-greater-than-sequential-prefix-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2996-smallest-missing-integer-greater-than-sequential-prefix-sum/</guid><description>Find the smallest missing integer greater than the sum of the longest sequential prefix of the array.</description><pubDate>Thu, 18 Jul 2024 00:00:00 GMT</pubDate></item><item><title>First Unique Even Element</title><link>https://portfolioandblog.netlify.app/projects/3866-first-unique-even-element/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3866-first-unique-even-element/</guid><description>Find the first unique even element in an array. A unique element appears exactly once.</description><pubDate>Wed, 17 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Make The String Great</title><link>https://portfolioandblog.netlify.app/projects/1544-make-the-string-great/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1544-make-the-string-great/</guid><description>Remove adjacent characters that are the same letter but different case until the string is great.</description><pubDate>Tue, 16 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Unique Email Addresses</title><link>https://portfolioandblog.netlify.app/projects/929-unique-email-addresses/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/929-unique-email-addresses/</guid><description>Count unique email addresses after applying rules: ignore dots in local name and ignore everything after a plus sign.</description><pubDate>Tue, 16 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Find Products with Valid Serial Numbers</title><link>https://portfolioandblog.netlify.app/projects/3465-find-products-with-valid-serial-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3465-find-products-with-valid-serial-numbers/</guid><description>Find all products with valid serial numbers that contain only alphanumeric characters.</description><pubDate>Sat, 13 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Distribute Elements Into Two Arrays I</title><link>https://portfolioandblog.netlify.app/projects/3069-distribute-elements-into-two-arrays-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3069-distribute-elements-into-two-arrays-i/</guid><description>Distribute elements into two arrays based on the comparison of their last elements and return the concatenation.</description><pubDate>Sun, 07 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Weighted Word Mapping</title><link>https://portfolioandblog.netlify.app/projects/3838-weighted-word-mapping/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3838-weighted-word-mapping/</guid><description>Calculate the sum of alphabetical weights for the first k characters of a string.</description><pubDate>Sun, 07 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Find Valid Pair of Adjacent Digits in String</title><link>https://portfolioandblog.netlify.app/projects/3438-find-valid-pair-of-adjacent-digits-in-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3438-find-valid-pair-of-adjacent-digits-in-string/</guid><description>Find the first adjacent pair of digits summing to 10, remove them, and return the resulting string.</description><pubDate>Thu, 04 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Complement of Base 10 Integer</title><link>https://portfolioandblog.netlify.app/projects/1009-complement-of-base-10-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1009-complement-of-base-10-integer/</guid><description>The complement of an integer is the integer you get when you flip all the 0&apos;s to 1&apos;s and all the 1&apos;s to 0&apos;s in its binary representation.</description><pubDate>Wed, 03 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Special Array With X Elements Greater Than or Equal X</title><link>https://portfolioandblog.netlify.app/projects/1608-special-array-with-x-elements-greater-than-or-equal-x/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1608-special-array-with-x-elements-greater-than-or-equal-x/</guid><description>Find the largest integer x such that exactly x elements in the array are greater than or equal to x.</description><pubDate>Wed, 03 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Closest Binary Search Tree Value</title><link>https://portfolioandblog.netlify.app/projects/270-closest-binary-search-tree-value/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/270-closest-binary-search-tree-value/</guid><description>Find the value in a BST that is closest to a given target value.</description><pubDate>Tue, 02 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Count Substrings That Satisfy K-Constraint I</title><link>https://portfolioandblog.netlify.app/projects/3258-count-substrings-that-satisfy-k-constraint-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3258-count-substrings-that-satisfy-k-constraint-i/</guid><description>Count the number of substrings in a binary string where the count of 0s or 1s is at most k.</description><pubDate>Tue, 02 Jul 2024 00:00:00 GMT</pubDate></item><item><title>Arranging Coins</title><link>https://portfolioandblog.netlify.app/projects/441-arranging-coins/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/441-arranging-coins/</guid><description>You have n coins and you want to build a staircase. Find the total number of full rows of the staircase you can build.</description><pubDate>Mon, 01 Jul 2024 00:00:00 GMT</pubDate></item><item><title>A Number After a Double Reversal</title><link>https://portfolioandblog.netlify.app/projects/2119-a-number-after-a-double-reversal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2119-a-number-after-a-double-reversal/</guid><description>Check if reversing a number twice returns the original number. Leading zeros are dropped during reversal.</description><pubDate>Sat, 29 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Count Odd Numbers in an Interval Range</title><link>https://portfolioandblog.netlify.app/projects/1523-count-odd-numbers-in-an-interval-range/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1523-count-odd-numbers-in-an-interval-range/</guid><description>Given two non-negative integers low and high, return the count of odd numbers between low and high (inclusive).</description><pubDate>Fri, 28 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Find Minimum Operations to Make All Elements Divisible by Three</title><link>https://portfolioandblog.netlify.app/projects/3190-find-minimum-operations-to-make-all-elements-divisible-by-three/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3190-find-minimum-operations-to-make-all-elements-divisible-by-three/</guid><description>Calculate the minimum operations needed to make all array elements divisible by 3 by adding or subtracting 1.</description><pubDate>Fri, 28 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Image Smoother</title><link>https://portfolioandblog.netlify.app/projects/661-image-smoother/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/661-image-smoother/</guid><description>An image smoother calculates the average of surrounding cells for each pixel in a matrix.</description><pubDate>Thu, 27 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Can Place Flowers</title><link>https://portfolioandblog.netlify.app/projects/605-can-place-flowers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/605-can-place-flowers/</guid><description>Determine if n new flowers can be planted in a flowerbed without violating the no-adjacent-flowers rule.</description><pubDate>Tue, 25 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Calculator with Method Chaining</title><link>https://portfolioandblog.netlify.app/projects/2726-calculator-with-method-chaining/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2726-calculator-with-method-chaining/</guid><description>Design a Calculator class that supports method chaining for arithmetic operations like add, subtract, multiply, divide, and power.</description><pubDate>Mon, 24 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Find the Maximum Achievable Number</title><link>https://portfolioandblog.netlify.app/projects/2769-find-the-maximum-achievable-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2769-find-the-maximum-achievable-number/</guid><description>Given integers num and t, find the maximum x such that after incrementing num t times and decrementing x t times, they are equal.</description><pubDate>Mon, 24 Jun 2024 00:00:00 GMT</pubDate></item><item><title>PromptWhiz Project</title><link>https://portfolioandblog.netlify.app/projects/promptwhiz/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/promptwhiz/</guid><description>A tool for generating creative writing prompts.</description><pubDate>Mon, 24 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Can Make Arithmetic Progression From Sequence</title><link>https://portfolioandblog.netlify.app/projects/1502-can-make-arithmetic-progression-from-sequence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1502-can-make-arithmetic-progression-from-sequence/</guid><description>Check if an array can be rearranged to form an arithmetic progression.</description><pubDate>Sat, 22 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Count Equal and Divisible Pairs in an Array</title><link>https://portfolioandblog.netlify.app/projects/2176-count-equal-and-divisible-pairs-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2176-count-equal-and-divisible-pairs-in-an-array/</guid><description>Count pairs (i, j) where i &amp;lt; j, nums[i] == nums[j], and (i * j) is divisible by k.</description><pubDate>Sat, 22 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Check if One String Swap Can Make Strings Equal</title><link>https://portfolioandblog.netlify.app/projects/1790-check-if-one-string-swap-can-make-strings-equal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1790-check-if-one-string-swap-can-make-strings-equal/</guid><description>You are given two strings s1 and s2. Return true if you can swap two letters in s1 so the result is equal to s2, otherwise return false.</description><pubDate>Thu, 20 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Count Binary Substrings</title><link>https://portfolioandblog.netlify.app/projects/696-count-binary-substrings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/696-count-binary-substrings/</guid><description>Count the number of substrings where the number of 0s equals the number of 1s and all 0s and 1s are grouped together.</description><pubDate>Thu, 20 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Search in a Binary Search Tree</title><link>https://portfolioandblog.netlify.app/projects/700-search-in-a-binary-search-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/700-search-in-a-binary-search-tree/</guid><description>Find the node with a given value in a Binary Search Tree and return the subtree rooted at that node.</description><pubDate>Wed, 19 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Count Integers With Even Digit Sum</title><link>https://portfolioandblog.netlify.app/projects/2180-count-integers-with-even-digit-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2180-count-integers-with-even-digit-sum/</guid><description>Given a positive integer num, return the count of integers in [1, num] with an even sum of digits.</description><pubDate>Tue, 18 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Tindog Project</title><link>https://portfolioandblog.netlify.app/projects/tindog/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/tindog/</guid><description>A mockup website for a fictional dog-tinder application.</description><pubDate>Mon, 17 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Count Negative Numbers in a Sorted Matrix</title><link>https://portfolioandblog.netlify.app/projects/1351-count-negative-numbers-in-a-sorted-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1351-count-negative-numbers-in-a-sorted-matrix/</guid><description>Given a matrix sorted in non-increasing order row-wise and column-wise, return the count of negative numbers.</description><pubDate>Fri, 14 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Toggle Light Bulbs</title><link>https://portfolioandblog.netlify.app/projects/3842-toggle-light-bulbs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3842-toggle-light-bulbs/</guid><description>Given n bulbs and a list of operations, toggle the specified bulbs and return the number of bulbs that remain on.</description><pubDate>Wed, 12 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Pair Removal to Sort Array I</title><link>https://portfolioandblog.netlify.app/projects/3507-minimum-pair-removal-to-sort-array-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3507-minimum-pair-removal-to-sort-array-i/</guid><description>Find the minimum number of adjacent pair removals required to make an array sorted in non-decreasing order.</description><pubDate>Mon, 10 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Capitalize the Title</title><link>https://portfolioandblog.netlify.app/projects/2129-capitalize-the-title/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2129-capitalize-the-title/</guid><description>Capitalize words in a title: words longer than 2 characters have first letter uppercase, rest lowercase; words of 1-2 characters are all lowercase.</description><pubDate>Fri, 07 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Get the Size of a DataFrame</title><link>https://portfolioandblog.netlify.app/projects/2878-get-the-size-of-a-dataframe/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2878-get-the-size-of-a-dataframe/</guid><description>Calculate the total number of elements in a DataFrame by multiplying its row count by its column count.</description><pubDate>Fri, 07 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Find the Distance Value Between Two Arrays</title><link>https://portfolioandblog.netlify.app/projects/1385-find-the-distance-value-between-two-arrays/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1385-find-the-distance-value-between-two-arrays/</guid><description>Count elements in arr1 where no element in arr2 is within distance d.</description><pubDate>Wed, 05 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Strong Password Checker II</title><link>https://portfolioandblog.netlify.app/projects/2299-strong-password-checker-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2299-strong-password-checker-ii/</guid><description>Check if a password is strong based on length, character types, and no consecutive identical characters.</description><pubDate>Mon, 03 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Drop Duplicate Rows</title><link>https://portfolioandblog.netlify.app/projects/2882-drop-duplicate-rows/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2882-drop-duplicate-rows/</guid><description>Remove duplicate rows from a dataset, keeping only the first occurrence of each unique row.</description><pubDate>Mon, 03 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Number of Words You Can Type</title><link>https://portfolioandblog.netlify.app/projects/1935-maximum-number-of-words-you-can-type/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1935-maximum-number-of-words-you-can-type/</guid><description>Count how many words in a text can be typed without using any of the specified broken letters.</description><pubDate>Sat, 01 Jun 2024 00:00:00 GMT</pubDate></item><item><title>Count Square Sum Triples</title><link>https://portfolioandblog.netlify.app/projects/1925-count-square-sum-triples/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1925-count-square-sum-triples/</guid><description>Count the number of triples (a,b,c) where a² + b² = c² and all values are between 1 and n.</description><pubDate>Thu, 30 May 2024 00:00:00 GMT</pubDate></item><item><title>Count Commas in Range</title><link>https://portfolioandblog.netlify.app/projects/3870-count-commas-in-range/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3870-count-commas-in-range/</guid><description>Count the total number of commas used when writing all numbers in a range with standard thousand separators.</description><pubDate>Wed, 29 May 2024 00:00:00 GMT</pubDate></item><item><title>Type of Triangle</title><link>https://portfolioandblog.netlify.app/projects/3024-type-of-triangle/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3024-type-of-triangle/</guid><description>Determine the type of triangle (equilateral, isosceles, scalene, or none) formed by the first three elements of an array.</description><pubDate>Mon, 27 May 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Changes To Make Alternating Binary String</title><link>https://portfolioandblog.netlify.app/projects/1758-minimum-changes-to-make-alternating-binary-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1758-minimum-changes-to-make-alternating-binary-string/</guid><description>Find minimum operations to make binary string alternating by flipping characters.</description><pubDate>Sun, 26 May 2024 00:00:00 GMT</pubDate></item><item><title>Group Sold Products By The Date</title><link>https://portfolioandblog.netlify.app/projects/1484-group-sold-products-by-the-date/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1484-group-sold-products-by-the-date/</guid><description>Write a solution to group products sold by date, counting distinct items and listing them in a comma-separated string.</description><pubDate>Sat, 25 May 2024 00:00:00 GMT</pubDate></item><item><title>Percentage of Letter in String</title><link>https://portfolioandblog.netlify.app/projects/2278-percentage-of-letter-in-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2278-percentage-of-letter-in-string/</guid><description>Given a string and a letter, calculate the percentage of the string composed of that letter, rounded down.</description><pubDate>Fri, 24 May 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Number of Operations With the Same Score I</title><link>https://portfolioandblog.netlify.app/projects/3038-maximum-number-of-operations-with-the-same-score-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3038-maximum-number-of-operations-with-the-same-score-i/</guid><description>Find the maximum number of operations where the sum of pairs of elements remains constant.</description><pubDate>Fri, 24 May 2024 00:00:00 GMT</pubDate></item><item><title>Max Consecutive Ones</title><link>https://portfolioandblog.netlify.app/projects/485-max-consecutive-ones/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/485-max-consecutive-ones/</guid><description>Given a binary array nums, return the maximum number of consecutive 1s in the array.</description><pubDate>Thu, 23 May 2024 00:00:00 GMT</pubDate></item><item><title>Prime In Diagonal</title><link>https://portfolioandblog.netlify.app/projects/2614-prime-in-diagonal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2614-prime-in-diagonal/</guid><description>Find the largest prime number located on either the main diagonal or the anti-diagonal of a square matrix.</description><pubDate>Wed, 22 May 2024 00:00:00 GMT</pubDate></item><item><title>Check if The Number is Fascinating</title><link>https://portfolioandblog.netlify.app/projects/2729-check-if-the-number-is-fascinating/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2729-check-if-the-number-is-fascinating/</guid><description>Check if concatenating n, 2*n, and 3*n produces a number containing digits 1-9 exactly once.</description><pubDate>Wed, 22 May 2024 00:00:00 GMT</pubDate></item><item><title>Modify Columns</title><link>https://portfolioandblog.netlify.app/projects/2884-modify-columns/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2884-modify-columns/</guid><description>Modify the data type of a specific column in a 2D array from string to integer.</description><pubDate>Tue, 21 May 2024 00:00:00 GMT</pubDate></item><item><title>Lemonade Change</title><link>https://portfolioandblog.netlify.app/projects/860-lemonade-change/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/860-lemonade-change/</guid><description>Determine if you can provide correct change to all customers at a lemonade stand where each lemonade costs $5.</description><pubDate>Tue, 21 May 2024 00:00:00 GMT</pubDate></item><item><title>Degree of an Array</title><link>https://portfolioandblog.netlify.app/projects/697-degree-of-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/697-degree-of-an-array/</guid><description>Find the smallest length of a contiguous subarray that has the same degree as the original array.</description><pubDate>Mon, 20 May 2024 00:00:00 GMT</pubDate></item><item><title>Sum of Root To Leaf Binary Numbers</title><link>https://portfolioandblog.netlify.app/projects/1022-sum-of-root-to-leaf-binary-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1022-sum-of-root-to-leaf-binary-numbers/</guid><description>Calculate the sum of all root-to-leaf binary numbers in a binary tree where nodes contain 0 or 1.</description><pubDate>Wed, 15 May 2024 00:00:00 GMT</pubDate></item><item><title>Convert Sorted Array to Binary Search Tree</title><link>https://portfolioandblog.netlify.app/projects/108-convert-sorted-array-to-binary-search-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/108-convert-sorted-array-to-binary-search-tree/</guid><description>Given an integer array nums where the elements are sorted in ascending order, convert it to a height-balanced binary search tree.</description><pubDate>Mon, 13 May 2024 00:00:00 GMT</pubDate></item><item><title>Sort Array by Increasing Frequency</title><link>https://portfolioandblog.netlify.app/projects/1636-sort-array-by-increasing-frequency/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1636-sort-array-by-increasing-frequency/</guid><description>Sort an array based on the frequency of values, with ties broken by decreasing value.</description><pubDate>Fri, 10 May 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Sum With Exactly K Elements</title><link>https://portfolioandblog.netlify.app/projects/2656-maximum-sum-with-exactly-k-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2656-maximum-sum-with-exactly-k-elements/</guid><description>Pick exactly K elements from an array, incrementing each by 1 after selection, to maximize the total sum.</description><pubDate>Thu, 09 May 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Absolute Difference Between Two Values</title><link>https://portfolioandblog.netlify.app/projects/3880-minimum-absolute-difference-between-two-values/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3880-minimum-absolute-difference-between-two-values/</guid><description>Find the minimum absolute difference between any two elements in an array where the distance between their indices is at least k.</description><pubDate>Thu, 09 May 2024 00:00:00 GMT</pubDate></item><item><title>Longest Harmonious Subsequence</title><link>https://portfolioandblog.netlify.app/projects/594-longest-harmonious-subsequence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/594-longest-harmonious-subsequence/</guid><description>Find the length of the longest harmonious subsequence where the difference between max and min is exactly 1.</description><pubDate>Wed, 08 May 2024 00:00:00 GMT</pubDate></item><item><title>Check if Matrix Is X-Matrix</title><link>https://portfolioandblog.netlify.app/projects/2319-check-if-matrix-is-x-matrix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2319-check-if-matrix-is-x-matrix/</guid><description>A square matrix is an X-Matrix if all diagonal elements are non-zero and all other elements are zero.</description><pubDate>Mon, 06 May 2024 00:00:00 GMT</pubDate></item><item><title>Calculate Amount Paid in Taxes</title><link>https://portfolioandblog.netlify.app/projects/2303-calculate-amount-paid-in-taxes/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2303-calculate-amount-paid-in-taxes/</guid><description>Calculate the total tax paid based on progressive tax brackets and a given income.</description><pubDate>Sat, 04 May 2024 00:00:00 GMT</pubDate></item><item><title>Make Array Elements Equal to Zero</title><link>https://portfolioandblog.netlify.app/projects/3354-make-array-elements-equal-to-zero/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3354-make-array-elements-equal-to-zero/</guid><description>You are given an integer array nums. In one operation, select i where nums[i] &amp;gt; 0, subtract 1 from nums[i] and all elements to its right. Return the minimum operations to make all elements zero.</description><pubDate>Fri, 03 May 2024 00:00:00 GMT</pubDate></item><item><title>Power of Four</title><link>https://portfolioandblog.netlify.app/projects/342-power-of-four/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/342-power-of-four/</guid><description>Given an integer n, return true if it is a power of four, otherwise return false.</description><pubDate>Fri, 03 May 2024 00:00:00 GMT</pubDate></item><item><title>N-ary Tree Preorder Traversal</title><link>https://portfolioandblog.netlify.app/projects/589-n-ary-tree-preorder-traversal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/589-n-ary-tree-preorder-traversal/</guid><description>Given the root of an n-ary tree, return the preorder traversal of its nodes&apos; values.</description><pubDate>Fri, 03 May 2024 00:00:00 GMT</pubDate></item><item><title>Find the K-th Character in String Game I</title><link>https://portfolioandblog.netlify.app/projects/3304-find-the-k-th-character-in-string-game-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3304-find-the-k-th-character-in-string-game-i/</guid><description>Alice generates a string by repeatedly replacing characters with themselves and the next alphabet letter. Find the k-th character.</description><pubDate>Wed, 01 May 2024 00:00:00 GMT</pubDate></item><item><title>Number of Senior Citizens</title><link>https://portfolioandblog.netlify.app/projects/2678-number-of-senior-citizens/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2678-number-of-senior-citizens/</guid><description>Count the number of senior citizens (age &amp;gt; 60) from a list of details strings where age is encoded at specific positions.</description><pubDate>Tue, 30 Apr 2024 00:00:00 GMT</pubDate></item><item><title>GCD of Odd and Even Sums</title><link>https://portfolioandblog.netlify.app/projects/3658-gcd-of-odd-and-even-sums/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3658-gcd-of-odd-and-even-sums/</guid><description>Calculate the GCD of sums of elements at odd and even indices in an array.</description><pubDate>Tue, 30 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Smallest Missing Multiple of K</title><link>https://portfolioandblog.netlify.app/projects/3718-smallest-missing-multiple-of-k/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3718-smallest-missing-multiple-of-k/</guid><description>Find the smallest positive multiple of k that is not present in the given array.</description><pubDate>Tue, 30 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Check if Array is Good</title><link>https://portfolioandblog.netlify.app/projects/2784-check-if-array-is-good/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2784-check-if-array-is-good/</guid><description>Determine if an array is a permutation of [1, 2, ..., n, n].</description><pubDate>Sun, 28 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Average of Smallest and Largest Elements</title><link>https://portfolioandblog.netlify.app/projects/3194-minimum-average-of-smallest-and-largest-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3194-minimum-average-of-smallest-and-largest-elements/</guid><description>Find the minimum average of pairs formed by repeatedly removing the smallest and largest elements from an array.</description><pubDate>Sun, 28 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Create Hello World Function</title><link>https://portfolioandblog.netlify.app/projects/2667-create-hello-world-function/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2667-create-hello-world-function/</guid><description>Write a function createHelloWorld that returns a new function which always returns &apos;Hello World&apos;.</description><pubDate>Fri, 26 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Cuts to Divide a Circle</title><link>https://portfolioandblog.netlify.app/projects/2481-minimum-cuts-to-divide-a-circle/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2481-minimum-cuts-to-divide-a-circle/</guid><description>Given a circle, find the minimum number of straight cuts needed to divide it into n equal pieces.</description><pubDate>Thu, 25 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Greatest Common Divisor of Strings</title><link>https://portfolioandblog.netlify.app/projects/1071-greatest-common-divisor-of-strings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1071-greatest-common-divisor-of-strings/</guid><description>Find the largest string that can be constructed by taking a substring of str1 and str2 multiple times.</description><pubDate>Wed, 24 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Final Prices With a Special Discount in a Shop</title><link>https://portfolioandblog.netlify.app/projects/1475-final-prices-with-a-special-discount-in-a-shop/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1475-final-prices-with-a-special-discount-in-a-shop/</guid><description>Given an array prices, for each item find the first subsequent item with a price &amp;lt;= current item to apply a discount, otherwise keep the price.</description><pubDate>Wed, 24 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Number of Pushes to Type Word I</title><link>https://portfolioandblog.netlify.app/projects/3014-minimum-number-of-pushes-to-type-word-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3014-minimum-number-of-pushes-to-type-word-i/</guid><description>Find the minimum number of pushes needed to type a word by optimally mapping letters to phone keypad keys.</description><pubDate>Tue, 23 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Counting Bits</title><link>https://portfolioandblog.netlify.app/projects/338-counting-bits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/338-counting-bits/</guid><description>Given an integer n, return an array ans of length n + 1 such that for each i (0 &amp;lt;= i &amp;lt;= n), ans[i] is the number of 1&apos;s in the binary representation of i.</description><pubDate>Mon, 22 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Rearrange Products Table</title><link>https://portfolioandblog.netlify.app/projects/1795-rearrange-products-table/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1795-rearrange-products-table/</guid><description>Transform a products table with store columns into rows of product-store pairs.</description><pubDate>Sun, 21 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Remove Digit From Number to Maximize Result</title><link>https://portfolioandblog.netlify.app/projects/2259-remove-digit-from-number-to-maximize-result/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2259-remove-digit-from-number-to-maximize-result/</guid><description>Remove one occurrence of a digit from a number to maximize the resulting value.</description><pubDate>Sun, 21 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Find Indices With Index and Value Difference I</title><link>https://portfolioandblog.netlify.app/projects/2903-find-indices-with-index-and-value-difference-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2903-find-indices-with-index-and-value-difference-i/</guid><description>Find indices i and j in an array such that the absolute difference of their indices is at least indexDifference and the absolute difference of their values is at least valueDifference.</description><pubDate>Sun, 21 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Game Play Analysis I</title><link>https://portfolioandblog.netlify.app/projects/511-game-play-analysis-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/511-game-play-analysis-i/</guid><description>Find the first login date for each player from the Activity table.</description><pubDate>Sun, 21 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Customers Who Never Order</title><link>https://portfolioandblog.netlify.app/projects/183-customers-who-never-order/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/183-customers-who-never-order/</guid><description>Find the names of customers who have never placed an order using SQL.</description><pubDate>Sat, 20 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Moves to Convert String</title><link>https://portfolioandblog.netlify.app/projects/2027-minimum-moves-to-convert-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2027-minimum-moves-to-convert-string/</guid><description>Find the minimum moves to convert all &apos;X&apos; characters to &apos;O&apos; by changing three consecutive characters at a time.</description><pubDate>Sat, 20 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Difference by Remapping a Digit</title><link>https://portfolioandblog.netlify.app/projects/2566-maximum-difference-by-remapping-a-digit/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2566-maximum-difference-by-remapping-a-digit/</guid><description>You are given an integer num. Remap one digit to maximize num1 and remap one digit to minimize num2. Return num1 - num2.</description><pubDate>Sat, 20 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Harshad Number</title><link>https://portfolioandblog.netlify.app/projects/3099-harshad-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3099-harshad-number/</guid><description>Check if a number is divisible by the sum of its digits and return the sum if true, otherwise -1.</description><pubDate>Fri, 19 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Positions of Large Groups</title><link>https://portfolioandblog.netlify.app/projects/830-positions-of-large-groups/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/830-positions-of-large-groups/</guid><description>Find start and end indices of groups of 3 or more consecutive identical characters in a string.</description><pubDate>Thu, 18 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Determine the Winner of a Bowling Game</title><link>https://portfolioandblog.netlify.app/projects/2660-determine-the-winner-of-a-bowling-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2660-determine-the-winner-of-a-bowling-game/</guid><description>Calculate scores for two players in a bowling game where knocking down 10 pins doubles the next two scores, then determine the winner.</description><pubDate>Wed, 17 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Power of Three</title><link>https://portfolioandblog.netlify.app/projects/326-power-of-three/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/326-power-of-three/</guid><description>Given an integer n, return true if it is a power of three. Otherwise, return false.</description><pubDate>Tue, 16 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Reverse String Prefix</title><link>https://portfolioandblog.netlify.app/projects/3794-reverse-string-prefix/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3794-reverse-string-prefix/</guid><description>Reverse the segment of the string starting from index 0 up to the first occurrence of a specific character.</description><pubDate>Mon, 15 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Valid Word</title><link>https://portfolioandblog.netlify.app/projects/3136-valid-word/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3136-valid-word/</guid><description>Determine if a word is valid based on length, character composition, and vowel/consonant requirements.</description><pubDate>Fri, 12 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Longest Uncommon Subsequence I</title><link>https://portfolioandblog.netlify.app/projects/521-longest-uncommon-subsequence-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/521-longest-uncommon-subsequence-i/</guid><description>Given two strings, find the length of the longest subsequence that is not common to both strings.</description><pubDate>Fri, 12 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Compute Alternating Sum</title><link>https://portfolioandblog.netlify.app/projects/3701-compute-alternating-sum/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3701-compute-alternating-sum/</guid><description>Calculate the alternating sum of an integer array where signs alternate between positive and negative starting with positive.</description><pubDate>Thu, 11 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Range Addition II</title><link>https://portfolioandblog.netlify.app/projects/598-range-addition-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/598-range-addition-ii/</guid><description>Given an m x n matrix and operations incrementing submatrices from (0,0), find the count of maximum integers.</description><pubDate>Thu, 11 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Find Numbers with Even Number of Digits</title><link>https://portfolioandblog.netlify.app/projects/1295-find-numbers-with-even-number-of-digits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1295-find-numbers-with-even-number-of-digits/</guid><description>Given an array of integers, return how many of them contain an even number of digits.</description><pubDate>Mon, 08 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Occurrences After Bigram</title><link>https://portfolioandblog.netlify.app/projects/1078-occurrences-after-bigram/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1078-occurrences-after-bigram/</guid><description>Find all words that occur immediately after a given bigram (two consecutive words) in a text.</description><pubDate>Sun, 07 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Value of a String in an Array</title><link>https://portfolioandblog.netlify.app/projects/2496-maximum-value-of-a-string-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2496-maximum-value-of-a-string-in-an-array/</guid><description>Find the maximum value in an array where numeric strings represent their integer value and non-numeric strings represent their length.</description><pubDate>Sun, 07 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Logger Rate Limiter</title><link>https://portfolioandblog.netlify.app/projects/359-logger-rate-limiter/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/359-logger-rate-limiter/</guid><description>Design a logger system that restricts printing the same message within a 10-second window.</description><pubDate>Fri, 05 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Long Pressed Name</title><link>https://portfolioandblog.netlify.app/projects/925-long-pressed-name/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/925-long-pressed-name/</guid><description>Determine if a typed string could be the result of long-pressing keys while typing a target name.</description><pubDate>Fri, 05 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Count Common Words With One Occurrence</title><link>https://portfolioandblog.netlify.app/projects/2085-count-common-words-with-one-occurrence/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2085-count-common-words-with-one-occurrence/</guid><description>Given two string arrays, return the count of strings that appear exactly once in each array.</description><pubDate>Wed, 03 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Permutation Difference between Two Strings</title><link>https://portfolioandblog.netlify.app/projects/3146-permutation-difference-between-two-strings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3146-permutation-difference-between-two-strings/</guid><description>Calculate the sum of absolute differences between indices of each character in two strings where one is a permutation of the other.</description><pubDate>Wed, 03 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Shift 2D Grid</title><link>https://portfolioandblog.netlify.app/projects/1260-shift-2d-grid/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1260-shift-2d-grid/</guid><description>Shift all elements of the 2D grid to the right by k steps, moving elements to the beginning of the grid when they reach the end.</description><pubDate>Tue, 02 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Remove Linked List Elements</title><link>https://portfolioandblog.netlify.app/projects/203-remove-linked-list-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/203-remove-linked-list-elements/</guid><description>Given the head of a linked list and an integer val, remove all nodes with Node.val == val and return the new head.</description><pubDate>Tue, 02 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Top Travellers</title><link>https://portfolioandblog.netlify.app/projects/1407-top-travellers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1407-top-travellers/</guid><description>Write a SQL query to report the distance travelled by each user, handling users with no rides.</description><pubDate>Mon, 01 Apr 2024 00:00:00 GMT</pubDate></item><item><title>Best Time to Buy and Sell Stock</title><link>https://portfolioandblog.netlify.app/projects/121-best-time-to-buy-and-sell-stock/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/121-best-time-to-buy-and-sell-stock/</guid><description>You are given an array prices where prices[i] is the price of a given stock on the ith day. You want to maximize your profit by choosing a single day to buy and a different day in the future to sell.</description><pubDate>Sat, 30 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Sum of Left Leaves</title><link>https://portfolioandblog.netlify.app/projects/404-sum-of-left-leaves/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/404-sum-of-left-leaves/</guid><description>Find the sum of all left leaves in a binary tree. A left leaf is a node that is a left child of its parent and has no children.</description><pubDate>Sat, 30 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Find Greatest Common Divisor of Array</title><link>https://portfolioandblog.netlify.app/projects/1979-find-greatest-common-divisor-of-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1979-find-greatest-common-divisor-of-array/</guid><description>Find the greatest common divisor of the smallest and largest numbers in an integer array.</description><pubDate>Fri, 29 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Valid Boomerang</title><link>https://portfolioandblog.netlify.app/projects/1037-valid-boomerang/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1037-valid-boomerang/</guid><description>Determine if three points are distinct and non-collinear to form a boomerang.</description><pubDate>Wed, 27 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Find if Digit Game Can Be Won</title><link>https://portfolioandblog.netlify.app/projects/3232-find-if-digit-game-can-be-won/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3232-find-if-digit-game-can-be-won/</guid><description>Determine the winner of a turn-based game where Alice picks from even indices and Bob from odd indices based on digit parity.</description><pubDate>Wed, 27 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Add to Array-Form of Integer</title><link>https://portfolioandblog.netlify.app/projects/989-add-to-array-form-of-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/989-add-to-array-form-of-integer/</guid><description>The array-form of an integer is an array representing its digits. Add an integer k to the array-form of an integer num.</description><pubDate>Mon, 25 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Button with Longest Push Time</title><link>https://portfolioandblog.netlify.app/projects/3386-button-with-longest-push-time/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3386-button-with-longest-push-time/</guid><description>Find the index of the button with the longest push duration in an array. Return the smallest index in case of a tie.</description><pubDate>Sun, 24 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Bank Account Summary II</title><link>https://portfolioandblog.netlify.app/projects/1587-bank-account-summary-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1587-bank-account-summary-ii/</guid><description>Report the name and balance of US users with a positive net balance.</description><pubDate>Fri, 22 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Fair Candy Swap</title><link>https://portfolioandblog.netlify.app/projects/888-fair-candy-swap/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/888-fair-candy-swap/</guid><description>Alice and Bob have different total candies. Exchange one candy box each so they have the same total amount.</description><pubDate>Fri, 22 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Remove All Adjacent Duplicates In String</title><link>https://portfolioandblog.netlify.app/projects/1047-remove-all-adjacent-duplicates-in-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1047-remove-all-adjacent-duplicates-in-string/</guid><description>Remove adjacent duplicates from a string repeatedly until no duplicates remain. Return the final string.</description><pubDate>Thu, 21 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Apply Operations to an Array</title><link>https://portfolioandblog.netlify.app/projects/2460-apply-operations-to-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2460-apply-operations-to-an-array/</guid><description>Apply operations to adjacent equal elements, then shift all zeros to the end of the array.</description><pubDate>Mon, 18 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Number of Equivalent Domino Pairs</title><link>https://portfolioandblog.netlify.app/projects/1128-number-of-equivalent-domino-pairs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1128-number-of-equivalent-domino-pairs/</guid><description>Given a list of dominoes, count the number of pairs (i, j) where i &amp;lt; j and dominoes[i] is equivalent to dominoes[j].</description><pubDate>Sun, 17 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Reverse Bits</title><link>https://portfolioandblog.netlify.app/projects/190-reverse-bits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/190-reverse-bits/</guid><description>Reverse bits of a given 32 bits unsigned integer.</description><pubDate>Sun, 17 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Check if Number Has Equal Digit Count and Digit Value</title><link>https://portfolioandblog.netlify.app/projects/2283-check-if-number-has-equal-digit-count-and-digit-value/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2283-check-if-number-has-equal-digit-count-and-digit-value/</guid><description>Determine if a string of digits is valid where the digit at index i equals the count of digit i in the string.</description><pubDate>Sun, 17 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Add Binary</title><link>https://portfolioandblog.netlify.app/projects/67-add-binary/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/67-add-binary/</guid><description>Given two binary strings a and b, return their sum as a binary string.</description><pubDate>Sun, 17 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Shortest Completing Word</title><link>https://portfolioandblog.netlify.app/projects/748-shortest-completing-word/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/748-shortest-completing-word/</guid><description>Find the shortest word from a list that contains all letters from a license plate.</description><pubDate>Thu, 14 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Plus One</title><link>https://portfolioandblog.netlify.app/projects/66-plus-one/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/66-plus-one/</guid><description>Increment the large integer represented as an integer array by one and return the resulting array of digits.</description><pubDate>Wed, 13 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Count Tested Devices After Test Operations</title><link>https://portfolioandblog.netlify.app/projects/2960-count-tested-devices-after-test-operations/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2960-count-tested-devices-after-test-operations/</guid><description>Count devices with positive battery after iteratively decrementing subsequent devices.</description><pubDate>Tue, 12 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Detect Pattern of Length M Repeated K or More Times</title><link>https://portfolioandblog.netlify.app/projects/1566-detect-pattern-of-length-m-repeated-k-or-more-times/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1566-detect-pattern-of-length-m-repeated-k-or-more-times/</guid><description>Check if an array contains a pattern of length M repeated K or more times consecutively.</description><pubDate>Mon, 11 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Deletions for At Most K Distinct Characters</title><link>https://portfolioandblog.netlify.app/projects/3545-minimum-deletions-for-at-most-k-distinct-characters/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3545-minimum-deletions-for-at-most-k-distinct-characters/</guid><description>Find the minimum number of deletions required to make a string contain at most K distinct characters.</description><pubDate>Mon, 11 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Sum Multiples</title><link>https://portfolioandblog.netlify.app/projects/2652-sum-multiples/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2652-sum-multiples/</guid><description>Given a positive integer n, return the sum of all numbers in the range [1, n] inclusive that are divisible by 3, 5, or 7.</description><pubDate>Fri, 08 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Number of Steps to Reduce a Number to Zero</title><link>https://portfolioandblog.netlify.app/projects/1342-number-of-steps-to-reduce-a-number-to-zero/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1342-number-of-steps-to-reduce-a-number-to-zero/</guid><description>Given an integer num, return the number of steps to reduce it to zero. If even, divide by 2; otherwise, subtract 1.</description><pubDate>Wed, 06 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Employees Whose Manager Left the Company</title><link>https://portfolioandblog.netlify.app/projects/1978-employees-whose-manager-left-the-company/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1978-employees-whose-manager-left-the-company/</guid><description>Find employees earning under $30k whose manager is no longer in the company records.</description><pubDate>Wed, 06 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Vowel-Consonant Score</title><link>https://portfolioandblog.netlify.app/projects/3813-vowel-consonant-score/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3813-vowel-consonant-score/</guid><description>Given a string s and integer k, find the maximum score of any substring of length k where vowels are worth 1 and consonants are worth 2.</description><pubDate>Sun, 03 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Cousins in Binary Tree</title><link>https://portfolioandblog.netlify.app/projects/993-cousins-in-binary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/993-cousins-in-binary-tree/</guid><description>Check if two nodes in a binary tree are cousins (same depth, different parents).</description><pubDate>Sun, 03 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Rename Columns</title><link>https://portfolioandblog.netlify.app/projects/2885-rename-columns/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2885-rename-columns/</guid><description>Rename DataFrame columns from snake_case to Title Case format</description><pubDate>Sat, 02 Mar 2024 00:00:00 GMT</pubDate></item><item><title>Split a String in Balanced Strings</title><link>https://portfolioandblog.netlify.app/projects/1221-split-a-string-in-balanced-strings/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1221-split-a-string-in-balanced-strings/</guid><description>Split a balanced string into the maximum number of balanced substrings using greedy counting.</description><pubDate>Fri, 01 Mar 2024 00:00:00 GMT</pubDate></item><item><title>X of a Kind in a Deck of Cards</title><link>https://portfolioandblog.netlify.app/projects/914-x-of-a-kind-in-a-deck-of-cards/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/914-x-of-a-kind-in-a-deck-of-cards/</guid><description>Check if a deck of cards can be partitioned into groups of equal size where each group consists of identical cards.</description><pubDate>Thu, 29 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Substring Matching Pattern</title><link>https://portfolioandblog.netlify.app/projects/3407-substring-matching-pattern/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3407-substring-matching-pattern/</guid><description>Given two strings s and p, return the index of the first occurrence of p in s, or -1 if p is not part of s.</description><pubDate>Wed, 28 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Matrix Cells in Distance Order</title><link>https://portfolioandblog.netlify.app/projects/1030-matrix-cells-in-distance-order/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1030-matrix-cells-in-distance-order/</guid><description>Return all matrix coordinates sorted by their Manhattan distance from a center cell.</description><pubDate>Mon, 26 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Find the Losers of the Circular Game</title><link>https://portfolioandblog.netlify.app/projects/2682-find-the-losers-of-the-circular-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2682-find-the-losers-of-the-circular-game/</guid><description>Identify friends who never receive the ball in a circular game where the ball is passed with increasing steps.</description><pubDate>Sun, 25 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Subarray With Equal Products</title><link>https://portfolioandblog.netlify.app/projects/3411-maximum-subarray-with-equal-products/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3411-maximum-subarray-with-equal-products/</guid><description>Find the maximum length of a subarray where the product of the first half equals the product of the second half.</description><pubDate>Sun, 25 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Count Monobit Integers</title><link>https://portfolioandblog.netlify.app/projects/3827-count-monobit-integers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3827-count-monobit-integers/</guid><description>Count integers in [0, n] whose binary representation consists of only 0s or only 1s.</description><pubDate>Sat, 24 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Check if Binary String Has at Most One Segment of Ones</title><link>https://portfolioandblog.netlify.app/projects/1784-check-if-binary-string-has-at-most-one-segment-of-ones/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1784-check-if-binary-string-has-at-most-one-segment-of-ones/</guid><description>Given a binary string s, return true if it contains at most one contiguous segment of &apos;1&apos;s.</description><pubDate>Thu, 22 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Finding 3-Digit Even Numbers</title><link>https://portfolioandblog.netlify.app/projects/2094-finding-3-digit-even-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2094-finding-3-digit-even-numbers/</guid><description>Given an array of digits, return all unique 3-digit even numbers that can be formed using each digit at most once.</description><pubDate>Thu, 22 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Cost to Move Chips to The Same Position</title><link>https://portfolioandblog.netlify.app/projects/1217-minimum-cost-to-move-chips-to-the-same-position/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1217-minimum-cost-to-move-chips-to-the-same-position/</guid><description>Find minimum cost to move all chips to the same position where moving 2 positions costs 0 and moving 1 position costs 1.</description><pubDate>Wed, 21 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Mean of Array After Removing Some Elements</title><link>https://portfolioandblog.netlify.app/projects/1619-mean-of-array-after-removing-some-elements/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1619-mean-of-array-after-removing-some-elements/</guid><description>Given an integer array, remove the smallest 5% and largest 5% of elements and return the average of the remaining elements.</description><pubDate>Wed, 21 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Kth Largest Element in a Stream</title><link>https://portfolioandblog.netlify.app/projects/703-kth-largest-element-in-a-stream/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/703-kth-largest-element-in-a-stream/</guid><description>Design a class to find the kth largest element in a stream of numbers using a min-heap or sorting.</description><pubDate>Wed, 21 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Sort Array By Parity II</title><link>https://portfolioandblog.netlify.app/projects/922-sort-array-by-parity-ii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/922-sort-array-by-parity-ii/</guid><description>Given an array of integers where half are even and half are odd, sort the array so that every even index contains an even number and every odd index contains an odd number.</description><pubDate>Wed, 21 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Create Target Array in the Given Order</title><link>https://portfolioandblog.netlify.app/projects/1389-create-target-array-in-the-given-order/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1389-create-target-array-in-the-given-order/</guid><description>Given two arrays, create a target array by inserting elements at specified indices.</description><pubDate>Mon, 19 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Clear Digits</title><link>https://portfolioandblog.netlify.app/projects/3174-clear-digits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3174-clear-digits/</guid><description>Remove digits and their immediate left non-digit neighbors from a string until no digits remain.</description><pubDate>Mon, 19 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Count Subarrays of Length Three With a Condition</title><link>https://portfolioandblog.netlify.app/projects/3392-count-subarrays-of-length-three-with-a-condition/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3392-count-subarrays-of-length-three-with-a-condition/</guid><description>Count subarrays of length 3 where the middle element is strictly greater than its neighbors.</description><pubDate>Mon, 19 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Height Checker</title><link>https://portfolioandblog.netlify.app/projects/1051-height-checker/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1051-height-checker/</guid><description>Count how many students are not standing in the correct position when arranged by height in non-decreasing order.</description><pubDate>Sun, 18 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Remove Palindromic Subsequences</title><link>https://portfolioandblog.netlify.app/projects/1332-remove-palindromic-subsequences/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1332-remove-palindromic-subsequences/</guid><description>Given a string s consisting only of letters &apos;a&apos; and &apos;b&apos;, return the minimum number of steps to make the string empty.</description><pubDate>Sun, 18 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Increasing Order Search Tree</title><link>https://portfolioandblog.netlify.app/projects/897-increasing-order-search-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/897-increasing-order-search-tree/</guid><description>Rearrange a binary search tree into a right-skewed tree with increasing order values.</description><pubDate>Sun, 18 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Find the Longest Balanced Substring of a Binary String</title><link>https://portfolioandblog.netlify.app/projects/2609-find-the-longest-balanced-substring-of-a-binary-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2609-find-the-longest-balanced-substring-of-a-binary-string/</guid><description>Find the longest substring of a binary string where zeros and ones are grouped together and equal in number.</description><pubDate>Wed, 14 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Special Array I</title><link>https://portfolioandblog.netlify.app/projects/3151-special-array-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3151-special-array-i/</guid><description>Determine if an array is special by checking if every pair of adjacent elements has different parity.</description><pubDate>Wed, 14 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Find the Original Typed String I</title><link>https://portfolioandblog.netlify.app/projects/3330-find-the-original-typed-string-i/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3330-find-the-original-typed-string-i/</guid><description>Determine if a typed string is a valid expansion of a target string with repeated characters, returning the total key presses or 0.</description><pubDate>Wed, 14 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Convert a Number to Hexadecimal</title><link>https://portfolioandblog.netlify.app/projects/405-convert-a-number-to-hexadecimal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/405-convert-a-number-to-hexadecimal/</guid><description>Given an integer, return its hexadecimal string representation using two&apos;s complement for negatives.</description><pubDate>Wed, 14 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Check if Every Row and Column Contains All Numbers</title><link>https://portfolioandblog.netlify.app/projects/2133-check-if-every-row-and-column-contains-all-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2133-check-if-every-row-and-column-contains-all-numbers/</guid><description>Determine if an n x n matrix is a valid Latin square where every row and column contains all numbers from 1 to n.</description><pubDate>Mon, 12 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Reformat Date</title><link>https://portfolioandblog.netlify.app/projects/1507-reformat-date/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1507-reformat-date/</guid><description>Convert a date from &apos;Day Month Year&apos; format to &apos;YYYY-MM-DD&apos; format.</description><pubDate>Sun, 11 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Two Furthest Houses With Different Colors</title><link>https://portfolioandblog.netlify.app/projects/2078-two-furthest-houses-with-different-colors/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2078-two-furthest-houses-with-different-colors/</guid><description>Find the maximum distance between two houses with different colors in a street represented by an array.</description><pubDate>Sun, 11 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Design Neighbor Sum Service</title><link>https://portfolioandblog.netlify.app/projects/3242-design-neighbor-sum-service/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3242-design-neighbor-sum-service/</guid><description>Design a service to calculate adjacent and diagonal neighbor sums for values in an n x n grid.</description><pubDate>Sun, 11 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Self Dividing Numbers</title><link>https://portfolioandblog.netlify.app/projects/728-self-dividing-numbers/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/728-self-dividing-numbers/</guid><description>A self-dividing number is divisible by every digit it contains. Return all self-dividing numbers in the range [left, right].</description><pubDate>Sun, 11 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Number of Unequal Triplets in Array</title><link>https://portfolioandblog.netlify.app/projects/2475-number-of-unequal-triplets-in-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2475-number-of-unequal-triplets-in-array/</guid><description>Count the number of index triplets (i, j, k) where i &amp;lt; j &amp;lt; k and all three corresponding values are distinct.</description><pubDate>Fri, 09 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Left and Right Sum Differences</title><link>https://portfolioandblog.netlify.app/projects/2574-left-and-right-sum-differences/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2574-left-and-right-sum-differences/</guid><description>Given an integer array nums, return the difference array where each element is the absolute difference between the sum of elements to its left and the sum of elements to its right.</description><pubDate>Fri, 09 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Number Game</title><link>https://portfolioandblog.netlify.app/projects/2974-minimum-number-game/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2974-minimum-number-game/</guid><description>You are given an array of even length. Alice and Bob take turns removing the smallest remaining numbers, swapping them, and appending them to a result array. Return the resulting array.</description><pubDate>Wed, 07 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Valid Perfect Square</title><link>https://portfolioandblog.netlify.app/projects/367-valid-perfect-square/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/367-valid-perfect-square/</guid><description>Given a positive integer num, return true if num is a perfect square or false otherwise.</description><pubDate>Mon, 05 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Number of Balls in a Box</title><link>https://portfolioandblog.netlify.app/projects/1742-maximum-number-of-balls-in-a-box/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1742-maximum-number-of-balls-in-a-box/</guid><description>Count balls in boxes based on digit sum of ball numbers and find the box with maximum balls.</description><pubDate>Sun, 04 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Determine Whether Matrix Can Be Obtained By Rotation</title><link>https://portfolioandblog.netlify.app/projects/1886-determine-whether-matrix-can-be-obtained-by-rotation/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1886-determine-whether-matrix-can-be-obtained-by-rotation/</guid><description>Check if one n x n matrix can be transformed into another by rotating it 90 degrees clockwise any number of times.</description><pubDate>Sun, 04 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Range Sum Query - Immutable</title><link>https://portfolioandblog.netlify.app/projects/303-range-sum-query-immutable/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/303-range-sum-query-immutable/</guid><description>Design a class to efficiently calculate the sum of elements between two indices in an immutable array.</description><pubDate>Fri, 02 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Largest Triangle Area</title><link>https://portfolioandblog.netlify.app/projects/812-largest-triangle-area/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/812-largest-triangle-area/</guid><description>Given a set of points on a 2D plane, find the maximum area of a triangle that can be formed from any three points.</description><pubDate>Fri, 02 Feb 2024 00:00:00 GMT</pubDate></item><item><title>Display the First Three Rows</title><link>https://portfolioandblog.netlify.app/projects/2879-display-the-first-three-rows/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2879-display-the-first-three-rows/</guid><description>Write a solution to display the first three rows of a DataFrame.</description><pubDate>Mon, 29 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Reverse Words in a String III</title><link>https://portfolioandblog.netlify.app/projects/557-reverse-words-in-a-string-iii/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/557-reverse-words-in-a-string-iii/</guid><description>Given a string s, reverse the order of characters in each word within a sentence while still preserving whitespace and initial word order.</description><pubDate>Fri, 26 Jan 2024 00:00:00 GMT</pubDate></item><item><title>N-ary Tree Postorder Traversal</title><link>https://portfolioandblog.netlify.app/projects/590-n-ary-tree-postorder-traversal/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/590-n-ary-tree-postorder-traversal/</guid><description>Given the root of an n-ary tree, return the postorder traversal of its nodes&apos; values.</description><pubDate>Fri, 26 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Power of Two</title><link>https://portfolioandblog.netlify.app/projects/231-power-of-two/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/231-power-of-two/</guid><description>Given an integer n, return true if it is a power of two. Otherwise return false.</description><pubDate>Tue, 23 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Invalid Tweets</title><link>https://portfolioandblog.netlify.app/projects/1683-invalid-tweets/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1683-invalid-tweets/</guid><description>Find the IDs of tweets where the content length exceeds 15 characters.</description><pubDate>Mon, 22 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Find Books with No Available Copies</title><link>https://portfolioandblog.netlify.app/projects/3570-find-books-with-no-available-copies/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3570-find-books-with-no-available-copies/</guid><description>Identify books in a library system that currently have zero copies available for borrowing.</description><pubDate>Mon, 22 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Split the Array</title><link>https://portfolioandblog.netlify.app/projects/3046-split-the-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3046-split-the-array/</guid><description>Check if an array can be split into two parts where no element appears more than once in either part.</description><pubDate>Sun, 21 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Kth Missing Positive Number</title><link>https://portfolioandblog.netlify.app/projects/1539-kth-missing-positive-number/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1539-kth-missing-positive-number/</guid><description>Given an array arr of positive integers sorted in strictly increasing order, and an integer k, return the kth positive integer that is missing from this array.</description><pubDate>Thu, 18 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Latest Time by Replacing Hidden Digits</title><link>https://portfolioandblog.netlify.app/projects/1736-latest-time-by-replacing-hidden-digits/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1736-latest-time-by-replacing-hidden-digits/</guid><description>Given a time string with hidden digits, find the latest valid time by replacing the hidden digits.</description><pubDate>Thu, 18 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Count Partitions with Even Sum Difference</title><link>https://portfolioandblog.netlify.app/projects/3432-count-partitions-with-even-sum-difference/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3432-count-partitions-with-even-sum-difference/</guid><description>Count the number of ways to partition an array into two non-empty contiguous parts such that the absolute difference of their sums is even.</description><pubDate>Wed, 17 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Convert Date to Binary</title><link>https://portfolioandblog.netlify.app/projects/3280-convert-date-to-binary/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3280-convert-date-to-binary/</guid><description>Convert a date string from decimal format to binary format by converting year, month, and day separately.</description><pubDate>Tue, 16 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Maximum Depth of N-ary Tree</title><link>https://portfolioandblog.netlify.app/projects/559-maximum-depth-of-n-ary-tree/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/559-maximum-depth-of-n-ary-tree/</guid><description>Given a n-ary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.</description><pubDate>Tue, 16 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Replace Employee ID With The Unique Identifier</title><link>https://portfolioandblog.netlify.app/projects/1378-replace-employee-id-with-the-unique-identifier/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1378-replace-employee-id-with-the-unique-identifier/</guid><description>Write a SQL query to show the unique_id of each employee along with their name, displaying null if no unique_id exists.</description><pubDate>Sun, 14 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Detect Capital</title><link>https://portfolioandblog.netlify.app/projects/520-detect-capital/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/520-detect-capital/</guid><description>Determine if a word uses capital letters correctly: all uppercase, all lowercase, or only the first letter uppercase.</description><pubDate>Sun, 14 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Generate a String With Characters That Have Odd Counts</title><link>https://portfolioandblog.netlify.app/projects/1374-generate-a-string-with-characters-that-have-odd-counts/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1374-generate-a-string-with-characters-that-have-odd-counts/</guid><description>Given an integer n, return a string of length n with all lowercase English letters such that each character appears an odd number of times.</description><pubDate>Sat, 13 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Delete Greatest Value in Each Row</title><link>https://portfolioandblog.netlify.app/projects/2500-delete-greatest-value-in-each-row/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2500-delete-greatest-value-in-each-row/</guid><description>Delete the greatest value from each row in each operation, add the max of deleted values to answer, repeat until grid is empty.</description><pubDate>Sat, 13 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Delete Columns to Make Sorted</title><link>https://portfolioandblog.netlify.app/projects/944-delete-columns-to-make-sorted/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/944-delete-columns-to-make-sorted/</guid><description>You are given an array of strings of the same length. Determine the number of columns that are not sorted lexicographically.</description><pubDate>Sat, 13 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Calculate Money in Leetcode Bank</title><link>https://portfolioandblog.netlify.app/projects/1716-calculate-money-in-leetcode-bank/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1716-calculate-money-in-leetcode-bank/</guid><description>Calculate total money saved after n days with increasing daily deposits that reset weekly.</description><pubDate>Wed, 10 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Check if All A&apos;s Appears Before All B&apos;s</title><link>https://portfolioandblog.netlify.app/projects/2124-check-if-all-as-appears-before-all-bs/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2124-check-if-all-as-appears-before-all-bs/</guid><description>Given a string s consisting of only characters &apos;a&apos; and &apos;b&apos;, return true if every &apos;a&apos; appears before every &apos;b&apos;.</description><pubDate>Wed, 10 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Minimize String Length</title><link>https://portfolioandblog.netlify.app/projects/2716-minimize-string-length/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2716-minimize-string-length/</guid><description>Given a string s, return the minimum possible length after deleting characters that appear more than once.</description><pubDate>Fri, 05 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Verifying an Alien Dictionary</title><link>https://portfolioandblog.netlify.app/projects/953-verifying-an-alien-dictionary/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/953-verifying-an-alien-dictionary/</guid><description>Determine if words are sorted according to a custom alien alphabet order.</description><pubDate>Fri, 05 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Bitwise OR of Even Numbers in an Array</title><link>https://portfolioandblog.netlify.app/projects/3688-bitwise-or-of-even-numbers-in-an-array/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3688-bitwise-or-of-even-numbers-in-an-array/</guid><description>Calculate the bitwise OR of all even numbers present in the given integer array.</description><pubDate>Wed, 03 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Minimum Time to Type Word Using Special Typewriter</title><link>https://portfolioandblog.netlify.app/projects/1974-minimum-time-to-type-word-using-special-typewriter/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/1974-minimum-time-to-type-word-using-special-typewriter/</guid><description>Calculate the minimum time to type a word on a circular typewriter where moving the pointer and typing each take 1 second.</description><pubDate>Tue, 02 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Find the Pivot Integer</title><link>https://portfolioandblog.netlify.app/projects/2485-find-the-pivot-integer/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/2485-find-the-pivot-integer/</guid><description>Find the integer x where sum of 1 to x equals sum of x to n, or return -1.</description><pubDate>Mon, 01 Jan 2024 00:00:00 GMT</pubDate></item><item><title>Reverse Letters Then Special Characters in a String</title><link>https://portfolioandblog.netlify.app/projects/3823-reverse-letters-then-special-characters-in-a-string/</link><guid isPermaLink="true">https://portfolioandblog.netlify.app/projects/3823-reverse-letters-then-special-characters-in-a-string/</guid><description>Reverse only the letters in a string while keeping special characters in their original positions.</description><pubDate>Mon, 01 Jan 2024 00:00:00 GMT</pubDate></item></channel></rss>