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
Subsets - Array - Medium - LeetCode
Given a set of distinct integers, nums, return all possible subsets (the power set). Note: The solution set must not contain duplicate subsets. Example: Input: nums = [1,2,3]Output:[ [3], …
Sort Colors - Array - Medium - LeetCode
Given an array nums with n objects colored red, white, or blue, sort them in-place so that objects of the same color are…
Search a 2D Matrix - Array - Medium - LeetCode
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Int…
Set Matrix Zeroes - Array - Medium - LeetCode
Given an m x n matrix. If an element is 0, set its entire row and column to 0. Do it in-place. Follow up: A straight for…
Minimum Path Sum - Array - Medium - LeetCode
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum o…
Unique Paths II - Array - Medium - LeetCode
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move…
Unique Paths - Array - Medium - LeetCode
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move…
Spiral Matrix II - Array - Medium - LeetCode
Given a positive integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. Example: Input: …
Insert Interval - Array - Medium - LeetCode
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume …
Slowest Key - Array - Easy - LeetCode
A newly designed keypad was tested, where a tester pressed a sequence of n keys, one at a time. You are given a string k…
Merge Intervals - Array - Medium - LeetCode
Given a collection of intervals, merge all overlapping intervals. Example 1: Input: intervals = [[1,3],[2,6],[8,10],[15,…
Jump Game - Array - Medium - LeetCode
Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in t…
Spiral Matrix - Array - Medium - LeetCode
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. Example 1: Inpu…
Rotate Image - Array - Medium - LeetCode
You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise). You have to rotate t…
Combination Sum II - Array - Medium - LeetCode
Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candi…