Data Structures & Algorithms

Arrays, Tree, Linked List, Heap, Dynamic Programming, Recursion, Backtracking etc.
Search term should be '3' to '100' character long.
Bellman-Ford Algorithm - Shortest Distance with Negative Edge

Implementation of Stack data structure using Array

What is the N-Queens problem ?

N Queen Problem (print all distinct queen's positions on the board)

Implementation of Queue data structure using Array

Implement Stack using Queue (using single queue)

Implement Queue using Stack in amortized O(1) time

Find the next greater element for every element in an array

Find the next greater element for every element in a circular array

Program to print Union of two sorted arrays