Code Explanations

This is my code explanation page where I explain my thought process when solving coding problems.

Leetcode Daily Question 03/11/2024 - 796. Rotate String

Leetcode Daily Question 02/11/2024 - 2490. Circular Sentence

Leetcode Daily Question 01/11/2024 - 1957. Delete Characters to Make Fancy String

Leetcode Daily Question 31/10/2024 - 2463. Minimum Total Distance Traveled

Leetcode Daily Question 30/10/2024 - 1671. Minimum Number of Removals to Make Mountain Array

Leetcode Daily Question 29/10/2024 - 2684. Maximum Number of Moves in a Grid

Leetcode Daily Question 28/10/2024 - 2501. Longest Square Streak in an Array

Leetcode Daily Question 27/10/2024 - 1277. Count Square Submatrices with All Ones

Leetcode Daily Question 26/10/2024 - 2458. Height of Binary Tree After Subtree Removal Queries

Leetcode Daily Question 25/10/2024 - 1233. Remove Sub-Folders from the Filesystem

Leetcode Daily Question 24/10/2024 - 951. Flip Equivalent Binary Trees

Leetcode Daily Question 23/10/2024 - 2641. Cousins in Binary Tree II

Leetcode Daily Question 22/10/2024 - 2583. Kth Largest Sum in a Binary Tree

Leetcode Daily Question 21/10/2024 - 1593. Split a String Into the Max Number of Unique Substrings

Leetcode Daily Question 20/10/2024 - Code Testcase Test Result Test Result 1106. Parsing A Boolean Expression

Leetcode Daily Question 19/10/2024 - 1545. Find Kth Bit in Nth Binary String

Leetcode Daily Question 18/10/2024 - 2044. Count Number of Maximum Bitwise-OR Subsets

Leetcode Daily Question 17/10/2024 - 670. Maximum Swap

Leetcode Daily Question 16/10/2024 - 1405. Longest Happy String

Leetcode Daily Question 15/10/2024 - 2938. Separate Black and White Balls

Leetcode Daily Question 14/10/2024 - 2530. Maximal Score After Applying K Operations

Leetcode Daily Question 13/10/2024 - 632. Smallest Range Covering Elements from K Lists

Leetcode Daily Question 12/10/2024 - 2406. Divide Intervals Into Minimum Number of Groups

Leetcode Daily Question 11/10/2024 - 1942. The Number of the Smallest Unoccupied Chair

Leetcode Daily Question 10/10/2024 - 962. Maximum Width Ramp

Leetcode Daily Question 09/10/2024 - 921. Minimum Add to Make Parentheses Valid

Leetcode Daily Question 08/10/2024 - 1963. Minimum Number of Swaps to Make the String Balanced

Leetcode Daily Question 07/10/2024 - 2696. Minimum String Length After Removing Substrings

Leetcode Daily Question 06/10/2024 - 1813. Sentence Similarity III

Leetcode Daily Question 05/10/2024 - 567. Permutation in String

Leetcode Daily Question 04/10/2024 - 2491. Divide Players Into Teams of Equal Skill

Leetcode Daily Question 03/10/2024 - 1590. Make Sum Divisible by P

Leetcode Daily Question 02/10/2024 - 1331. Rank Transform of an Array

Leetcode Daily Question 01/10/2024 - 1497. Check If Array Pairs Are Divisible by k

Leetcode Daily Question 30/09/2024 - 1381. Design a Stack With Increment Operation

Leetcode Daily Question 29/09/2024 - 432. All O`one Data Structure

Leetcode Daily Question 28/09/2024 - 641. Design Circular Deque

Leetcode Daily Question 27/09/2024 - 731. My Calendar II

Leetcode Daily Question 26/09/2024 - 729. My Calendar I

Leetcode Daily Question 25/09/2024 - 2416. Sum of Prefix Scores of Strings

Leetcode Daily Question 24/09/2024 - 3043. Find the Length of the Longest Common Prefix

Leetcode Daily Question 23/09/2024 - 2707. Extra Characters in a String

Leetcode Daily Question 22/09/2024 - 440. K-th Smallest in Lexicographical Order

Leetcode Daily Question 21/09/2024 - 386. Lexicographical Numbers

Leetcode Daily Question 20/09/2024 - 214. Shortest Palindrome

Leetcode Daily Question 19/09/2024 - 241. Different Ways to Add Parentheses

Leetcode Daily Question 18/09/2024 - 179. Largest Number

Daily Leetcode Question 17/09/2024 - 884. Uncommon Words from Two Sentences

Leetcode Daily Question 16/09/2024 - 539. Minimum Time Difference

Leetcode Daily Question 15/09/2024 - 1371. Find the Longest Substring Containing Vowels in Even Counts

Leetcode Daily Question 14/09/2024 - 2419. Longest Subarray With Maximum Bitwise AND

Leetcode Daily Question 13/09/2024 - 1310. XOR Queries of a Subarray

Leetcode Daily Question 12/09/2024 - 1684. Count the Number of Consistent Strings

Daily Leetcode Question 11/09/2024 - 2220. Minimum Bit Flips to Convert Number

Leetcode Daily Question 10/09/2024 - 2807. Insert Greatest Common Divisors in Linked List

Leetcode Daily Question 09/09/2024 - 2326. Spiral Matrix IV

Leetcode Daily Question 08/09/2024 - 725. Split Linked List in Parts

Leetcode Daily Question 07/09/2024 - 1367. Linked List in Binary Tree

Leetcode Daily Question 06/09/2024 - 3217. Delete Nodes From Linked List Present in Array

Leetcode Daily Question 05/09/2024 - 2028. Find Missing Observations

Leetcode Daily Question 04/09/2024 - 874. Walking Robot Simulation

Leetcode Daily Question 03/09/2024 - 1945. Sum of Digits of String After Convert

Leetcode Daily Question 02/09/2024 - 1894. Find the Student that Will Replace the Chalk

Leetcode Daily Question 01/09/2024 - 2022. Convert 1D Array Into 2D Array

Leetcode Daily Question 31/08/2024 - 1514. Path with Maximum Probability

Leetcode Daily Question 30/08/2024 - 2699. Modify Graph Edge Weights

Leetcode Daily Question 29/08/2024 - 947. Most Stones Removed with Same Row or Column

Leetcode Daily Question 28/08/2024 - 1905. Count Sub Islands

Leetcode Daily Question 27/08/2024 - 1514. Path with Maximum Probability

Leetcode Daily Question 26/08/2024 - 590. N-ary Tree Postorder Traversal

Leetcode Daily Question 25/08/2024 - 145. Binary Tree Postorder Traversal

Leetcode Daily Question 24/08/2024 - 564. Closest Palindrome

Leetcode Daily Question 23/08/2024 - 592. Fraction Addition and Subtraction

Leetcode Daily Question 22/08/2024 - 476. Number Complement

Leetcode Daily Question 21/08/2024 - 664. Strange Printer

Leetcode Daily Question 20/08/2024 - 1140. Stone Game II

Daily Leetcode Question 19/08/2024 - 650. 2 Keys Keyboard

Leetcode Daily Question 18/08/2024 - 264. Ugly Number II

Leetcode Daily Question 17/08/2024 - 1937. Maximum Number of Points with Cost

LeetCode Daily Question 16/08/2024 - 624. Maximum Distance in Arrays

LeetCode Daily Question 15/08/2024 - 860 Lemonade Change

Leetcode Daily Question 14/08/2024 - 719. Find K-th Smallest Pair Distance

Leetcode Daily Question 13/08/2024 - 40. Combination Sum II

Leetcode Daily Question 12/08/2024 - 703. Kth Largest Element in a Stream

LeetCode Daily Question 11/08/2024 - 1568. Minimum Number of Days to Disconnect Island

LeetCode Daily Question 10/08/2024 - Regions Cut By Slashes