All Posts

Valid Parenthesis String Problem

LeetCode 678. Given a string s containing only three types...

Valid Palindrome II Problem

LeetCode 680. Given a string s, return true if the...

Transform To Chessboard Problem

LeetCode 782. You are given an n x n binary...

Top K Frequent Words Problem

LeetCode 692. Given an array of strings words and an...

Toeplitz Matrix Problem

LeetCode 766. Given an m x n matrix, returntrueif the...

Task Scheduler Problem

LeetCode 621. Given a characters array tasks, representing the tasks...

Swim In Rising Water Problem

LeetCode 778. You are given an n x n integer...

Swap Adjacent In LR String Problem

LeetCode 777. In a string composed of ‘L’, ‘R’, and...


Strange Printer Problem

LeetCode 664. There is a strange printer with the following...

Stickers To Spell Word Problem

LeetCode 691. We are given n different types of stickers....

Split Linked List In Parts Problem

LeetCode 725. Given the head of a singly linked list...

Special Binary String Problem

LeetCode 761. Special binary strings are binary strings with the...

Solve The Equation Problem

LeetCode 640. Solve a given equation and return the value...

Sliding Puzzle Problem

LeetCode 773. On an 2 x 3 board, there are...

Shopping Offers Problem

LeetCode 638. In LeetCode Store, there are n items to...

Set Mismatch Problem

LeetCode 645. You have a set of integers s, which...