LeetSolve - Level Up Your Coding Skills
Archives
Search...
Subscribe
Leetcode 509. How To Compute Fibonacci Number F(n)
October 20, 2023
Problem statement The Fibonacci numbers make up a sequence denoted as F(n), known as the Fibonacci sequence. Each number in this sequence is the sum of the...
Leetcode 922. How To Arrange An Array In Parity
October 20, 2023
Sort given array by parity with different solutions: Bubble Sort and Two Pointer approach.
Leetcode 929. How To Uniquify Email Addresses
October 19, 2023
Problem statement Each valid email address is composed of a local name and a domain name, separated by the '@' sign. The local name may contain lowercase...
Leetcode 78. How To Generate All Possible Subsets of a Given Integer Set
October 18, 2023
Problem Statement Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate...
Leetcode 1710. How To Put As Many Things As You Can On a Truck
October 18, 2023
Maximize units loaded onto the truck by prioritizing boxes with more units.
Leetcode 80. How To Remove Duplicates From a Sorted Array
October 17, 2023
Removing duplicates from a sorted array in-place, keeping each unique element at most twice.
Leetcode 21. How To Merge Two Sorted Linked Lists
October 16, 2023
Merge two sorted linked lists into a single sorted linked list efficiently using C++.
Leetcode 1260. How To Shift Elements of a Matrix
October 16, 2023
Perform k shift operations on a 2D grid to return the updated grid.
Leetcode 48. How to Rotate a Square Matrix
October 16, 2023
Rotate a square matrix 90 degrees clockwise in two steps: transpose and mirror vertically in place.
Newer archives