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
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
Given an integer array nums return the maximum difference between two successive elements in its sorted form.
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.
Write a program to solve a Sudoku puzzle by filling in the empty cells.
Design a data structure and algorithm to implement an LRU caching strategy.
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.
Find the Kth Largest element in an Array using C++, Golang, and JavaScript.
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.
Given a string consisting of opening and closing parentheses, find the length of the longest valid parentheses in it using C++, Golang, and JavaScript.
Merge k sorted linked lists into a single list using C++, Golang, and JavaScript.
LeetCode - return the minimum number of operations required to convert word1 to word2 using C++, Golang, and JavaScript.
LeetCode - return the prefix common array of A and B using C++, Golang, and JavaScript.
LeetCode - return the quotient after dividing dividend by divisor using C++, Golang, and JavaScript.
LeetCode - return the list after sorting it in ascending order using C++, Golang, and JavaScript.
LeetCode - return the bitwise AND of all numbers in this range, inclusive using C++, Golang, and JavaScript.
LeetCode - construct and return the binary tree from preorder and inorder traversal using C++, Golang, and JavaScript.
LeetCode - return the nth term of the count-and-say sequence using C++, Golang, and JavaScript.
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.
LeetCode - return true if a string is a valid number using C++, Golang, and JavaScript.
LeetCode - return the smallest missing positive integer using C++, Golang, and JavaScript.