All Posts

Game Of Life Problem

LeetCode 289. The Game of Life, also known simply as...

Flatten Nested List Iterator Problem

LeetCode 341. You are given a nested list of integers...

First Unique Character In A String Problem

LeetCode 387. Given a string s, find the first non-repeating...

First Bad Version Problem

LeetCode 278. You are a product manager and currently leading...

Find The Duplicate Number Problem

LeetCode 287. Given an array of integers nums containingn +...

Find The Difference Problem

LeetCode 389. You are given two strings s and t....

Find Median From Data Stream Problem

LeetCode 295. The median is the middle value in an...


Find K Pairs With Smallest Sums Problem

LeetCode 373. You are given two integer arrays nums1 and...

Expression Add Operators Problem

LeetCode 282. Given a string num that contains only digits...

Evaluate Division Problem

LeetCode 399. You are given an array of variable pairs...

Elimination Game Problem

LeetCode 390. You have a list arr of all integers...

Different Ways To Add Parentheses Problem

LeetCode 241. Given a string expression of numbers and operators,...

Design Twitter Problem

LeetCode 355. Design a simplified version of Twitter where users...

Design Add And Search Words Data Structure Problem

LeetCode 211. Design a data structure that supports adding new...

Delete Node In A Linked List Problem

LeetCode 237. Write a function to delete a node in...


Decode String Problem

LeetCode 394. Given an encoded string, return its decoded string....