# All blogs

October 9, 2022

### LeetCode - Longest Common Subsequence

LeetCode - return the length of their longest common subsequence in C++, Golang, and Javascript.

October 8, 2022

### LeetCode - Rectangle Area

LeetCode - return the total area covered by the two rectangles in C++, Golang, and Javascript.

October 1, 2022

### LeetCode - Evaluate Reverse Polish Notation

LeetCode - evaluate the value of an arithmetic expression in Reverse Polish Notation in C++, Golang, and Javascript.

September 25, 2022

### LeetCode - Compare Version Numbers

LeetCode - compare two versions, compare revisions in the left-to-right order using C++, Golang, and Javascript.

September 24, 2022

### LeetCode - Search a 2D Matrix

LeetCode - search in a row-wise and column-wise sorted matrix using C++, Golang, and Javascript.

September 18, 2022

### LeetCode - Jump Game III

LeetCode - return if it's possible to reach any index with value 0 using C++, Golang, and Javascript.

September 17, 2022

### LeetCode - Jump Game II

LeetCode - return the minimum number of jumps to reach the last index using C++, Golang, and Javascript.

September 11, 2022

### LeetCode - House Robber III

LeetCode - return the maximum amount of money you can rob when houses in this place form a binary tree using C++, Golang, and Javascript.

September 10, 2022

### LeetCode - House Robber II

LeetCode - return the maximum amount of money you can rob when houses are arranged in a circle using C++, Golang, and Javascript.

September 5, 2022

### Rails ActiveRecord select method adds the ability to receive hash values

Rails ActiveRecord select method adds the ability to use a hash with columns and aliases inside the select method keeping it similar to the where clause.

September 4, 2022

### LeetCode - Path Sum II

LeetCode - return all root-to-leaf paths where the sum of the node values in the path equals targetSum using C++, Golang, and Javascript.

September 3, 2022

### LeetCode - Path Sum

LeetCode - return true if the tree has a root-to-leaf path such that adding up all the values along the path equals targetSum using C++, Golang, and Javascript.

September 1, 2022

### LeetCode - Unique Path II

LeetCode - return the number of possible unique paths a robot can take to reach the bottom-right corner when paths have obstacles.

August 28, 2022

### LeetCode - Minimum Path Sum

LeetCode - find a path from top left to bottom right, which minimizes the sum of all numbers along its path using C++, Golang, and Javascript.

August 27, 2022

### LeetCode - Two Sum II - Input Array Is Sorted

LeetCode - return the indices of the two numbers that sum to the target using C++, Golang, and Javascript.

August 25, 2022

### LeetCode - Permutations

LeetCode - return all the possible permutations of an array with distinct elements using C++, Golang, and Javascript.

August 21, 2022

### LeetCode - Pascal's Triangle II

LeetCode - return the rowIndexth row of Pascal's triangle using C++, Golang, and Javascript.

August 20, 2022

### LeetCode - Remove Duplicates from Sorted List II

LeetCode - delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list using C++, Golang, and Javascript.

August 18, 2022

### LeetCode - Combination Sum IV

LeetCode - return the number of possible combinations that add up to the target using C++, Golang, and Javascript.

August 14, 2022

### LeetCode - Combination Sum III

LeetCode - return a list of all unique combinations of k numbers that sum up to n using C++, Golang, and Javascript.

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.

July 24, 2022

### LeetCode - Find Minimum in Rotated Sorted Array

LeetCode - find the minimum element in a rotated sorted array using C++, Golang, and Javascript.

July 17, 2022

### LeetCode - Search in Rotated Sorted Array II

LeetCode - search in rotated sorted array containing duplicates using C++, Golang, and Javascript.

July 3, 2022

### LeetCode - Rotate Array

LeetCode - rotate array to right by k steps 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.

March 20, 2022

### LeetCode - Unique Binary Search Trees

LeetCode - return the number of structurally unique BST's 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 10, 2022

### LeetCode - Reverse Linked List II

LeetCode - reverse a sublist in a linked list 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 29, 2022

### LeetCode - Remove Duplicates from Sorted Array II

LeetCode - remove duplicates from sorted array ii 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 22, 2022

### LeetCode - Balanced Binary Tree

LeetCode - determine if a binary tree is height-balanced 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 6, 2022

### LeetCode - Search in Rotated Sorted Array

LeetCode - search target element in rotated sorted array 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 30, 2021

### LeetCode - Factorial Trailing Zeroes

LeetCode - return the number of trailing zeroes in n! 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 19, 2021

### LeetCode - Trapping rain water

LeetCode - compute units of water trapped in an elevation map 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.

December 9, 2021

### LeetCode - Best Time to Buy and Sell Stock

LeetCode - maximize profit in stock trading using C++, Golang and Javascript.

December 5, 2021

### LeetCode - Populating Next Right Pointers in Each Node

LeetCode - populate next sibling in a perfect binary tree using C++, Golang and Javascript.

December 2, 2021

### LeetCode - Binary Tree Zigzag Level Order Traversal

LeetCode - Return the zigzag level order traversal of binary tree nodes values using C++, Golang and Javascript.

November 28, 2021

### LeetCode - Convert Sorted Array to Binary Search Tree

LeetCode - Convert a sorted array into a height-balanced binary search tree using C++, Golang and Javascript.

November 25, 2021

### LeetCode - Maximum Product of Three Numbers

LeetCode - find three numbers whose product is maximum using C++, Golang and Javascript.

November 21, 2021

### LeetCode - Validate Binary Search Tree

LeetCode - Given a binary tree check if it is a valid BST using C++, Golang and Javascript.

November 18, 2021

### LeetCode - Binary Tree Level Order Traversal

LeetCode - return the level order traversal of binary tree nodes 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.

October 28, 2021

### LeetCode - Remove Element

Remove element from input array using C++, Golang and Javascript.

October 25, 2021

October 24, 2021

### LeetCode - Jump Game

LeetCode - jump game using C++, Golang and Javascript.

October 21, 2021

### LeetCode - ZigZag Conversion

LeetCode - zig-zag conversion using C++, Golang and Javascript.

October 17, 2021

### LeetCode - Product of Array Except Self

LeetCode - product of array except self using C++, Golang and Javascript.

October 14, 2021

### LeetCode - Unique Paths

LeetCode - unique paths in m X n grid using C++, Golang and Javascript.

October 10, 2021

### LeetCode - Pascal's Triangle

LeetCode - Pascal's Triangle using C++, Golang and Javascript.

September 26, 2021

### LeetCode - 3Sum closest

LeetCode - 3Sum closest using C++, Golang and Javascript.

September 19, 2021

### LeetCode - Swap Nodes in Pairs

LeetCode - Swap Nodes in Pairs using C++, Golang and Javascript.

September 12, 2021

### LeetCode - Next Permutation

LeetCode - Next Permutation using C++, Golang and Javascript.

September 5, 2021

### LeetCode - Search Insert Position

LeetCode - Search Insert Position using C++, Golang and Javascript.

August 29, 2021

### LeetCode - Merge Two Sorted Lists

LeetCode - Merge Two Sorted Lists using C++, Golang and Javascript.

August 22, 2021

### LeetCode Median of Two Sorted Arrays

LeetCode median of two sorted arrays solution in C++, Golang and Javascript.

August 15, 2021

### LeetCode - Generate Parentheses

LeetCode - Generate Parentheses using C++, Golang and Javascript.

August 8, 2021

### LeetCode - Letter Combinations of a Phone Number

LeetCode - Letter combinations of a phone number using C++, Golang and Javascript.

July 25, 2021

### LeetCode - Plus One

LeetCode - Plus One using C++, Golang and Javascript.

July 18, 2021

### LeetCode - Implement strStr()

LeetCode - Implement strStr() using C++, Golang and Javascript.

July 11, 2021

### LeetCode - Merge Two Sorted Array

LeetCode - Merge two sorted arrays using C++, Golang and Javascript.

July 4, 2021

### LeetCode - Sort Colors

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

June 27, 2021

### LeetCode - Valid Parentheses

LeetCode - check for balanced brackets in an expression using C++, Golang and Javascript.

June 20, 2021

### LeetCode - Rotate Image

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

June 13, 2021

### LeetCode - Maximum Subarray

LeetCode - maximum sum subarray using C++, Golang and Javascript.

June 6, 2021

### LeetCode - Find First and Last Position of Element in Sorted Array

LeetCode - find first and last position of element in sorted array using C++, Golang and Javascript.

May 30, 2021

### LeetCode - Remove Duplicates from Sorted Array

LeetCode - remove all duplicates from sorted 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

May 16, 2021

### LeetCode Remove Nth Node From End of List

LeetCode remove Nth node from linked list in C++, Golang and Javascript

May 8, 2021

### LeetCode Roman to Integer

LeetCode convert a roman string into number.

May 2, 2021

### LeetCode Container With Most Water

LeetCode container with most water in C++, Golang and Javascript.

April 24, 2021

### LeetCode Palindrome Number

LeetCode palindrome number solution in C++, Golang and Javascript

April 18, 2021

### LeetCode String to Integer (atoi)

LeetCode convert a string of numbers(words) into integer using C++, Golang and Javascript.

April 11, 2021

### LeetCode Reverse Integer

LeetCode reverse an integer in C++, Golang and Javascript

April 4, 2021

### LeetCode Longest Palindromic Substring

LeetCode longest palindromic substring in C++, Golang and Javascript.

March 28, 2021

### LeetCode Longest Substring Without Repeating Characters

LeetCode longest substring without repeating characters in C++, Golang and Javascript.

March 21, 2021

March 14, 2021

### LeetCode 3Sum

LeetCode 3Sum solution in C++ and Golang.

March 6, 2021

### Find a pair in an array with a sum equal to the target using sorting

Given array nums and a number target, check for pair in nums with sum as target.

February 28, 2021

### LeetCode Two Sum

LeetCode two sum solution in C++ and Golang.