All Posts

Find Duplicate Subtrees Problem

LeetCode 652. Given the rootof a binary tree, return all...

Employee Importance Problem

LeetCode 690. You have a data structure of employee information,...

Domino And Tromino Tiling Problem

LeetCode 790. You have two types of tiles, a 2...

Design Linked List Problem

LeetCode 707. Design your implementation of the linked list. You...

Design Hashset Problem

LeetCode 705. Design a HashSet without using any built-in hash...

Design Hashmap Problem

LeetCode 706. Design a HashMap without using any built-in hash...

Delete And Earn Problem

LeetCode 740. You are given an integer array nums. You...


Degree Of An Array Problem

LeetCode 697. Given a non-empty array of non-negative integers nums,...

Decode Ways II Problem

LeetCode 639. A message containing letters from A-Z can be...

Daily Temperatures Problem

LeetCode 739. Given an array of integers temperatures represents the...

Custom Sort String Problem

LeetCode 791. You are given two strings order and s....

Cracking The Safe Problem

LeetCode 753. There is a safe protected by a password....

Course Schedule III Problem

LeetCode 630. There are n different online courses numbered from...

Couples Holding Hands Problem

LeetCode 765. There are n couples sitting in 2n seats...


Count Binary Substrings Problem

LeetCode 696. Give a binary string s, return the number...