Skip to main content

16 docs tagged with "Data Structures"

View All Tags

Balanced Parentheses

Check if a string contains properly nested and balanced parentheses, and false if otherwise.

Identical Binary Tree

Given two binary tree, find if they are identical i.e. same value at the same position & same structure

O1Data Structure

Construct a DS with search, remove and add operations of O(1) in worst case

Reverse Sentence

Reverse the words in a sentence—i.e., “My name is Chris” becomes “Chris is name My.”