Alkesh

All blogs

August 7, 2022

LeetCode - Combination Sum II

LeetCode - return a list of all unique combinations of candidates where the chosen numbers sum to the target using C++, Golang, and Javascript.

July 31, 2022

LeetCode - Combination Sum

LeetCode - return a list of all unique combinations of candidates where the chosen numbers sum to the target using C++, Golang, and Javascript.

May 1, 2022

LeetCode - Combinations

LeetCode - return all possible combinations of k numbers out of the range [1, n] using C++, Golang, and Javascript.

February 20, 2022

LeetCode - Single Number II

LeetCode - Find the number that appears only once in an array using C++, Golang, and Javascript.

February 12, 2022

LeetCode - Single Number

LeetCode - Find the number which appears only one time in an array using C++, Golang and Javascript.

February 6, 2022

LeetCode - Maximum Product Subarray

LeetCode - find a contiguous non-empty subarray within the array that has the largest product using C++, Golang and Javascript.

February 5, 2022

LeetCode - Contiguous Array

LeetCode - return the maximum length of a contiguous subarray with an equal number of 0 and 1 using C++, Golang and Javascript.

February 3, 2022

LeetCode - Triangle

LeetCode - return the minimum path sum from top to bottom using C++, Golang and Javascript.

January 30, 2022

LeetCode - Subsets II

LeetCode - return all possible subsets (the power set) of array with duplicates using C++, Golang and Javascript.

January 27, 2022

LeetCode - Rotate List

LeetCode - rotate the list to the right by k places using C++, Golang and Javascript.

January 23, 2022

LeetCode - Spiral Matrix II

LeetCode - generate an n x n matrix filled with elements from 1 to n2 in spiral order using C++, Golang and Javascript.

January 20, 2022

LeetCode - Find Peak Element

LeetCode - find element in array which is greater than it's neighbors using C++, Golang and Javascript.

January 16, 2022

LeetCode - Spiral Matrix

LeetCode - for a given matrix m * n return all elements of the matrix in spiral order using C++, Golang and Javascript.

January 15, 2022

LeetCode - Multiply Strings

LeetCode - multiply two non-negative integers represented as strings using C++, Golang and Javascript.

January 13, 2022

LeetCode - Merge Intervals

LeetCode - merge all overlapping intervals and return an array of non-overlapping intervals using C++, Golang and Javascript.

January 9, 2022

LeetCode - Valid Sudoku

LeetCode - determine if 9 x 9 Sudoku board is valid or not using C++, Golang and Javascript.

January 2, 2022

LeetCode - House Robber

LeetCode - return the maximum amount of money you can rob tonight using C++, Golang and Javascript.

December 26, 2021

LeetCode - Largest Number

LeetCode - arrange numbers of array to form largest number using C++, Golang and Javascript.

December 16, 2021

LeetCode - Count Primes

LeetCode - return number of primes strictly less than n using C++, Golang and Javascript.

December 12, 2021

LeetCode - Gas Station

LeetCode - check if we can complete gas station circuit using C++, Golang and Javascript.

November 14, 2021

LeetCode - Symmetric tree

LeetCode - check whether a tree is mirror of itself using C++, Golang and Javascript.

November 7, 2021

LeetCode - Word Search

LeetCode - search a word in 2D grid of characters using C++, Golang and Javascript.

November 4, 2021

LeetCode - Decode Ways

LeetCode - find number of ways in which an encoded message can be decoded using C++, Golang and Javascript.

October 31, 2021

LeetCode - Subsets

LeetCode - Generate all possible subsets using C++, Golang and Javascript.

July 4, 2021

LeetCode - Sort Colors

LeetCode - Sort colors represented as integers using C++, Golang and Javascript.

June 20, 2021

LeetCode - Rotate Image

LeetCode - Rotate Image represented as 2D array using C++, Golang and Javascript.

May 23, 2021

LeetCode Sqrt(x)

LeetCode find square root of positive number x in C++, Golang and Javascript

March 14, 2021

LeetCode 3Sum

LeetCode 3Sum solution in C++ and Golang.