The Symmetric Tree problem asks us to check whether a given binary tree is a mirror image of itself around…
Author: codeanddebug
The Binary Tree Right Side View problem asks us to return the list of nodes that are visible when the…
The Bottom View of Binary Tree problem asks us to return the set of nodes visible when looking at the…
The Top View of Binary Tree problem asks us to return the set of nodes visible when looking at the…
The Vertical Order Traversal of a Binary Tree problem asks us to traverse a binary tree in a special way:…
The Count Distinct Substrings problem asks us to calculate the number of unique substrings of a given string. Examples Example…
The Complete String problem asks us to find the longest string from a given list such that all its prefixes…
The Implement Trie II problem is an extension of the basic Implement Trie (Prefix Tree). In addition to inserting words…
The Implement Trie (Prefix Tree) problem asks us to design a Trie data structure that supports the following operations: A…
The Roman to Integer problem asks us to convert a given Roman numeral string into its corresponding integer value. Here’s…