This repository contains my solutions for the challenges hosted @ HackerRank.com All problems are solved in Java. Each challenge contains the original problem statement in pdf format, testcases as well as my suggested solution.
Below is a list of the challenges currently hosted in this repository.
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Project Euler #2: Even Fibonacci numbers | Java | zip | |
Project Euler #1: Multiples of 3 and 5 | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Arrays: Left Rotation | Java | None | |
DFS: Connected Cell in a Grid | Java | zip | |
Recursion: Davis' Staircase | Java | zip | |
Recursion: Fibonacci Numbers | Java | zip | |
Sorting: Bubble Sort | Java | zip | |
Sorting: Comparator | Java | zip | |
Trees: Is This a Binary Search Tree? | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
New Year Chaos | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Mark and Toys | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
A Very Big Sum | Java | zip | |
Birthday Cake Candles | Java | zip | |
Compare the Triplets | Java | zip | |
Diagonal Difference | Java | zip | |
Mini-Max Sum | Java | zip | |
PlusMinus | Java | zip | |
Simple Array Sum | Java | zip | |
Solve Me First | Java | zip | |
Staircase | Java | zip | |
Time Conversion | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
PacMan - BFS | Java | zip | |
PacMan - DFS | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
BotClean | Java | zip | |
BotClean Stochastic | Java | zip | |
Bot saves princess | Java | zip | |
Bot saves princess - 2 | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Array Manipulation | Java | zip | |
Array DS | Java | zip | |
Dynamic Array | Java | zip | |
Left Rotation | Java | zip | |
Sparse Arrays | Java | zip | |
2D Array DS | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Jesse and Cookies | Java | zip | |
QHEAP1 | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Queue Using Two Stacks | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Balanced Brackets | Java | zip | |
Equal Stacks | Java | zip | |
Maximum Element | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Contacts | Java | zip |
Challenge | Problem Statement | Solution | Testcases |
---|---|---|---|
Java Currency Formatter | Java | zip |