About
Blog
Leetcode
Contact
May 10, 2021

Leetcode - 121: Best Time to Buy and Sell Stock

Leetcode - 121: Best Time to Buy and Sell Stock

Given a list of prices we need to find when is the best time to buy and sell a stock

READ MORE

May 10, 2021

Leetcode - 128: Longest Consecutive Sequence

Leetcode - 128: Longest Consecutive Sequence

Given a list of numbers return length of longest consecutive elements

READ MORE

May 3, 2021

Leetcode - 11: Container With Most Water

Leetcode - 11: Container With Most Water

Given an array or heights we need to find two height between which the maximum water can be stored

READ MORE

May 3, 2021

Leetcode - 53, 152: Maximum Subarray Problems

Leetcode - 53, 152: Maximum Subarray Problems

Given a list of numbers we need to find a subarray which generates maximum sum or product

READ MORE

May 1, 2021

Leetcode - 167: Two Sum II

Leetcode - 167: Two Sum II

The Two sum II problem is the extension of the Two Sum problem which can be solved using the pointers technique

READ MORE

May 1, 2021

Leetcode - 1: Two Sum

Leetcode - 1: Two Sum

Given an array of integers `nums` and an integer `target`, return indices of the two numbers such that they add up to `target`.

READ MORE

Built with ❤️ using

Next
tailwindcss
Contentlayer
Prisma
SWR
PlanetScale
heroicons
react-icons

I am available on

LinkedIn
Twitter
Github
Medium

Sitemap

About
Blog
Leetcode
Contact