All Posts

Find The Shortest Superstring Problem

LeetCode 943. Given an array of strings words, return the...

Find And Replace Pattern Problem

LeetCode 890. Given a list of strings words and a...

Equal Rational Numbers Problem

LeetCode 972. Given two strings s and t, each of...

Delete Columns To Make Sorted Problem

LeetCode 944. You are given an array of n strings...

Delete Columns To Make Sorted III Problem

LeetCode 960. You are given an array of n strings...

Delete Columns To Make Sorted II Problem

LeetCode 955. You are given an array of n strings...

Decoded String At Index Problem

LeetCode 880. You are given an encoded string s. To...


Cousins In Binary Tree Problem

LeetCode 993. Given the root of a binary tree with...

Count Unique Characters Of All Substrings Of A Given String Problem

LeetCode 828. Let’s define a function countUniqueChars(s) that returns the...

Construct Binary Tree From Preorder And Postorder Traversal Problem

LeetCode 889. Given two integer arrays, preorder and postorder where...

Consecutive Numbers Sum Problem

LeetCode 829. Given an integer n, return the number of...

Complete Binary Tree Inserter Problem

LeetCode 919. A complete binary tree is a binary tree...

Check Completeness Of A Binary Tree Problem

LeetCode 958. Given the root of a binary tree, determine...

Chalkboard Xor Game Problem

LeetCode 810. You are given an array of integers nums...

Cat And Mouse Problem

LeetCode 913. A game on an undirected graph is played...