Skip to main content

23 docs tagged with "Data Structures"

View all tags

Count The Zeros

A solution to the problem of counting the number of zeros in the array

Design Twitter

Design a simplified version of Twitter with basic functionalities using OOP principles.

Detect Squares

This is a solution to the Detect Squares problem on LeetCode.

Implement Queue using Stacks

This document provides an implementation of a queue using stacks, supporting push, pop, peek, and empty operations.

Implement Two Stacks in an Array

This document provides solutions to the problem of implementing two stacks in a single array using various programming languages.

K Distance From Root

A solution to the problem of finding all the nodes which are at a distance k from the root

LRU Cache

This is a solution to the LRU Cache problem on GeeksForGeeks.

Parties and Seats

This is a solution to the Parties and Seats problem on GeeksForGeeks.

Remove Duplicates

A solution to the problem of finding the unique characters in the given string

Rightmost Different Bit

A solution to the problem of finding the rightmost position of the bit which is different in both numbers

Stack Designer

This is a solution to the Stack Designer problem on GeeksForGeeks.

Stock Spanner

This is a solution to the Stock Spanner on LeetCode.