# All Blogs

June 29, 2023

### Max Sum of Rectangle No Larger Than K

Given a non-empty 2D matrix and an integer k find the max sum of a rectangle in the matrix such that its sum is no larger than k

June 25, 2023

### Maximum Gap

Given an integer array nums return the maximum difference between two successive elements in its sorted form.

June 22, 2023

Given the head of a singly linked list, group all the nodes with odd indices together, followed by the nodes with even indices and return the reordered list.

June 15, 2023

### Sudoku Solver

Write a program to solve a Sudoku puzzle by filling in the empty cells.

June 11, 2023

### Implement LRU Cache

Design a data structure and algorithm to implement an LRU caching strategy.

June 8, 2023

### Insert Interval

You are given an array of non-overlapping intervals where intervals[i] = [starti, endi] represent the start, and the end of the ith interval and intervals is sorted in ascending order by starti. Insert a new interval into intervals.

June 4, 2023

### Kth Largest Element in an Array

Find the Kth Largest element in an Array using C++, Golang, and JavaScript.

June 1, 2023

Given are the two distinct words beginWord and endWord, and a list denoting wordList of unique words of equal lengths. Find the length of the shortest transformation sequence from beginWord to endWord using C++, Golang, and JavaScript.

May 28, 2023

### Longest Valid Parentheses - LeetCode

Given a string consisting of opening and closing parentheses, find the length of the longest valid parentheses in it using C++, Golang, and JavaScript.

May 21, 2023

### Merge k Sorted Lists - LeetCode

Merge k sorted linked lists into a single list using C++, Golang, and JavaScript.

May 14, 2023

### LeetCode - Edit Distance

LeetCode - return the minimum number of operations required to convert word1 to word2 using C++, Golang, and JavaScript.

April 30, 2023

### LeetCode - Find the Prefix Common Array of Two Arrays

LeetCode - return the prefix common array of A and B using C++, Golang, and JavaScript.

April 23, 2023

### LeetCode - Divide Two Integers

LeetCode - return the quotient after dividing dividend by divisor using C++, Golang, and JavaScript.

April 20, 2023

### LeetCode - Sort list

LeetCode - return the list after sorting it in ascending order using C++, Golang, and JavaScript.

April 15, 2023

### LeetCode - Bitwise AND of Numbers Range

LeetCode - return the bitwise AND of all numbers in this range, inclusive using C++, Golang, and JavaScript.

April 8, 2023

### LeetCode - Construct Binary Tree from Preorder and Inorder Traversal

LeetCode - construct and return the binary tree from preorder and inorder traversal using C++, Golang, and JavaScript.

April 6, 2023

### LeetCode - Count and Say

LeetCode - return the nth term of the count-and-say sequence using C++, Golang, and JavaScript.

April 1, 2023

### LeetCode - Count of Smaller Numbers After Self

LeetCode - return an integer array counts where counts[i] is the number of smaller elements to the right of nums[i] using C++, Golang, and JavaScript.

March 30, 2023

### LeetCode - Valid Number

LeetCode - return true if a string is a valid number using C++, Golang, and JavaScript.

March 25, 2023

### LeetCode - First Missing Positive

LeetCode - return the smallest missing positive integer using C++, Golang, and JavaScript.

Showing1of7