Stories, Tutorials
& Life Tips
Deep dives on coding, health, recipes, travel and everything in between.

Given a linked list, remove the nth node from the end of the list and return its head. For example, Given linked list: 1->2->3->4->5, an…
📍 Explore Reading Paths
Follow curated journeys from beginner to expert
Find Peak Element - Array - Medium - LeetCode
A peak element is an element that is greater than its neighbors. Given an input array nums, where nums[i] ≠ nums[i+1], find a peak element and return its index. The array may contain multiple peaks…
Find Minimum in Rotated Sorted Array - Array - Medium - LeetCode
Suppose an array of length n sorted in ascending order is rotated between 1 and n times. For example, the array nums = […
Maximum Product Subarray - Array - Medium - LeetCode
Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the…
Triangle - Array - Medium - LeetCode
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row be…
Construct Binary Tree from Inorder and Postorder Traversal - Array - Medium - LeetCode
Given inorder and postorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not e…
Construct Binary Tree from Preorder and Inorder Traversal - Array - Medium - LeetCode
Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may assume that duplicates do not ex…
Subsets II - Array - Medium - LeetCode
Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: T…
Design an Ordered Stream - Array - Easy - LeetCode
There are n (id, value) pairs, where id is an integer between 1 and n and value is a string. No two pairs have the same …
Defuse the Bomb - Array - Easy - LeetCode
You have a bomb to defuse, and your time is running out! Your informer will provide you with a circular array code of le…
Search in Rotated Sorted Array II - Array - Medium - LeetCode
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,0,1,2,2,5,6] mi…
Get Maximum in Generated Array - Array - Easy - LeetCode
You are given an integer n. An array nums of length n + 1 is generated in the following way: nums[0] = 0nums[1] = 1nums[…
Check Array Formation Through Concatenation - Array - Easy - LeetCode
You are given an array of distinct integers arr and an array of integer arrays pieces, where the integers in pieces are …
Sort Array by Increasing Frequency - Array - Medium - LeetCode
Given an array of integers nums, sort the array in increasing order based on the frequency of the values. If multiple va…
Remove Duplicates from Sorted Array II - Array - Medium - LeetCode
Given a sorted array nums, remove the duplicates in-place such that duplicates appeared at most twice and return the new…
Word Search - Array - Medium - LeetCode
Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequential…