#geeksforgeeks
Read more stories on Hashnode
Articles with this tag
Topic: Strings 1) Reverse Words in StringMedium Input: s = "a good example" Output: "example good a" Explanation: You need to reduce multiple...
Topic: Strings 1) Length of last wordEasy Input: s = " fly me to the moon " Output: 4 Explanation: The last word is "moon" with length...
Topic: Tree 1) Check for a balanced binary treeEasy Input: 1 / 2 \ 3 Output: 0 Explanation: The max difference in height of...
Topic: Tree 1) Level order traversal in Spiral formEasy2) Zig Zag TraversalEasy3) Maximum Width of Binary TreeEasy4) Left view of Binary TreeEasy5)...
Topic: Tree 1) Level order traversal Line by LineEasy 1 / \ 2 3 / \ / \ 4 5 6 7 \ 8 ...
Topic: Tree 1) Recursive Post Order TraversalEasy2) Iterative Pre-Order Traversal - GFGMedium RECURSION Input: 19 / \ 10 8 ...