The Binary Tree Right Side View problem asks us to return the list of nodes that are visible when the…
Browsing: Intermediate
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 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…
The Maximum Nesting Depth of the Parentheses problem asks us to determine the deepest level of nested parentheses in a…
You are given the root of a binary tree. Your task is to return the boundary traversal of the tree…