This repository contains the solutions to HackerRank problems. All programs are in C++. Compiled and tested using Visual Studio on Widnows.
- Jesse and Cookies
- Equalize Stacks
- QHeap1
- Tree Top View
- Level Order Traversal
- Binary Tree Height
- Reverse Doubly Linked List
- Insert an element in a Sorted Doubly Linked List
- Lowest Common Ancestor of a Binary Tree
- Reverse a Linked List
- 2D Array
- Array Manipulation
- Balanced Brackets
- Poisonous Plants
- Cycle Detection in Linked List
- Huffman Coding
- Maximum Index Product
- Sparse Arrays