diff --git a/10 Days of Statistics/README.md b/10 Days of Statistics/README.md index e4287f5..aaca232 100644 --- a/10 Days of Statistics/README.md +++ b/10 Days of Statistics/README.md @@ -1,31 +1,31 @@ ## 10 Days of Statistics -| Domain | Subdomain | Day | Challenge | Difficulty | Solution | -|:---------:|:---------------------:|:---:|:--------------------------------------------------------------------------------------------------------------------------:|:---------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Tutorials | 10 Days of Statistics | 0 | [Mean, Median, and Mode](https://www.hackerrank.com/challenges/s10-basic-statistics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%200%20-%20Mean%2C%20Median%2C%20and%20Mode/Solution.java) | -| Tutorials | 10 Days of Statistics | 0 | [Weighted Mean](https://www.hackerrank.com/challenges/s10-weighted-mean) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%200%20-%20Weighted%20Mean/Solution.java) | -| Tutorials | 10 Days of Statistics | 1 | [Quartiles](https://www.hackerrank.com/challenges/s10-quartiles) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Quartiles/Solution.java) | -| Tutorials | 10 Days of Statistics | 1 | [Interquartile Range](https://www.hackerrank.com/challenges/s10-interquartile-range) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Interquartile%20Range/Solution.java) | -| Tutorials | 10 Days of Statistics | 1 | [Standard Deviation](https://www.hackerrank.com/challenges/s10-standard-deviation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Standard%20Deviation/Solution.java) | -| Tutorials | 10 Days of Statistics | 2 | [Basic Probability](https://www.hackerrank.com/challenges/s10-mcq-1) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20Basic%20Probability/Solution.txt) | -| Tutorials | 10 Days of Statistics | 2 | [More Dice](https://www.hackerrank.com/challenges/s10-mcq-2) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20More%20Dice/Solution.txt) | -| Tutorials | 10 Days of Statistics | 2 | [Compound Event Probability](https://www.hackerrank.com/challenges/s10-mcq-3) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20Compound%20Event%20Probability/Solution.txt) | -| Tutorials | 10 Days of Statistics | 3 | [Conditional Probability](https://www.hackerrank.com/challenges/s10-mcq-4) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Conditional%20Probability/Solution.txt) | -| Tutorials | 10 Days of Statistics | 3 | [Cards of the Same Suit](https://www.hackerrank.com/challenges/s10-mcq-5) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Cards%20of%20the%20Same%20Suit/Solution.txt) | -| Tutorials | 10 Days of Statistics | 3 | [Drawing Marbles](https://www.hackerrank.com/challenges/s10-mcq-6) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Drawing%20Marbles/Solution.txt) | -| Tutorials | 10 Days of Statistics | 4 | [Binomial Distribution I](https://www.hackerrank.com/challenges/s10-binomial-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Binomial%20Distribution%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 4 | [Binomial Distribution II](https://www.hackerrank.com/challenges/s10-binomial-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Binomial%20Distribution%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 4 | [Geometric Distribution I](https://www.hackerrank.com/challenges/s10-geometric-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Geometric%20Distribution%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 4 | [Geometric Distribution II](https://www.hackerrank.com/challenges/s10-geometric-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Geometric%20Distribution%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 5 | [Poisson Distribution I](https://www.hackerrank.com/challenges/s10-poisson-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Poisson%20Distribution%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 5 | [Poisson Distribution II](https://www.hackerrank.com/challenges/s10-poisson-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Poisson%20Distribution%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 5 | [Normal Distribution I](https://www.hackerrank.com/challenges/s10-normal-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Normal%20Distribution%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 5 | [Normal Distribution II](https://www.hackerrank.com/challenges/s10-normal-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Normal%20Distribution%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 6 | [The Central Limit Theorem I](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 6 | [The Central Limit Theorem II](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 6 | [The Central Limit Theorem III](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-3) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20III/Solution.java) | -| Tutorials | 10 Days of Statistics | 7 | [Pearson Correlation Coefficient I](https://www.hackerrank.com/challenges/s10-pearson-correlation-coefficient) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%207%20-%20Pearson%20Correlation%20Coefficient%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 7 | [Spearman's Rank Correlation Coefficient](https://www.hackerrank.com/challenges/s10-spearman-rank-correlation-coefficient) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%207%20-%20Spearman%27s%20Rank%20Correlation%20Coefficient/Solution.java) | -| Tutorials | 10 Days of Statistics | 8 | [Least Square Regression Line](https://www.hackerrank.com/challenges/s10-least-square-regression-line) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%208%20-%20Least%20Square%20Regression%20Rate/Solution.java) | -| Tutorials | 10 Days of Statistics | 8 | [Pearson Correlation Coefficient II](https://www.hackerrank.com/challenges/s10-mcq-7) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%208%20-%20Pearson%20Correlation%20Coefficient%20II/Solution.txt) | -| Tutorials | 10 Days of Statistics | 9 | [Multiple Linear Regression](https://www.hackerrank.com/challenges/s10-multiple-linear-regression) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%209%20-%20Multiple%20Linear%20Regression/Solution.java) | +| Day | Challenge | Difficulty | Solution | +|:---:|:--------------------------------------------------------------------------------------------------------------------------:|:---------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| 0 | [Mean, Median, and Mode](https://www.hackerrank.com/challenges/s10-basic-statistics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%200%20-%20Mean%2C%20Median%2C%20and%20Mode/Solution.java) | +| 0 | [Weighted Mean](https://www.hackerrank.com/challenges/s10-weighted-mean) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%200%20-%20Weighted%20Mean/Solution.java) | +| 1 | [Quartiles](https://www.hackerrank.com/challenges/s10-quartiles) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Quartiles/Solution.java) | +| 1 | [Interquartile Range](https://www.hackerrank.com/challenges/s10-interquartile-range) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Interquartile%20Range/Solution.java) | +| 1 | [Standard Deviation](https://www.hackerrank.com/challenges/s10-standard-deviation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Standard%20Deviation/Solution.java) | +| 2 | [Basic Probability](https://www.hackerrank.com/challenges/s10-mcq-1) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20Basic%20Probability/Solution.txt) | +| 2 | [More Dice](https://www.hackerrank.com/challenges/s10-mcq-2) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20More%20Dice/Solution.txt) | +| 2 | [Compound Event Probability](https://www.hackerrank.com/challenges/s10-mcq-3) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20Compound%20Event%20Probability/Solution.txt) | +| 3 | [Conditional Probability](https://www.hackerrank.com/challenges/s10-mcq-4) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Conditional%20Probability/Solution.txt) | +| 3 | [Cards of the Same Suit](https://www.hackerrank.com/challenges/s10-mcq-5) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Cards%20of%20the%20Same%20Suit/Solution.txt) | +| 3 | [Drawing Marbles](https://www.hackerrank.com/challenges/s10-mcq-6) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Drawing%20Marbles/Solution.txt) | +| 4 | [Binomial Distribution I](https://www.hackerrank.com/challenges/s10-binomial-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Binomial%20Distribution%20I/Solution.java) | +| 4 | [Binomial Distribution II](https://www.hackerrank.com/challenges/s10-binomial-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Binomial%20Distribution%20II/Solution.java) | +| 4 | [Geometric Distribution I](https://www.hackerrank.com/challenges/s10-geometric-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Geometric%20Distribution%20I/Solution.java) | +| 4 | [Geometric Distribution II](https://www.hackerrank.com/challenges/s10-geometric-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Geometric%20Distribution%20II/Solution.java) | +| 5 | [Poisson Distribution I](https://www.hackerrank.com/challenges/s10-poisson-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Poisson%20Distribution%20I/Solution.java) | +| 5 | [Poisson Distribution II](https://www.hackerrank.com/challenges/s10-poisson-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Poisson%20Distribution%20II/Solution.java) | +| 5 | [Normal Distribution I](https://www.hackerrank.com/challenges/s10-normal-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Normal%20Distribution%20I/Solution.java) | +| 5 | [Normal Distribution II](https://www.hackerrank.com/challenges/s10-normal-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Normal%20Distribution%20II/Solution.java) | +| 6 | [The Central Limit Theorem I](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20I/Solution.java) | +| 6 | [The Central Limit Theorem II](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20II/Solution.java) | +| 6 | [The Central Limit Theorem III](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-3) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20III/Solution.java) | +| 7 | [Pearson Correlation Coefficient I](https://www.hackerrank.com/challenges/s10-pearson-correlation-coefficient) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%207%20-%20Pearson%20Correlation%20Coefficient%20I/Solution.java) | +| 7 | [Spearman's Rank Correlation Coefficient](https://www.hackerrank.com/challenges/s10-spearman-rank-correlation-coefficient) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%207%20-%20Spearman%27s%20Rank%20Correlation%20Coefficient/Solution.java) | +| 8 | [Least Square Regression Line](https://www.hackerrank.com/challenges/s10-least-square-regression-line) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%208%20-%20Least%20Square%20Regression%20Rate/Solution.java) | +| 8 | [Pearson Correlation Coefficient II](https://www.hackerrank.com/challenges/s10-mcq-7) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%208%20-%20Pearson%20Correlation%20Coefficient%20II/Solution.txt) | +| 9 | [Multiple Linear Regression](https://www.hackerrank.com/challenges/s10-multiple-linear-regression) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%209%20-%20Multiple%20Linear%20Regression/Solution.java) | diff --git a/30 Days of Code/README.md b/30 Days of Code/README.md index 4fce56a..d691b25 100644 --- a/30 Days of Code/README.md +++ b/30 Days of Code/README.md @@ -1,34 +1,34 @@ ## 30 Days of Code -| Domain | Subdomain | Day | Challenge | Difficulty | Solution | -|:---------:|:---------------:|:---:|:-------------------------------------------------------------------------------------------------------:|:----------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Tutorials | 30 Days of Code | 0 | [Hello, World](https://www.hackerrank.com/challenges/30-hello-world) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2000%20-%20Hello%2C%20World/Solution.java) | -| Tutorials | 30 Days of Code | 1 | [Data Types](https://www.hackerrank.com/challenges/30-data-types) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2001%20-%20Data%20Types/Solution.java) | -| Tutorials | 30 Days of Code | 2 | [Operators](https://www.hackerrank.com/challenges/30-operators) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2002%20-%20Operators/Solution.java) | -| Tutorials | 30 Days of Code | 3 | [Intro to Conditional Statements](https://www.hackerrank.com/challenges/30-conditional-statements) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2003%20-%20Intro%20to%20Conditional%20Statements/Solution.java) | -| Tutorials | 30 Days of Code | 4 | [Class vs. Instance](https://www.hackerrank.com/challenges/30-class-vs-instance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2004%20-%20Class%20vs.%20Instance/Solution.java) | -| Tutorials | 30 Days of Code | 5 | [Loops](https://www.hackerrank.com/challenges/30-loops) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2005%20-%20Loops/Solution.java) | -| Tutorials | 30 Days of Code | 6 | [Let's Review](https://www.hackerrank.com/challenges/30-review-loop) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2006%20-%20Let's%20Review/Solution.java) | -| Tutorials | 30 Days of Code | 7 | [Arrays](https://www.hackerrank.com/challenges/30-arrays) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2007%20-%20Arrays/Solution.java) | -| Tutorials | 30 Days of Code | 8 | [Dictionaries and Maps](https://www.hackerrank.com/challenges/30-dictionaries-and-maps) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2008%20-%20Dictionaries%20and%20Maps/Solution.java) | -| Tutorials | 30 Days of Code | 9 | [Recursion](https://www.hackerrank.com/challenges/30-recursion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2009%20-%20Recursion/Solution.java) | -| Tutorials | 30 Days of Code | 10 | [Binary Numbers](https://www.hackerrank.com/challenges/30-binary-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2010%20-%20Binary%20Numbers/Solution.java) | -| Tutorials | 30 Days of Code | 11 | [2D Arrays](https://www.hackerrank.com/challenges/30-2d-arrays) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2011%20-%202D%20Arrays/Solution.java) | -| Tutorials | 30 Days of Code | 12 | [Inheritance](https://www.hackerrank.com/challenges/30-inheritance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2012%20-%20Inheritance/Solution.java) | -| Tutorials | 30 Days of Code | 13 | [Abstract Classes](https://www.hackerrank.com/challenges/30-abstract-classes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2013%20-%20Abstract%20Classes/Solution.java) | -| Tutorials | 30 Days of Code | 14 | [Scope](https://www.hackerrank.com/challenges/30-scope) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2014%20-%20Scope/Solution.java) | -| Tutorials | 30 Days of Code | 15 | [Linked List](https://www.hackerrank.com/challenges/30-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2015%20-%20Linked%20List/Solution.java) | -| Tutorials | 30 Days of Code | 16 | [Exceptions - String to Integer](https://www.hackerrank.com/challenges/30-exceptions-string-to-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2016%20-%20Exceptions%20-%20String%20to%20Integer/Solution.java) | -| Tutorials | 30 Days of Code | 17 | [More Exceptions](https://www.hackerrank.com/challenges/30-more-exceptions) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2017%20-%20More%20Exceptions/Solution.java) | -| Tutorials | 30 Days of Code | 18 | [Queues and Stacks](https://www.hackerrank.com/challenges/30-queues-stacks) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2018%20-%20Queues%20and%20Stacks/Solution.java) | -| Tutorials | 30 Days of Code | 19 | [Interfaces](https://www.hackerrank.com/challenges/30-interfaces) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2019%20-%20Interfaces/Solution.java) | -| Tutorials | 30 Days of Code | 20 | [Sorting](https://www.hackerrank.com/challenges/30-sorting) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2020%20-%20Sorting/Solution.java) | -| Tutorials | 30 Days of Code | 21 | [Generics](https://www.hackerrank.com/challenges/30-generics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2021%20-%20Generics/Solution.java) | -| Tutorials | 30 Days of Code | 22 | [Binary Search Trees](https://www.hackerrank.com/challenges/30-binary-search-trees) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2022%20-%20Binary%20Search%20Trees/Solution.java) | -| Tutorials | 30 Days of Code | 23 | [BST Level-Order Traversal](https://www.hackerrank.com/challenges/30-binary-trees) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2023%20-%20BST%20Level-Order%20Traversal/Solution.java) | -| Tutorials | 30 Days of Code | 24 | [More Linked Lists](https://www.hackerrank.com/challenges/30-linked-list-deletion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2024%20-%20More%20Linked%20Lists/Solution.java) | -| Tutorials | 30 Days of Code | 25 | [Running Time and Complexity](https://www.hackerrank.com/challenges/30-running-time-and-complexity) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2025%20-%20Running%20Time%20and%20Complexity/Solution.java) | -| Tutorials | 30 Days of Code | 26 | [Nested Logic](https://www.hackerrank.com/challenges/30-nested-logic) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2026%20-%20Nested%20Logic/Solution.java) | -| Tutorials | 30 Days of Code | 27 | [Testing](https://www.hackerrank.com/challenges/30-testing) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2027%20-%20Testing/Solution.java) | -| Tutorials | 30 Days of Code | 28 | [RegEx, Patterns, and Intro to Databases](https://www.hackerrank.com/challenges/30-regex-patterns) | Medium | Coming Soon! | -| Tutorials | 30 Days of Code | 29 | [Bitwise AND](https://www.hackerrank.com/challenges/30-bitwise-and) | Medium | Coming Soon! | +| Day | Challenge | Difficulty | Solution | +|:---:|:-------------------------------------------------------------------------------------------------------:|:----------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| 0 | [Hello, World](https://www.hackerrank.com/challenges/30-hello-world) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2000%20-%20Hello%2C%20World/Solution.java) | +| 1 | [Data Types](https://www.hackerrank.com/challenges/30-data-types) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2001%20-%20Data%20Types/Solution.java) | +| 2 | [Operators](https://www.hackerrank.com/challenges/30-operators) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2002%20-%20Operators/Solution.java) | +| 3 | [Intro to Conditional Statements](https://www.hackerrank.com/challenges/30-conditional-statements) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2003%20-%20Intro%20to%20Conditional%20Statements/Solution.java) | +| 4 | [Class vs. Instance](https://www.hackerrank.com/challenges/30-class-vs-instance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2004%20-%20Class%20vs.%20Instance/Solution.java) | +| 5 | [Loops](https://www.hackerrank.com/challenges/30-loops) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2005%20-%20Loops/Solution.java) | +| 6 | [Let's Review](https://www.hackerrank.com/challenges/30-review-loop) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2006%20-%20Let's%20Review/Solution.java) | +| 7 | [Arrays](https://www.hackerrank.com/challenges/30-arrays) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2007%20-%20Arrays/Solution.java) | +| 8 | [Dictionaries and Maps](https://www.hackerrank.com/challenges/30-dictionaries-and-maps) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2008%20-%20Dictionaries%20and%20Maps/Solution.java) | +| 9 | [Recursion](https://www.hackerrank.com/challenges/30-recursion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2009%20-%20Recursion/Solution.java) | +| 10 | [Binary Numbers](https://www.hackerrank.com/challenges/30-binary-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2010%20-%20Binary%20Numbers/Solution.java) | +| 11 | [2D Arrays](https://www.hackerrank.com/challenges/30-2d-arrays) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2011%20-%202D%20Arrays/Solution.java) | +| 12 | [Inheritance](https://www.hackerrank.com/challenges/30-inheritance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2012%20-%20Inheritance/Solution.java) | +| 13 | [Abstract Classes](https://www.hackerrank.com/challenges/30-abstract-classes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2013%20-%20Abstract%20Classes/Solution.java) | +| 14 | [Scope](https://www.hackerrank.com/challenges/30-scope) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2014%20-%20Scope/Solution.java) | +| 15 | [Linked List](https://www.hackerrank.com/challenges/30-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2015%20-%20Linked%20List/Solution.java) | +| 16 | [Exceptions - String to Integer](https://www.hackerrank.com/challenges/30-exceptions-string-to-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2016%20-%20Exceptions%20-%20String%20to%20Integer/Solution.java) | +| 17 | [More Exceptions](https://www.hackerrank.com/challenges/30-more-exceptions) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2017%20-%20More%20Exceptions/Solution.java) | +| 18 | [Queues and Stacks](https://www.hackerrank.com/challenges/30-queues-stacks) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2018%20-%20Queues%20and%20Stacks/Solution.java) | +| 19 | [Interfaces](https://www.hackerrank.com/challenges/30-interfaces) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2019%20-%20Interfaces/Solution.java) | +| 20 | [Sorting](https://www.hackerrank.com/challenges/30-sorting) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2020%20-%20Sorting/Solution.java) | +| 21 | [Generics](https://www.hackerrank.com/challenges/30-generics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2021%20-%20Generics/Solution.java) | +| 22 | [Binary Search Trees](https://www.hackerrank.com/challenges/30-binary-search-trees) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2022%20-%20Binary%20Search%20Trees/Solution.java) | +| 23 | [BST Level-Order Traversal](https://www.hackerrank.com/challenges/30-binary-trees) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2023%20-%20BST%20Level-Order%20Traversal/Solution.java) | +| 24 | [More Linked Lists](https://www.hackerrank.com/challenges/30-linked-list-deletion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2024%20-%20More%20Linked%20Lists/Solution.java) | +| 25 | [Running Time and Complexity](https://www.hackerrank.com/challenges/30-running-time-and-complexity) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2025%20-%20Running%20Time%20and%20Complexity/Solution.java) | +| 26 | [Nested Logic](https://www.hackerrank.com/challenges/30-nested-logic) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2026%20-%20Nested%20Logic/Solution.java) | +| 27 | [Testing](https://www.hackerrank.com/challenges/30-testing) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2027%20-%20Testing/Solution.java) | +| 28 | [RegEx, Patterns, and Intro to Databases](https://www.hackerrank.com/challenges/30-regex-patterns) | Medium | Coming Soon! | +| 29 | [Bitwise AND](https://www.hackerrank.com/challenges/30-bitwise-and) | Medium | Coming Soon! | diff --git a/Algorithms/Implementation/Beautiful Triplets/Solution.java b/Algorithms/Implementation/Beautiful Triplets/Solution.java index 34d61f8..6720a8e 100644 --- a/Algorithms/Implementation/Beautiful Triplets/Solution.java +++ b/Algorithms/Implementation/Beautiful Triplets/Solution.java @@ -5,11 +5,19 @@ import java.util.Scanner; import java.util.HashSet; -// We are given an increasing input sequence, so no duplicate values exist +/* -// Time Complexity: O(n) -// Space Complexity: O(n) +We are given an increasing input sequence, so no duplicate values exist. +For each element in the sequence that we traverse, we save it in a HashSet. Let's call this element "k". +Our HashSet needs to have 3 elements, which we'll call i, j, k, that create a "beautiful triplet" as explained in the problem statement. +When we come across element "k", we check to see if our HashSet also has elements "i" and "j". +This is done by noting that we need to have a[i] + 2*d == a[j] + d == a[k] to have a beautiful triplet. + +Time Complexity: O(n) +Space Complexity: O(n) + +*/ public class Solution { public static void main(String[] args) { /* Initialize variables */ diff --git a/Algorithms/Implementation/Kangaroo/Solution.java b/Algorithms/Implementation/Kangaroo/Solution.java index fe9648e..07cb469 100644 --- a/Algorithms/Implementation/Kangaroo/Solution.java +++ b/Algorithms/Implementation/Kangaroo/Solution.java @@ -4,6 +4,21 @@ import java.util.Scanner; +/* + +Case 1: + +v1 <= v2. In this case, kangaroo 1 can never catch up to kangaroo 2 + +Case2 : + +x2 - x1 represents the distance between the 2 kangaroos + +v2 - v1 represents the difference in velocities between the 2 kangaroos. It also represents how much closer the kangaroos get in each step (until they either meet or 1 kangaroo passes the other) + +If the distance between the kangaroos (x2 - x1) is divisible by how much closer they get in each step (v2 - v1), then they will land at the same location at the same time. Otherwise, 1 kangaroo will jump over the other and they will never be at the same location at the same time. + +*/ public class Solution { public static void main(String[] args) { /* Read and save input */ diff --git a/Algorithms/README.md b/Algorithms/README.md index 4a3901f..114aa8b 100644 --- a/Algorithms/README.md +++ b/Algorithms/README.md @@ -1,369 +1,372 @@ ## Algorithms -| Domain | Subdomain | Challenge | Difficulty | Solution | -|:----------:|:-----------------------:|:-----------------------------------------------------------------------------------------------------------------------------------:|:----------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Algorithms | Warmup | [Solve Me First](https://www.hackerrank.com/challenges/solve-me-first) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Solve%20Me%20First/Solution.java) | -| Algorithms | Warmup | [Simple Array Sum](https://www.hackerrank.com/challenges/simple-array-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Simple%20Array%20Sum/Solution.java) | -| Algorithms | Warmup | [Compare the Triplets](https://www.hackerrank.com/challenges/compare-the-triplets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Compare%20the%20Triplets/Solution.java) | -| Algorithms | Warmup | [A Very Big Sum](https://www.hackerrank.com/challenges/a-very-big-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/A%20Very%20Big%20Sum/Solution.java) | -| Algorithms | Warmup | [Diagonal Difference](https://www.hackerrank.com/challenges/diagonal-difference) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Diagonal%20Difference/Solution.java) | -| Algorithms | Warmup | [Plus Minus](https://www.hackerrank.com/challenges/plus-minus) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Plus%20Minus/Solution.java) | -| Algorithms | Warmup | [Staircase](https://www.hackerrank.com/challenges/staircase) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Staircase/Solution.java) | -| Algorithms | Warmup | [Mini-max Sum](https://www.hackerrank.com/challenges/mini-max-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Mini-Max%20Sum/Solution.java) | -| Algorithms | Warmup | [Time Conversion](https://www.hackerrank.com/challenges/time-conversion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Time%20Conversion/Solution.java) | -| Algorithms | Implementation | [Grading Students](https://www.hackerrank.com/challenges/grading) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Grading%20Students/Solution.java) | -| Algorithms | Implementation | [Designer PDF Viewer](https://www.hackerrank.com/challenges/designer-pdf-viewer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Designer%20PDF%20Viewer/Solution.java) | -| Algorithms | Implementation | [Apple and Orange](https://www.hackerrank.com/challenges/apple-and-orange) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Apple%20and%20Orange/Solution.java) | -| Algorithms | Implementation | [Kangaroo](https://www.hackerrank.com/challenges/kangaroo) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Kangaroo/Solution.java) | -| Algorithms | Implementation | [Between Two Sets](https://www.hackerrank.com/challenges/between-two-sets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Between%20Two%20Sets/Solution.java) | -| Algorithms | Implementation | [Divisible Sum Pairs](https://www.hackerrank.com/challenges/divisible-sum-pairs) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Divisible%20Sum%20Pairs/Solution.java) | -| Algorithms | Implementation | [Bon Appetit](https://www.hackerrank.com/challenges/bon-appetit) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Bon%20Appetit/Solution.java) | -| Algorithms | Implementation | [Sock Merchant](https://www.hackerrank.com/challenges/sock-merchant) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sock%20Merchant/Solution.java) | -| Algorithms | Implementation | [The Hurdle Race](https://www.hackerrank.com/challenges/the-hurdle-race) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/The%20Hurdle%20Race/Solution.java) | -| Algorithms | Implementation | [Utopian Tree](https://www.hackerrank.com/challenges/utopian-tree) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Utopian%20Tree/Solution.java) | -| Algorithms | Implementation | [Angry Professor](https://www.hackerrank.com/challenges/angry-professor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Angry%20Professor/Solution.java) | -| Algorithms | Implementation | [Beautiful Days at the Movies](https://www.hackerrank.com/challenges/beautiful-days-at-the-movies) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Beautiful%20Days%20at%20the%20Movies/Solution.java) | -| Algorithms | Implementation | [Viral Advertising](https://www.hackerrank.com/challenges/strange-advertising) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Viral%20Advertising/Solution.java) | -| Algorithms | Implementation | [Save the Prisoner!](https://www.hackerrank.com/challenges/save-the-prisoner) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Save%20the%20Prisoner!/Solution.java) | -| Algorithms | Implementation | [Sequence Equation](https://www.hackerrank.com/challenges/permutation-equation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sequence%20Equation/Solution.java) | -| Algorithms | Implementation | [Circular Array Rotation](https://www.hackerrank.com/challenges/circular-array-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Circular%20Array%20Rotation/Solution.java) | -| Algorithms | Implementation | [Jumping on the Clouds - Revisited](https://www.hackerrank.com/challenges/jumping-on-the-clouds-revisited) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Jumping%20on%20the%20Clouds%20-%20Revisited/Solution.java) | -| Algorithms | Implementation | [Find Digits](https://www.hackerrank.com/challenges/find-digits) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Find%20Digits/Solution.java) | -| Algorithms | Implementation | [Extra Long Factorials](https://www.hackerrank.com/challenges/extra-long-factorials) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Extra%20Long%20Factorials/Solution.java) | -| Algorithms | Implementation | [Append and Delete](https://www.hackerrank.com/challenges/append-and-delete) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Append%20and%20Delete/Solution.java) | -| Algorithms | Implementation | [Sherlock and Squares](https://www.hackerrank.com/challenges/sherlock-and-squares) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sherlock%20and%20Squares/Solution.java) | -| Algorithms | Implementation | [Library Fine](https://www.hackerrank.com/challenges/library-fine) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Library%20Fine/Solution.java) | -| Algorithms | Implementation | [Cut the sticks](https://www.hackerrank.com/challenges/cut-the-sticks) | Easy | Coming Soon! | -| Algorithms | Implementation | [Non-Divisible Subset](https://www.hackerrank.com/challenges/non-divisible-subset) | Medium | Coming Soon! | -| Algorithms | Implementation | [Repeated String](https://www.hackerrank.com/challenges/repeated-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Repeated%20String/Solution.java) | -| Algorithms | Implementation | [Jumping on the Clouds](https://www.hackerrank.com/challenges/jumping-on-the-clouds) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Jumping%20on%20the%20Clouds/Solution.java) | -| Algorithms | Implementation | [Equalize the Array](https://www.hackerrank.com/challenges/equality-in-a-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Equalize%20the%20Array/Solution.java) | -| Algorithms | Implementation | [ACM ICPC Team](https://www.hackerrank.com/challenges/acm-icpc-team) | Easy | Coming Soon! | -| Algorithms | Implementation | [Taum and B'day](https://www.hackerrank.com/challenges/taum-and-bday) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Taum%20and%20B%27day/Solution.java) | -| Algorithms | Implementation | [Organizing Containers of Balls](https://www.hackerrank.com/challenges/organizing-containers-of-balls) | Medium | Coming Soon! | -| Algorithms | Implementation | [Encryption](https://www.hackerrank.com/challenges/encryption) | Medium | Coming Soon! | -| Algorithms | Implementation | [Bigger is Greater](https://www.hackerrank.com/challenges/bigger-is-greater) | Medium | Coming Soon! | -| Algorithms | Implementation | [Modified Kaprekar Numbers](https://www.hackerrank.com/challenges/kaprekar-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Modified%20Kaprekar%20Numbers/Solution.java) | -| Algorithms | Implementation | [Beautiful Triplets](https://www.hackerrank.com/challenges/beautiful-triplets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Beautiful%20Triplets/Solution.java) | -| Algorithms | Implementation | [Manasa and Stones](https://www.hackerrank.com/challenges/manasa-and-stones) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Manasa%20and%20Stones/Solution.java) | -| Algorithms | Implementation | [Minimum Distances](https://www.hackerrank.com/challenges/minimum-distances) | Easy | Coming Soon! | -| Algorithms | Implementation | [The Time in Words](https://www.hackerrank.com/challenges/the-time-in-words) | Medium | Coming Soon! | -| Algorithms | Implementation | [Cavity Map](https://www.hackerrank.com/challenges/cavity-map) | Easy | Coming Soon! | -| Algorithms | Implementation | [Chocolate Feast](https://www.hackerrank.com/challenges/chocolate-feast) | Easy | Coming Soon! | -| Algorithms | Implementation | [Service Lane](https://www.hackerrank.com/challenges/service-lane) | Easy | Coming Soon! | -| Algorithms | Implementation | [Lisa's Workbook](https://www.hackerrank.com/challenges/lisa-workbook) | Easy | Coming Soon! | -| Algorithms | Implementation | [The Grid Search](https://www.hackerrank.com/challenges/the-grid-search) | Medium | Coming Soon! | -| Algorithms | Implementation | [Flatland Space Stations](https://www.hackerrank.com/challenges/flatland-space-stations) | Easy | Coming Soon! | -| Algorithms | Implementation | [Fair Rations](https://www.hackerrank.com/challenges/fair-rations) | Easy | Coming Soon! | -| Algorithms | Implementation | [Happy Ladybugs](https://www.hackerrank.com/challenges/happy-ladybugs) | Easy | Coming Soon! | -| Algorithms | Implementation | [Strange Counter](https://www.hackerrank.com/challenges/strange-code) | Easy | Coming Soon! | -| Algorithms | Implementation | [Almost Sorted](https://www.hackerrank.com/challenges/almost-sorted) | Medium | Coming Soon! | -| Algorithms | Implementation | [Absolute Permutation](https://www.hackerrank.com/challenges/absolute-permutation) | Medium | Coming Soon! | -| Algorithms | Implementation | [The Bomberman Game](https://www.hackerrank.com/challenges/bomber-man) | Medium | Coming Soon! | -| Algorithms | Implementation | [Ema's Supercomputer](https://www.hackerrank.com/challenges/two-pluses) | Medium | Coming Soon! | -| Algorithms | Implementation | [Larry's Array](https://www.hackerrank.com/challenges/larrys-array) | Medium | Coming Soon! | -| Algorithms | Implementation | [Matrix Layer Rotation](https://www.hackerrank.com/challenges/matrix-rotation-algo) | Hard | Coming Soon! | -| Algorithms | Strings | [Super Reduced String](https://www.hackerrank.com/challenges/reduced-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Super%20Reduced%20String/Solution.java) | -| Algorithms | Strings | [CamelCase](https://www.hackerrank.com/challenges/camelcase) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/CamelCase/Solution.java) | -| Algorithms | Strings | [Two Characters](https://www.hackerrank.com/challenges/two-characters) | Easy | Coming Soon! | -| Algorithms | Strings | [Pangrams](https://www.hackerrank.com/challenges/pangrams) | Easy | Coming Soon! | -| Algorithms | Strings | [Caesar Cipher](https://www.hackerrank.com/challenges/caesar-cipher-1) | Easy | Coming Soon! | -| Algorithms | Strings | [Mars Exploration](https://www.hackerrank.com/challenges/mars-exploration) | Easy | Coming Soon! | -| Algorithms | Strings | [Funny String](https://www.hackerrank.com/challenges/funny-string) | Easy | Coming Soon! | -| Algorithms | Strings | [Gemstones](https://www.hackerrank.com/challenges/gem-stones) | Easy | Coming Soon! | -| Algorithms | Strings | [Alternating Characters](https://www.hackerrank.com/challenges/alternating-characters) | Easy | Coming Soon! | -| Algorithms | Strings | [Beautiful Binary String](https://www.hackerrank.com/challenges/beautiful-binary-string) | Easy | Coming Soon! | -| Algorithms | Strings | [The Love-Letter Mystery](https://www.hackerrank.com/challenges/the-love-letter-mystery) | Easy | Coming Soon! | -| Algorithms | Strings | [Palindrome Index](https://www.hackerrank.com/challenges/palindrome-index) | Easy | Coming Soon! | -| Algorithms | Strings | [Anagram](https://www.hackerrank.com/challenges/anagram) | Easy | Coming Soon! | -| Algorithms | Strings | [Making Anagrams](https://www.hackerrank.com/challenges/making-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Making%20Anagrams/Solution.java) | -| Algorithms | Strings | [Game of Thrones - I](https://www.hackerrank.com/challenges/game-of-thrones) | Easy | Coming Soon! | -| Algorithms | Strings | [Two Strings](https://www.hackerrank.com/challenges/two-strings) | Easy | Coming Soon! | -| Algorithms | Strings | [String Construction](https://www.hackerrank.com/challenges/string-construction) | Easy | Coming Soon! | -| Algorithms | Strings | [Sherlock and Valid String](https://www.hackerrank.com/challenges/sherlock-and-valid-string) | Hard | Coming Soon! | -| Algorithms | Strings | [Richie Rich](https://www.hackerrank.com/challenges/richie-rich) | Medium | Coming Soon! | -| Algorithms | Strings | [Sherlock and Anagrams](https://www.hackerrank.com/challenges/sherlock-and-anagrams) | Medium | Coming Soon! | -| Algorithms | Strings | [Common Child](https://www.hackerrank.com/challenges/common-child) | Hard | Coming Soon! | -| Algorithms | Strings | [Bear and Steady Gene](https://www.hackerrank.com/challenges/bear-and-steady-gene) | Medium | Coming Soon! | -| Algorithms | Strings | [Morgan and a String](https://www.hackerrank.com/challenges/morgan-and-a-string) | Expert | Coming Soon! | -| Algorithms | Strings | [Count Strings](https://www.hackerrank.com/challenges/count-strings) | Hard | Coming Soon! | -| Algorithms | Strings | [String Function Calculation](https://www.hackerrank.com/challenges/string-function-calculation) | Advanced | Coming Soon! | -| Algorithms | Strings | [Build a Palindrome](https://www.hackerrank.com/challenges/challenging-palindromes) | Advanced | Coming Soon! | -| Algorithms | Strings | [Build a String](https://www.hackerrank.com/challenges/build-a-string) | Hard | Coming Soon! | -| Algorithms | Strings | [Gridland Provinces](https://www.hackerrank.com/challenges/gridland-provinces) | Hard | Coming Soon! | -| Algorithms | Strings | [Ashton and String](https://www.hackerrank.com/challenges/ashton-and-string) | Advanced | Coming Soon! | -| Algorithms | Strings | [String Similarity](https://www.hackerrank.com/challenges/string-similarity) | Expert | Coming Soon! | -| Algorithms | Strings | [Super Functional Strings](https://www.hackerrank.com/challenges/super-functional-strings) | Advanced | Coming Soon! | -| Algorithms | Strings | [Circular Palindromes](https://www.hackerrank.com/challenges/circular-palindromes) | Advanced | Coming Soon! | -| Algorithms | Strings | [Similar Strings](https://www.hackerrank.com/challenges/similar-strings) | Advanced | Coming Soon! | -| Algorithms | Strings | [Save Humanity](https://www.hackerrank.com/challenges/save-humanity) | Expert | Coming Soon! | -| Algorithms | Strings | [Find Strings](https://www.hackerrank.com/challenges/find-strings) | Expert | Coming Soon! | -| Algorithms | Strings | [Palindromic Border](https://www.hackerrank.com/challenges/palindromic-border) | Expert | Coming Soon! | -| Algorithms | Strings | [Two Two](https://www.hackerrank.com/challenges/two-two) | Advanced | Coming Soon! | -| Algorithms | Strings | [Two Strings Game](https://www.hackerrank.com/challenges/two-strings-game) | Expert | Coming Soon! | -| Algorithms | Strings | [Letter Islands](https://www.hackerrank.com/challenges/letter-islands) | Expert | Coming Soon! | -| Algorithms | Strings | [Pseudo-Isomorphic Substrings](https://www.hackerrank.com/challenges/pseudo-isomorphic-substrings) | Expert | Coming Soon! | -| Algorithms | Sorting | [Intro to Tutorial Challenges](https://www.hackerrank.com/challenges/tutorial-intro) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Intro%20to%20Tutorial%20Challenges/Solution.java) | -| Algorithms | Sorting | [Insertion Sort - Part 1](https://www.hackerrank.com/challenges/insertionsort1) | Easy | Coming Soon! | -| Algorithms | Sorting | [Insertion Sort - Part 2](https://www.hackerrank.com/challenges/insertionsort2) | Easy | Coming Soon! | -| Algorithms | Sorting | [Correctness and the Loop Invariant](https://www.hackerrank.com/challenges/correctness-invariant) | Easy | Coming Soon! | -| Algorithms | Sorting | [Running Time of Algorithms](https://www.hackerrank.com/challenges/runningtime) | Easy | Coming Soon! | -| Algorithms | Sorting | [Quicksort 1 - Partition](https://www.hackerrank.com/challenges/quicksort1) | Easy | Coming Soon! | -| Algorithms | Sorting | [Quicksort 2 - Sorting](https://www.hackerrank.com/challenges/quicksort2) | Easy | Coming Soon! | -| Algorithms | Sorting | [Quicksort In-Place](https://www.hackerrank.com/challenges/quicksort3) | Medium | Coming Soon! | -| Algorithms | Sorting | [Running Time of Quicksort](https://www.hackerrank.com/challenges/quicksort4) | Easy | Coming Soon! | -| Algorithms | Sorting | [Counting Sort 1](https://www.hackerrank.com/challenges/countingsort1) | Easy | Coming Soon! | -| Algorithms | Sorting | [Counting Sort 2](https://www.hackerrank.com/challenges/countingsort2) | Easy | Coming Soon! | -| Algorithms | Sorting | [Counting Sort 3](https://www.hackerrank.com/challenges/countingsort3) | Easy | Coming Soon! | -| Algorithms | Sorting | [The Full Counting Sort](https://www.hackerrank.com/challenges/countingsort4) | Medium | Coming Soon! | -| Algorithms | Sorting | [Closest Numbers](https://www.hackerrank.com/challenges/closest-numbers) | Easy | Coming Soon! | -| Algorithms | Sorting | [Find the Median](https://www.hackerrank.com/challenges/find-the-median) | Easy | Coming Soon! | -| Algorithms | Sorting | [Insertion Sort Advanced Analysis](https://www.hackerrank.com/challenges/insertion-sort) | Advanced | Coming Soon! | -| Algorithms | Sorting | [Fraudulent Activity Notifications](https://www.hackerrank.com/challenges/fraudulent-activity-notifications) | Medium | Coming Soon! | -| Algorithms | Sorting | [Lily's Homework](https://www.hackerrank.com/challenges/lilys-homework) | Medium | Coming Soon! | -| Algorithms | Search | [Hackerland Radio Transmitters](https://www.hackerrank.com/challenges/hackerland-radio-transmitters) | Easy | Coming Soon! | -| Algorithms | Search | [Ice Cream Parlor](https://www.hackerrank.com/challenges/icecream-parlor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Search/Ice%20Cream%20Parlor/Solution.java) | -| Algorithms | Search | [Gridland Metro](https://www.hackerrank.com/challenges/gridland-metro) | Medium | Coming Soon! | -| Algorithms | Search | [Missing Numbers](https://www.hackerrank.com/challenges/missing-numbers) | Easy | Coming Soon! | -| Algorithms | Search | [Pairs](https://www.hackerrank.com/challenges/pairs) | Medium | Coming Soon! | -| Algorithms | Search | [Sherlock and Array](https://www.hackerrank.com/challenges/sherlock-and-array) | Easy | Coming Soon! | -| Algorithms | Search | [Maximum Subarray Sum](https://www.hackerrank.com/challenges/maximum-subarray-sum) | Hard | Coming Soon! | -| Algorithms | Search | [Connected Cells in a Grid](https://www.hackerrank.com/challenges/connected-cell-in-a-grid) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Search/Connected%20Cells%20in%20a%20Grid/Solution.java) | -| Algorithms | Search | [Short Palindrome](https://www.hackerrank.com/challenges/short-palindrome) | Medium | Coming Soon! | -| Algorithms | Search | [Count Luck](https://www.hackerrank.com/challenges/count-luck) | Medium | Coming Soon! | -| Algorithms | Search | [Cut the Tree](https://www.hackerrank.com/challenges/cut-the-tree) | Medium | Coming Soon! | -| Algorithms | Search | [Making Candies](https://www.hackerrank.com/challenges/making-candies) | Hard | Coming Soon! | -| Algorithms | Search | [Gene Playing Hanoi](https://www.hackerrank.com/challenges/gena) | Medium | Coming Soon! | -| Algorithms | Search | [Beautiful Quadruples](https://www.hackerrank.com/challenges/xor-quadruples) | Medium | Coming Soon! | -| Algorithms | Search | [Bike Racers](https://www.hackerrank.com/challenges/bike-racers) | Hard | Coming Soon! | -| Algorithms | Search | [Task Scheduling](https://www.hackerrank.com/challenges/task-scheduling) | Advanced | Coming Soon! | -| Algorithms | Search | [Similar Pair](https://www.hackerrank.com/challenges/similarpair) | Advanced | Coming Soon! | -| Algorithms | Search | [Absolute Element Sums](https://www.hackerrank.com/challenges/playing-with-numbers) | Hard | Coming Soon! | -| Algorithms | Search | [Sorted Subsegments](https://www.hackerrank.com/challenges/sorted-subsegments) | Hard | Coming Soon! | -| Algorithms | Search | [King Richard's Knights](https://www.hackerrank.com/challenges/king-richards-knights) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Journey to the Moon](https://www.hackerrank.com/challenges/journey-to-the-moon) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Synchronous Shopping](https://www.hackerrank.com/challenges/synchronous-shopping) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Subset Component](https://www.hackerrank.com/challenges/subset-component) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Breadth First Search - Shortest Reach](https://www.hackerrank.com/challenges/bfsshortreach) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Graph%20Theory/Breadth%20First%20Search%20-%20Shortest%20Reach/Solution.java) | -| Algorithms | Graph Theory | [Kruskal (MST) - Really Special Subtree](https://www.hackerrank.com/challenges/kruskalmstrsub) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Even Tree](https://www.hackerrank.com/challenges/even-tree) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Snakes and Ladders - The Quickest Way Up](https://www.hackerrank.com/challenges/the-quickest-way-up) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Dijkstra - Shortest Reach 2](https://www.hackerrank.com/challenges/dijkstrashortreach) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Prim's (MST) - Special Subtree](https://www.hackerrank.com/challenges/primsmstsub) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Clique](https://www.hackerrank.com/challenges/clique) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Minimum Penalty Path](https://www.hackerrank.com/challenges/beautiful-path) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Demanding Money](https://www.hackerrank.com/challenges/borrowing-money) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Jack goes to Rapture](https://www.hackerrank.com/challenges/jack-goes-to-rapture) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Crab Graphs](https://www.hackerrank.com/challenges/crab-graphs) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Bead Ornaments](https://www.hackerrank.com/challenges/beadornaments) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Jeanie's Route](https://www.hackerrank.com/challenges/jeanies-route) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Floyd - City of Blinding Lights](https://www.hackerrank.com/challenges/floyd-city-of-blinding-lights) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Roads in HackerLand](https://www.hackerrank.com/challenges/johnland) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Kingdom Connectivity](https://www.hackerrank.com/challenges/kingdom-connectivity) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Computer Game](https://www.hackerrank.com/challenges/computer-game) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Rust & Murderer](https://www.hackerrank.com/challenges/rust-murderer) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Problem solving](https://www.hackerrank.com/challenges/problem-solving) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Journey Scheduling](https://www.hackerrank.com/challenges/journey-scheduling) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Matrix](https://www.hackerrank.com/challenges/matrix) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Recording Episodes](https://www.hackerrank.com/challenges/episode-recording) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Repair Roads](https://www.hackerrank.com/challenges/repair-roads) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Kth Ancestor](https://www.hackerrank.com/challenges/kth-ancestor) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [ByteLandian Tours](https://www.hackerrank.com/challenges/bytelandian-tours) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Find the Path](https://www.hackerrank.com/challenges/shortest-path) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Savita And Friends](https://www.hackerrank.com/challenges/savita-and-friends) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Liars](https://www.hackerrank.com/challenges/liars) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Jumping Rooks](https://www.hackerrank.com/challenges/jumping-rooks) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Tripartite Matching](https://www.hackerrank.com/challenges/tripartite-matching) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Tree Flow](https://www.hackerrank.com/challenges/tree-flow) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [DAG Queries](https://www.hackerrank.com/challenges/dag-queries) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Favorite sequence](https://www.hackerrank.com/challenges/favourite-sequence) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Jogging Cats](https://www.hackerrank.com/challenges/cat-jogging) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Quadrant Queries](https://www.hackerrank.com/challenges/quadrant-queries) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Hacker Country](https://www.hackerrank.com/challenges/hacker-country) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [HackerX](https://www.hackerrank.com/challenges/missile-defend) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Huarongdao](https://www.hackerrank.com/challenges/huarongdao) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Training the army](https://www.hackerrank.com/challenges/training-the-army) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Jim and his LAN Party](https://www.hackerrank.com/challenges/jim-and-his-lan-party) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Travel in HackerLand](https://www.hackerrank.com/challenges/travel-in-hackerland) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Alex vs Fedor](https://www.hackerrank.com/challenges/alex-vs-fedor) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Vertical Paths](https://www.hackerrank.com/challenges/vertical-paths) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Drive](https://www.hackerrank.com/challenges/drive) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Travelling Salesman in a Grid](https://www.hackerrank.com/challenges/tsp-grid) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Road Network](https://www.hackerrank.com/challenges/road-network) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Going to the Office](https://www.hackerrank.com/challenges/going-office) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Tree Splitting](https://www.hackerrank.com/challenges/tree-splitting) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Ticket](https://www.hackerrank.com/challenges/ticket) | Expert | Coming Soon! | -| Algorithms | Greedy | [Grid Challenge](https://www.hackerrank.com/challenges/grid-challenge) | Easy | Coming Soon! | -| Algorithms | Greedy | [Luck Balance](https://www.hackerrank.com/challenges/luck-balance) | Easy | Coming Soon! | -| Algorithms | Greedy | [Maximum Perimeter Triangle](https://www.hackerrank.com/challenges/maximum-perimeter-triangle) | Easy | Coming Soon! | -| Algorithms | Greedy | [Beautiful Pairs](https://www.hackerrank.com/challenges/beautiful-pairs) | Easy | Coming Soon! | -| Algorithms | Greedy | [Sherlock and The Beast](https://www.hackerrank.com/challenges/sherlock-and-the-beast) | Easy | Coming Soon! | -| Algorithms | Greedy | [Priyanka and Toys](https://www.hackerrank.com/challenges/priyanka-and-toys) | Easy | Coming Soon! | -| Algorithms | Greedy | [Largest Permutation](https://www.hackerrank.com/challenges/largest-permutation) | Easy | Coming Soon! | -| Algorithms | Greedy | [Mark and Toys](https://www.hackerrank.com/challenges/mark-and-toys) | Easy | Coming Soon! | -| Algorithms | Greedy | [Greedy Florist](https://www.hackerrank.com/challenges/greedy-florist) | Medium | Coming Soon! | -| Algorithms | Greedy | [Max Min](https://www.hackerrank.com/challenges/angry-children) | Medium | Coming Soon! | -| Algorithms | Greedy | [Jim and the Orders](https://www.hackerrank.com/challenges/jim-and-the-orders) | Easy | Coming Soon! | -| Algorithms | Greedy | [Permuting Two Arrays](https://www.hackerrank.com/challenges/two-arrays) | Easy | Coming Soon! | -| Algorithms | Greedy | [Cutting Boards](https://www.hackerrank.com/challenges/board-cutting) | Hard | Coming Soon! | -| Algorithms | Greedy | [Reverse Shuffle Merge](https://www.hackerrank.com/challenges/reverse-shuffle-merge) | Advanced | Coming Soon! | -| Algorithms | Greedy | [Goodland Electricity](https://www.hackerrank.com/challenges/pylons) | Medium | Coming Soon! | -| Algorithms | Greedy | [Chief Hopper](https://www.hackerrank.com/challenges/chief-hopper) | Hard | Coming Soon! | -| Algorithms | Greedy | [Sherlock and MiniMax](https://www.hackerrank.com/challenges/sherlock-and-minimax) | Hard | Coming Soon! | -| Algorithms | Greedy | [Accessory Collection](https://www.hackerrank.com/challenges/accessory-collection) | Hard | Coming Soon! | -| Algorithms | Greedy | [Team Formation](https://www.hackerrank.com/challenges/team-formation) | Advanced | Coming Soon! | -| Algorithms | Greedy | [Fighting Pits](https://www.hackerrank.com/challenges/fighting-pits) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [The Coin Change Problem](https://www.hackerrank.com/challenges/coin-change) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Dynamic%20Programming/The%20Coin%20Change%20Problem/Solution.java) | -| Algorithms | Dynamic Programming | [Equal](https://www.hackerrank.com/challenges/equal) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Sherlock and Cost](https://www.hackerrank.com/challenges/sherlock-and-cost) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Vertical Sticks](https://www.hackerrank.com/challenges/vertical-sticks) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Candies](https://www.hackerrank.com/challenges/candies) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Angry Children 2](https://www.hackerrank.com/challenges/angry-children-2) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Sam and sub-strings](https://www.hackerrank.com/challenges/sam-and-substrings) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Fibonacci Modified](https://www.hackerrank.com/challenges/fibonacci-modified) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Abbreviation](https://www.hackerrank.com/challenges/abbr) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [The Maximum Subarray](https://www.hackerrank.com/challenges/maxsubarray) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Fair Cut](https://www.hackerrank.com/challenges/fair-cut) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [HackerRank City](https://www.hackerrank.com/challenges/hr-city) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Summing Pieces](https://www.hackerrank.com/challenges/summing-pieces) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Mr K marsh](https://www.hackerrank.com/challenges/mr-k-marsh) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Substring Diff](https://www.hackerrank.com/challenges/substring-diff) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Xor and Sum](https://www.hackerrank.com/challenges/xor-and-sum) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Lego Blocks](https://www.hackerrank.com/challenges/lego-blocks) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Brick Tiling](https://www.hackerrank.com/challenges/brick-tiling) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Alien Languages](https://www.hackerrank.com/challenges/alien-languages) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Stock Maximize](https://www.hackerrank.com/challenges/stockmax) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Two Robots](https://www.hackerrank.com/challenges/two-robots) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Cut Tree](https://www.hackerrank.com/challenges/cuttree) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Wet Shark and Two Subsequences](https://www.hackerrank.com/challenges/wet-shark-and-two-subsequences) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Nikita and the Game](https://www.hackerrank.com/challenges/array-splitting) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Mandragora Forest](https://www.hackerrank.com/challenges/mandragora) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Red John is Back](https://www.hackerrank.com/challenges/red-john-is-back) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [LCS Returns](https://www.hackerrank.com/challenges/tutzki-and-lcs) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Grid Walking](https://www.hackerrank.com/challenges/grid-walking) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Knapsack](https://www.hackerrank.com/challenges/unbounded-knapsack) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Bricks Game](https://www.hackerrank.com/challenges/play-game) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [The Longest Increasing Subsequence](https://www.hackerrank.com/challenges/longest-increasing-subsequent) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Coin on the Table](https://www.hackerrank.com/challenges/coin-on-the-table) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [The Longest Common Subsequence](https://www.hackerrank.com/challenges/dynamic-programming-classics-the-longest-common-subsequence) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Play with words](https://www.hackerrank.com/challenges/strplay) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Black and White Tree](https://www.hackerrank.com/challenges/black-n-white-tree-1) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Counting Special Sub-Cubes](https://www.hackerrank.com/challenges/counting-special-sub-cubes) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Interval Selection](https://www.hackerrank.com/challenges/interval-selection) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [String Reduction](https://www.hackerrank.com/challenges/string-reduction) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Far Vertices](https://www.hackerrank.com/challenges/far-vertices) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Superman Celebrates Diwali](https://www.hackerrank.com/challenges/superman-celebrates-diwali) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Hexagonal Grid](https://www.hackerrank.com/challenges/hexagonal-grid) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Queens on Board](https://www.hackerrank.com/challenges/queens-on-board) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Shashank and the Palindromic Strings](https://www.hackerrank.com/challenges/shashank-and-palindromic-strings) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Points in a Plane](https://www.hackerrank.com/challenges/points-in-a-plane) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [The Indian Job](https://www.hackerrank.com/challenges/the-indian-job) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Requirement](https://www.hackerrank.com/challenges/requirement) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [A Super Hero](https://www.hackerrank.com/challenges/a-super-hero) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Clues on a Binary Path](https://www.hackerrank.com/challenges/clues-on-a-binary-path) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Road Maintenance](https://www.hackerrank.com/challenges/road-maintenance) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Billboards](https://www.hackerrank.com/challenges/billboards) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Beautiful Strings](https://www.hackerrank.com/challenges/beautiful-string) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Covering the stains](https://www.hackerrank.com/challenges/covering-the-stains) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Fairy Chess](https://www.hackerrank.com/challenges/fairy-chess) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Travel around the world](https://www.hackerrank.com/challenges/travel-around-the-world) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [New Year Present](https://www.hackerrank.com/challenges/newyear-present) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Longest Palindromic Subsequence](https://www.hackerrank.com/challenges/longest-palindromic-subsequence) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Candles Counting](https://www.hackerrank.com/challenges/candles-2) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Hyper Strings](https://www.hackerrank.com/challenges/hyper-strings) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Swap Permutation](https://www.hackerrank.com/challenges/swappermutation) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Extremum Permutations](https://www.hackerrank.com/challenges/extremum-permutations) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Square Subsequences](https://www.hackerrank.com/challenges/square-subsequences) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Dorsey Thief](https://www.hackerrank.com/challenges/dorsey-thief) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Mining](https://www.hackerrank.com/challenges/mining) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Police Operation](https://www.hackerrank.com/challenges/police-operation) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Zurikela's Graph](https://www.hackerrank.com/challenges/zurikela) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Modify The Sequence](https://www.hackerrank.com/challenges/modify-the-sequence) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Longest Mod Path](https://www.hackerrank.com/challenges/longest-mod-path) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [P-sequences](https://www.hackerrank.com/challenges/p-sequences) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Robot](https://www.hackerrank.com/challenges/robot) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Lucky Numbers](https://www.hackerrank.com/challenges/lucky-numbers) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Unfair Game](https://www.hackerrank.com/challenges/unfair-game) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Oil Well](https://www.hackerrank.com/challenges/oil-well) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Find the Seed](https://www.hackerrank.com/challenges/find-the-seed) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [The Blacklist](https://www.hackerrank.com/challenges/the-blacklist) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Tree Pruning](https://www.hackerrank.com/challenges/tree-pruning) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Ones and Twos](https://www.hackerrank.com/challenges/ones-and-twos) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Count Scorecards](https://www.hackerrank.com/challenges/count-scorecards) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Vim War](https://www.hackerrank.com/challenges/vim-war) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Best spot](https://www.hackerrank.com/challenges/best-spot) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Divisible Numbers](https://www.hackerrank.com/challenges/divisible-numbers) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Unique Divide And Conquer](https://www.hackerrank.com/challenges/unique-divide-and-conquer) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [King and Four Sons](https://www.hackerrank.com/challenges/happy-king) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Dortmund Dilemma](https://www.hackerrank.com/challenges/dortmund-dilemma) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Super Kth LIS](https://www.hackerrank.com/challenges/super-kth-lis) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Counting the Ways](https://www.hackerrank.com/challenges/count-ways-1) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Hard Disk Drives](https://www.hackerrank.com/challenges/hard-drive-disks) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Separate the chocolate](https://www.hackerrank.com/challenges/separate-the-chocolate) | Expert | Coming Soon! | -| Algorithms | Constructive Algorithms | [Flipping the Matrix](https://www.hackerrank.com/challenges/flipping-the-matrix) | Medium | Coming Soon! | -| Algorithms | Constructive Algorithms | [New Year Chaos](https://www.hackerrank.com/challenges/new-year-chaos) | Medium | Coming Soon! | -| Algorithms | Constructive Algorithms | [Bonetrousle](https://www.hackerrank.com/challenges/bonetrousle) | Medium | Coming Soon! | -| Algorithms | Constructive Algorithms | [Yet Another KMP Problem](https://www.hackerrank.com/challenges/kmp-problem) | Hard | Coming Soon! | -| Algorithms | Constructive Algorithms | [Beautiful 3 Set](https://www.hackerrank.com/challenges/beautiful-3-set) | Hard | Coming Soon! | -| Algorithms | Constructive Algorithms | [Inverse RMQ](https://www.hackerrank.com/challenges/inverse-rmq) | Hard | Coming Soon! | -| Algorithms | Constructive Algorithms | [Lovely Triplets](https://www.hackerrank.com/challenges/lovely-triplets) | Advanced | Coming Soon! | -| Algorithms | Constructive Algorithms | [Array Construction](https://www.hackerrank.com/challenges/array-construction) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [Lonely Integer](https://www.hackerrank.com/challenges/lonely-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Bit%20Manipulation/Lonely%20Integer/Solution.java) | -| Algorithms | Bit Manipulation | [Maximizing XOR](https://www.hackerrank.com/challenges/maximizing-xor) | Easy | Coming Soon! | -| Algorithms | Bit Manipulation | [Counter game](https://www.hackerrank.com/challenges/counter-game) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Xor-sequence](https://www.hackerrank.com/challenges/xor-se) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Sum vs XOR](https://www.hackerrank.com/challenges/sum-vs-xor) | Easy | Coming Soon! | -| Algorithms | Bit Manipulation | [Flipping bits](https://www.hackerrank.com/challenges/flipping-bits) | Easy | Coming Soon! | -| Algorithms | Bit Manipulation | [Yet Another Minimax Problem](https://www.hackerrank.com/challenges/yet-another-minimax-problem) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Sansa and XOR](https://www.hackerrank.com/challenges/sansa-and-xor) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [AND Product](https://www.hackerrank.com/challenges/and-product) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Xoring Ninja](https://www.hackerrank.com/challenges/xoring-ninja) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [Cipher](https://www.hackerrank.com/challenges/cipher) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [XOR Matrix](https://www.hackerrank.com/challenges/xor-matrix) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [What's Next](https://www.hackerrank.com/challenges/whats-next) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [String Transmission](https://www.hackerrank.com/challenges/string-transmission) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [A or B](https://www.hackerrank.com/challenges/aorb) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Manipulative Numbers](https://www.hackerrank.com/challenges/manipulative-numbers) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [Stone game](https://www.hackerrank.com/challenges/stonegame) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [2's complement](https://www.hackerrank.com/challenges/2s-complement) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [Changing Bits](https://www.hackerrank.com/challenges/changing-bits) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [XOR key](https://www.hackerrank.com/challenges/xor-key) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [Maximizing the Function](https://www.hackerrank.com/challenges/maximizing-the-function) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [XOR Subsequences](https://www.hackerrank.com/challenges/xor-subsequence) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [Iterate It](https://www.hackerrank.com/challenges/iterate-it) | Expert | Coming Soon! | -| Algorithms | Bit Manipulation | [Hamming Distance](https://www.hackerrank.com/challenges/hamming-distance) | Expert | Coming Soon! | -| Algorithms | Bit Manipulation | [Mixing proteins](https://www.hackerrank.com/challenges/pmix) | Hard | Coming Soon! | -| Algorithms | Recursion | [Simplified Chess Engine](https://www.hackerrank.com/challenges/simplified-chess-engine) | Medium | Coming Soon! | -| Algorithms | Recursion | [Repetitive K-Sums](https://www.hackerrank.com/challenges/repeat-k-sums) | Advanced | Coming Soon! | -| Algorithms | Game Theory | [Game of Stones](https://www.hackerrank.com/challenges/game-of-stones-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Tower Breakers](https://www.hackerrank.com/challenges/tower-breakers-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [A Chessboard Game](https://www.hackerrank.com/challenges/a-chessboard-game-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Introduction to Nim Game](https://www.hackerrank.com/challenges/nim-game-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Misere Nim](https://www.hackerrank.com/challenges/misere-nim-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Nimble Game](https://www.hackerrank.com/challenges/nimble-game-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Poker Nim](https://www.hackerrank.com/challenges/poker-nim-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Tower Breakers, Revisited!](https://www.hackerrank.com/challenges/tower-breakers-revisited-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Tower Breakers, Again!](https://www.hackerrank.com/challenges/tower-breakers-again-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Chessboard Game, Again!](https://www.hackerrank.com/challenges/chessboard-game-again-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Digits Square Board](https://www.hackerrank.com/challenges/digits-square-board-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Fun Game](https://www.hackerrank.com/challenges/fun-game-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Stone Division](https://www.hackerrank.com/challenges/stone-division) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Chocolate in Box](https://www.hackerrank.com/challenges/chocolate-in-box) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Kitty and Katty](https://www.hackerrank.com/challenges/kitty-and-katty) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Powers Game](https://www.hackerrank.com/challenges/powers-game-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Deforestation](https://www.hackerrank.com/challenges/deforestation-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Bob and Ben](https://www.hackerrank.com/challenges/bob-and-ben) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Tower Breakers - The Final Battle](https://www.hackerrank.com/challenges/tower-breakers-the-final-battle-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Simple Game](https://www.hackerrank.com/challenges/simple-game) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Permutation game](https://www.hackerrank.com/challenges/permutation-game) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Move the Coins](https://www.hackerrank.com/challenges/move-the-coins) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Play on benders](https://www.hackerrank.com/challenges/benders-play) | Medium | Coming Soon! | -| Algorithms | Game Theory | [New Year Game](https://www.hackerrank.com/challenges/newyear-game) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Stone Piles](https://www.hackerrank.com/challenges/stone-piles) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Chocolate Game](https://www.hackerrank.com/challenges/chocolate-game) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Manasa and Prime game](https://www.hackerrank.com/challenges/manasa-and-prime-game) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Vertical Rooks](https://www.hackerrank.com/challenges/vertical-rooks) | Medium | Coming Soon! | -| Algorithms | Game Theory | [A stones game](https://www.hackerrank.com/challenges/half) | Medium | Coming Soon! | -| Algorithms | NP Complete | [Walking the Approximate Longest Path](https://www.hackerrank.com/challenges/walking-the-approximate-longest-path) | Hard | Coming Soon! | -| Algorithms | NP Complete | [Spies, Revisited](https://www.hackerrank.com/challenges/spies-revised) | Expert | Coming Soon! | -| Algorithms | NP Complete | [TBS Problem](https://www.hackerrank.com/challenges/tbsp) | Expert | Coming Soon! | +| Subdomain | Challenge | Difficulty | Solution | +|:-----------------------:|:-----------------------------------------------------------------------------------------------------------------------------------:|:----------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Warmup | [Solve Me First](https://www.hackerrank.com/challenges/solve-me-first) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Solve%20Me%20First/Solution.java) | +| Warmup | [Simple Array Sum](https://www.hackerrank.com/challenges/simple-array-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Simple%20Array%20Sum/Solution.java) | +| Warmup | [Compare the Triplets](https://www.hackerrank.com/challenges/compare-the-triplets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Compare%20the%20Triplets/Solution.java) | +| Warmup | [A Very Big Sum](https://www.hackerrank.com/challenges/a-very-big-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/A%20Very%20Big%20Sum/Solution.java) | +| Warmup | [Diagonal Difference](https://www.hackerrank.com/challenges/diagonal-difference) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Diagonal%20Difference/Solution.java) | +| Warmup | [Plus Minus](https://www.hackerrank.com/challenges/plus-minus) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Plus%20Minus/Solution.java) | +| Warmup | [Staircase](https://www.hackerrank.com/challenges/staircase) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Staircase/Solution.java) | +| Warmup | [Mini-max Sum](https://www.hackerrank.com/challenges/mini-max-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Mini-Max%20Sum/Solution.java) | +| Warmup | [Time Conversion](https://www.hackerrank.com/challenges/time-conversion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Time%20Conversion/Solution.java) | +| Implementation | [Grading Students](https://www.hackerrank.com/challenges/grading) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Grading%20Students/Solution.java) | +| Implementation | [Designer PDF Viewer](https://www.hackerrank.com/challenges/designer-pdf-viewer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Designer%20PDF%20Viewer/Solution.java) | +| Implementation | [Apple and Orange](https://www.hackerrank.com/challenges/apple-and-orange) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Apple%20and%20Orange/Solution.java) | +| Implementation | [Kangaroo](https://www.hackerrank.com/challenges/kangaroo) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Kangaroo/Solution.java) | +| Implementation | [Between Two Sets](https://www.hackerrank.com/challenges/between-two-sets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Between%20Two%20Sets/Solution.java) | +| Implementation | [Divisible Sum Pairs](https://www.hackerrank.com/challenges/divisible-sum-pairs) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Divisible%20Sum%20Pairs/Solution.java) | +| Implementation | [Bon Appetit](https://www.hackerrank.com/challenges/bon-appetit) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Bon%20Appetit/Solution.java) | +| Implementation | [Sock Merchant](https://www.hackerrank.com/challenges/sock-merchant) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sock%20Merchant/Solution.java) | +| Implementation | [The Hurdle Race](https://www.hackerrank.com/challenges/the-hurdle-race) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/The%20Hurdle%20Race/Solution.java) | +| Implementation | [Utopian Tree](https://www.hackerrank.com/challenges/utopian-tree) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Utopian%20Tree/Solution.java) | +| Implementation | [Angry Professor](https://www.hackerrank.com/challenges/angry-professor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Angry%20Professor/Solution.java) | +| Implementation | [Beautiful Days at the Movies](https://www.hackerrank.com/challenges/beautiful-days-at-the-movies) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Beautiful%20Days%20at%20the%20Movies/Solution.java) | +| Implementation | [Viral Advertising](https://www.hackerrank.com/challenges/strange-advertising) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Viral%20Advertising/Solution.java) | +| Implementation | [Save the Prisoner!](https://www.hackerrank.com/challenges/save-the-prisoner) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Save%20the%20Prisoner!/Solution.java) | +| Implementation | [Sequence Equation](https://www.hackerrank.com/challenges/permutation-equation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sequence%20Equation/Solution.java) | +| Implementation | [Circular Array Rotation](https://www.hackerrank.com/challenges/circular-array-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Circular%20Array%20Rotation/Solution.java) | +| Implementation | [Jumping on the Clouds - Revisited](https://www.hackerrank.com/challenges/jumping-on-the-clouds-revisited) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Jumping%20on%20the%20Clouds%20-%20Revisited/Solution.java) | +| Implementation | [Find Digits](https://www.hackerrank.com/challenges/find-digits) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Find%20Digits/Solution.java) | +| Implementation | [Extra Long Factorials](https://www.hackerrank.com/challenges/extra-long-factorials) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Extra%20Long%20Factorials/Solution.java) | +| Implementation | [Append and Delete](https://www.hackerrank.com/challenges/append-and-delete) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Append%20and%20Delete/Solution.java) | +| Implementation | [Sherlock and Squares](https://www.hackerrank.com/challenges/sherlock-and-squares) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sherlock%20and%20Squares/Solution.java) | +| Implementation | [Library Fine](https://www.hackerrank.com/challenges/library-fine) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Library%20Fine/Solution.java) | +| Implementation | [Cut the sticks](https://www.hackerrank.com/challenges/cut-the-sticks) | Easy | Coming Soon! | +| Implementation | [Non-Divisible Subset](https://www.hackerrank.com/challenges/non-divisible-subset) | Medium | Coming Soon! | +| Implementation | [Repeated String](https://www.hackerrank.com/challenges/repeated-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Repeated%20String/Solution.java) | +| Implementation | [Jumping on the Clouds](https://www.hackerrank.com/challenges/jumping-on-the-clouds) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Jumping%20on%20the%20Clouds/Solution.java) | +| Implementation | [Equalize the Array](https://www.hackerrank.com/challenges/equality-in-a-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Equalize%20the%20Array/Solution.java) | +| Implementation | [ACM ICPC Team](https://www.hackerrank.com/challenges/acm-icpc-team) | Easy | Coming Soon! | +| Implementation | [Taum and B'day](https://www.hackerrank.com/challenges/taum-and-bday) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Taum%20and%20B%27day/Solution.java) | +| Implementation | [Organizing Containers of Balls](https://www.hackerrank.com/challenges/organizing-containers-of-balls) | Medium | Coming Soon! | +| Implementation | [Encryption](https://www.hackerrank.com/challenges/encryption) | Medium | Coming Soon! | +| Implementation | [Bigger is Greater](https://www.hackerrank.com/challenges/bigger-is-greater) | Medium | Coming Soon! | +| Implementation | [Modified Kaprekar Numbers](https://www.hackerrank.com/challenges/kaprekar-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Modified%20Kaprekar%20Numbers/Solution.java) | +| Implementation | [Beautiful Triplets](https://www.hackerrank.com/challenges/beautiful-triplets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Beautiful%20Triplets/Solution.java) | +| Implementation | [Manasa and Stones](https://www.hackerrank.com/challenges/manasa-and-stones) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Manasa%20and%20Stones/Solution.java) | +| Implementation | [Minimum Distances](https://www.hackerrank.com/challenges/minimum-distances) | Easy | Coming Soon! | +| Implementation | [The Time in Words](https://www.hackerrank.com/challenges/the-time-in-words) | Medium | Coming Soon! | +| Implementation | [Cavity Map](https://www.hackerrank.com/challenges/cavity-map) | Easy | Coming Soon! | +| Implementation | [Chocolate Feast](https://www.hackerrank.com/challenges/chocolate-feast) | Easy | Coming Soon! | +| Implementation | [Service Lane](https://www.hackerrank.com/challenges/service-lane) | Easy | Coming Soon! | +| Implementation | [Lisa's Workbook](https://www.hackerrank.com/challenges/lisa-workbook) | Easy | Coming Soon! | +| Implementation | [The Grid Search](https://www.hackerrank.com/challenges/the-grid-search) | Medium | Coming Soon! | +| Implementation | [Flatland Space Stations](https://www.hackerrank.com/challenges/flatland-space-stations) | Easy | Coming Soon! | +| Implementation | [Fair Rations](https://www.hackerrank.com/challenges/fair-rations) | Easy | Coming Soon! | +| Implementation | [Happy Ladybugs](https://www.hackerrank.com/challenges/happy-ladybugs) | Easy | Coming Soon! | +| Implementation | [Strange Counter](https://www.hackerrank.com/challenges/strange-code) | Easy | Coming Soon! | +| Implementation | [Almost Sorted](https://www.hackerrank.com/challenges/almost-sorted) | Medium | Coming Soon! | +| Implementation | [Absolute Permutation](https://www.hackerrank.com/challenges/absolute-permutation) | Medium | Coming Soon! | +| Implementation | [The Bomberman Game](https://www.hackerrank.com/challenges/bomber-man) | Medium | Coming Soon! | +| Implementation | [Ema's Supercomputer](https://www.hackerrank.com/challenges/two-pluses) | Medium | Coming Soon! | +| Implementation | [Larry's Array](https://www.hackerrank.com/challenges/larrys-array) | Medium | Coming Soon! | +| Implementation | [Matrix Layer Rotation](https://www.hackerrank.com/challenges/matrix-rotation-algo) | Hard | Coming Soon! | +| Strings | [Super Reduced String](https://www.hackerrank.com/challenges/reduced-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Super%20Reduced%20String/Solution.java) | +| Strings | [CamelCase](https://www.hackerrank.com/challenges/camelcase) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/CamelCase/Solution.java) | +| Strings | [Two Characters](https://www.hackerrank.com/challenges/two-characters) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Two%20Characters/Solution.java) | +| Strings | [Caesar Cipher](https://www.hackerrank.com/challenges/caesar-cipher-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Caesar%20Cipher/Solution.java) | +| Strings | [Mars Exploration](https://www.hackerrank.com/challenges/mars-exploration) | Easy | Coming Soon! | +| Strings | [HackerRank in a String!](https://www.hackerrank.com/challenges/hackerrank-in-a-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/HackerRank%20in%20a%20String!/Solution.java) | +| Strings | [Pangrams](https://www.hackerrank.com/challenges/pangrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Pangrams/Solution.java) | +| Strings | [Weighted Uniform Strings](https://www.hackerrank.com/challenges/weighted-uniform-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Weighted%20Uniform%20Strings/Solution.java) | +| Strings | [Separate the Numbers](https://www.hackerrank.com/challenges/separate-the-numbers) | Easy | Coming Soon! | +| Strings | [Funny String](https://www.hackerrank.com/challenges/funny-string) | Easy | Coming Soon! | +| Strings | [Gemstones](https://www.hackerrank.com/challenges/gem-stones) | Easy | Coming Soon! | +| Strings | [Alternating Characters](https://www.hackerrank.com/challenges/alternating-characters) | Easy | Coming Soon! | +| Strings | [Beautiful Binary String](https://www.hackerrank.com/challenges/beautiful-binary-string) | Easy | Coming Soon! | +| Strings | [The Love-Letter Mystery](https://www.hackerrank.com/challenges/the-love-letter-mystery) | Easy | Coming Soon! | +| Strings | [Palindrome Index](https://www.hackerrank.com/challenges/palindrome-index) | Easy | Coming Soon! | +| Strings | [Anagram](https://www.hackerrank.com/challenges/anagram) | Easy | Coming Soon! | +| Strings | [Making Anagrams](https://www.hackerrank.com/challenges/making-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Making%20Anagrams/Solution.java) | +| Strings | [Game of Thrones - I](https://www.hackerrank.com/challenges/game-of-thrones) | Easy | Coming Soon! | +| Strings | [Two Strings](https://www.hackerrank.com/challenges/two-strings) | Easy | Coming Soon! | +| Strings | [String Construction](https://www.hackerrank.com/challenges/string-construction) | Easy | Coming Soon! | +| Strings | [Sherlock and Valid String](https://www.hackerrank.com/challenges/sherlock-and-valid-string) | Hard | Coming Soon! | +| Strings | [Richie Rich](https://www.hackerrank.com/challenges/richie-rich) | Medium | Coming Soon! | +| Strings | [Sherlock and Anagrams](https://www.hackerrank.com/challenges/sherlock-and-anagrams) | Medium | Coming Soon! | +| Strings | [Common Child](https://www.hackerrank.com/challenges/common-child) | Hard | Coming Soon! | +| Strings | [Bear and Steady Gene](https://www.hackerrank.com/challenges/bear-and-steady-gene) | Medium | Coming Soon! | +| Strings | [Morgan and a String](https://www.hackerrank.com/challenges/morgan-and-a-string) | Expert | Coming Soon! | +| Strings | [Count Strings](https://www.hackerrank.com/challenges/count-strings) | Hard | Coming Soon! | +| Strings | [String Function Calculation](https://www.hackerrank.com/challenges/string-function-calculation) | Advanced | Coming Soon! | +| Strings | [Build a Palindrome](https://www.hackerrank.com/challenges/challenging-palindromes) | Advanced | Coming Soon! | +| Strings | [Build a String](https://www.hackerrank.com/challenges/build-a-string) | Hard | Coming Soon! | +| Strings | [Gridland Provinces](https://www.hackerrank.com/challenges/gridland-provinces) | Hard | Coming Soon! | +| Strings | [Ashton and String](https://www.hackerrank.com/challenges/ashton-and-string) | Advanced | Coming Soon! | +| Strings | [String Similarity](https://www.hackerrank.com/challenges/string-similarity) | Expert | Coming Soon! | +| Strings | [Super Functional Strings](https://www.hackerrank.com/challenges/super-functional-strings) | Advanced | Coming Soon! | +| Strings | [Circular Palindromes](https://www.hackerrank.com/challenges/circular-palindromes) | Advanced | Coming Soon! | +| Strings | [Similar Strings](https://www.hackerrank.com/challenges/similar-strings) | Advanced | Coming Soon! | +| Strings | [Save Humanity](https://www.hackerrank.com/challenges/save-humanity) | Expert | Coming Soon! | +| Strings | [Find Strings](https://www.hackerrank.com/challenges/find-strings) | Expert | Coming Soon! | +| Strings | [Palindromic Border](https://www.hackerrank.com/challenges/palindromic-border) | Expert | Coming Soon! | +| Strings | [Two Two](https://www.hackerrank.com/challenges/two-two) | Advanced | Coming Soon! | +| Strings | [Two Strings Game](https://www.hackerrank.com/challenges/two-strings-game) | Expert | Coming Soon! | +| Strings | [Letter Islands](https://www.hackerrank.com/challenges/letter-islands) | Expert | Coming Soon! | +| Strings | [Pseudo-Isomorphic Substrings](https://www.hackerrank.com/challenges/pseudo-isomorphic-substrings) | Expert | Coming Soon! | +| Sorting | [Intro to Tutorial Challenges](https://www.hackerrank.com/challenges/tutorial-intro) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Intro%20to%20Tutorial%20Challenges/Solution.java) | +| Sorting | [Insertion Sort - Part 1](https://www.hackerrank.com/challenges/insertionsort1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Insertion%20Sort%20-%20Part%201/Solution.java) | +| Sorting | [Insertion Sort - Part 2](https://www.hackerrank.com/challenges/insertionsort2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Insertion%20Sort%20-%20Part%202/Solution.java) | +| Sorting | [Correctness and the Loop Invariant](https://www.hackerrank.com/challenges/correctness-invariant) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Correctness%20and%20the%20Loop%20Invariant/Solution.java) | +| Sorting | [Running Time of Algorithms](https://www.hackerrank.com/challenges/runningtime) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Running%20Time%20of%20Algorithms/Solution.java) | +| Sorting | [Quicksort 1 - Partition](https://www.hackerrank.com/challenges/quicksort1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Quicksort%201%20-%20Partition/Solution.java) | +| Sorting | [Quicksort 2 - Sorting](https://www.hackerrank.com/challenges/quicksort2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Quicksort%202%20-%20Sorting/Solution.java) | +| Sorting | [Quicksort In-Place](https://www.hackerrank.com/challenges/quicksort3) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Quicksort%20In-Place/Solution.java) | +| Sorting | [Running Time of Quicksort](https://www.hackerrank.com/challenges/quicksort4) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Running%20Time%20of%20Quicksort/Solution.java) | +| Sorting | [Counting Sort 1](https://www.hackerrank.com/challenges/countingsort1) | Easy | Coming Soon! | +| Sorting | [Counting Sort 2](https://www.hackerrank.com/challenges/countingsort2) | Easy | Coming Soon! | +| Sorting | [Counting Sort 3](https://www.hackerrank.com/challenges/countingsort3) | Easy | Coming Soon! | +| Sorting | [The Full Counting Sort](https://www.hackerrank.com/challenges/countingsort4) | Medium | Coming Soon! | +| Sorting | [Closest Numbers](https://www.hackerrank.com/challenges/closest-numbers) | Easy | Coming Soon! | +| Sorting | [Find the Median](https://www.hackerrank.com/challenges/find-the-median) | Easy | Coming Soon! | +| Sorting | [Insertion Sort Advanced Analysis](https://www.hackerrank.com/challenges/insertion-sort) | Advanced | Coming Soon! | +| Sorting | [Fraudulent Activity Notifications](https://www.hackerrank.com/challenges/fraudulent-activity-notifications) | Medium | Coming Soon! | +| Sorting | [Lily's Homework](https://www.hackerrank.com/challenges/lilys-homework) | Medium | Coming Soon! | +| Search | [Hackerland Radio Transmitters](https://www.hackerrank.com/challenges/hackerland-radio-transmitters) | Easy | Coming Soon! | +| Search | [Ice Cream Parlor](https://www.hackerrank.com/challenges/icecream-parlor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Search/Ice%20Cream%20Parlor/Solution.java) | +| Search | [Gridland Metro](https://www.hackerrank.com/challenges/gridland-metro) | Medium | Coming Soon! | +| Search | [Missing Numbers](https://www.hackerrank.com/challenges/missing-numbers) | Easy | Coming Soon! | +| Search | [Pairs](https://www.hackerrank.com/challenges/pairs) | Medium | Coming Soon! | +| Search | [Sherlock and Array](https://www.hackerrank.com/challenges/sherlock-and-array) | Easy | Coming Soon! | +| Search | [Maximum Subarray Sum](https://www.hackerrank.com/challenges/maximum-subarray-sum) | Hard | Coming Soon! | +| Search | [Connected Cells in a Grid](https://www.hackerrank.com/challenges/connected-cell-in-a-grid) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Search/Connected%20Cells%20in%20a%20Grid/Solution.java) | +| Search | [Short Palindrome](https://www.hackerrank.com/challenges/short-palindrome) | Medium | Coming Soon! | +| Search | [Count Luck](https://www.hackerrank.com/challenges/count-luck) | Medium | Coming Soon! | +| Search | [Cut the Tree](https://www.hackerrank.com/challenges/cut-the-tree) | Medium | Coming Soon! | +| Search | [Making Candies](https://www.hackerrank.com/challenges/making-candies) | Hard | Coming Soon! | +| Search | [Gene Playing Hanoi](https://www.hackerrank.com/challenges/gena) | Medium | Coming Soon! | +| Search | [Beautiful Quadruples](https://www.hackerrank.com/challenges/xor-quadruples) | Medium | Coming Soon! | +| Search | [Bike Racers](https://www.hackerrank.com/challenges/bike-racers) | Hard | Coming Soon! | +| Search | [Task Scheduling](https://www.hackerrank.com/challenges/task-scheduling) | Advanced | Coming Soon! | +| Search | [Similar Pair](https://www.hackerrank.com/challenges/similarpair) | Advanced | Coming Soon! | +| Search | [Absolute Element Sums](https://www.hackerrank.com/challenges/playing-with-numbers) | Hard | Coming Soon! | +| Search | [Sorted Subsegments](https://www.hackerrank.com/challenges/sorted-subsegments) | Hard | Coming Soon! | +| Search | [King Richard's Knights](https://www.hackerrank.com/challenges/king-richards-knights) | Hard | Coming Soon! | +| Graph Theory | [Journey to the Moon](https://www.hackerrank.com/challenges/journey-to-the-moon) | Medium | Coming Soon! | +| Graph Theory | [Synchronous Shopping](https://www.hackerrank.com/challenges/synchronous-shopping) | Medium | Coming Soon! | +| Graph Theory | [Subset Component](https://www.hackerrank.com/challenges/subset-component) | Hard | Coming Soon! | +| Graph Theory | [Breadth First Search - Shortest Reach](https://www.hackerrank.com/challenges/bfsshortreach) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Graph%20Theory/Breadth%20First%20Search%20-%20Shortest%20Reach/Solution.java) | +| Graph Theory | [Kruskal (MST) - Really Special Subtree](https://www.hackerrank.com/challenges/kruskalmstrsub) | Hard | Coming Soon! | +| Graph Theory | [Even Tree](https://www.hackerrank.com/challenges/even-tree) | Medium | Coming Soon! | +| Graph Theory | [Snakes and Ladders - The Quickest Way Up](https://www.hackerrank.com/challenges/the-quickest-way-up) | Medium | Coming Soon! | +| Graph Theory | [Dijkstra - Shortest Reach 2](https://www.hackerrank.com/challenges/dijkstrashortreach) | Hard | Coming Soon! | +| Graph Theory | [Prim's (MST) - Special Subtree](https://www.hackerrank.com/challenges/primsmstsub) | Medium | Coming Soon! | +| Graph Theory | [Clique](https://www.hackerrank.com/challenges/clique) | Medium | Coming Soon! | +| Graph Theory | [Minimum Penalty Path](https://www.hackerrank.com/challenges/beautiful-path) | Medium | Coming Soon! | +| Graph Theory | [Demanding Money](https://www.hackerrank.com/challenges/borrowing-money) | Hard | Coming Soon! | +| Graph Theory | [Jack goes to Rapture](https://www.hackerrank.com/challenges/jack-goes-to-rapture) | Medium | Coming Soon! | +| Graph Theory | [Crab Graphs](https://www.hackerrank.com/challenges/crab-graphs) | Medium | Coming Soon! | +| Graph Theory | [Bead Ornaments](https://www.hackerrank.com/challenges/beadornaments) | Advanced | Coming Soon! | +| Graph Theory | [Jeanie's Route](https://www.hackerrank.com/challenges/jeanies-route) | Medium | Coming Soon! | +| Graph Theory | [Floyd - City of Blinding Lights](https://www.hackerrank.com/challenges/floyd-city-of-blinding-lights) | Hard | Coming Soon! | +| Graph Theory | [Roads in HackerLand](https://www.hackerrank.com/challenges/johnland) | Medium | Coming Soon! | +| Graph Theory | [Kingdom Connectivity](https://www.hackerrank.com/challenges/kingdom-connectivity) | Hard | Coming Soon! | +| Graph Theory | [Computer Game](https://www.hackerrank.com/challenges/computer-game) | Hard | Coming Soon! | +| Graph Theory | [Rust & Murderer](https://www.hackerrank.com/challenges/rust-murderer) | Medium | Coming Soon! | +| Graph Theory | [Problem solving](https://www.hackerrank.com/challenges/problem-solving) | Hard | Coming Soon! | +| Graph Theory | [Journey Scheduling](https://www.hackerrank.com/challenges/journey-scheduling) | Hard | Coming Soon! | +| Graph Theory | [Matrix](https://www.hackerrank.com/challenges/matrix) | Hard | Coming Soon! | +| Graph Theory | [Recording Episodes](https://www.hackerrank.com/challenges/episode-recording) | Hard | Coming Soon! | +| Graph Theory | [Repair Roads](https://www.hackerrank.com/challenges/repair-roads) | Hard | Coming Soon! | +| Graph Theory | [Kth Ancestor](https://www.hackerrank.com/challenges/kth-ancestor) | Hard | Coming Soon! | +| Graph Theory | [ByteLandian Tours](https://www.hackerrank.com/challenges/bytelandian-tours) | Hard | Coming Soon! | +| Graph Theory | [Find the Path](https://www.hackerrank.com/challenges/shortest-path) | Hard | Coming Soon! | +| Graph Theory | [Savita And Friends](https://www.hackerrank.com/challenges/savita-and-friends) | Hard | Coming Soon! | +| Graph Theory | [Liars](https://www.hackerrank.com/challenges/liars) | Advanced | Coming Soon! | +| Graph Theory | [Jumping Rooks](https://www.hackerrank.com/challenges/jumping-rooks) | Advanced | Coming Soon! | +| Graph Theory | [Tripartite Matching](https://www.hackerrank.com/challenges/tripartite-matching) | Hard | Coming Soon! | +| Graph Theory | [Tree Flow](https://www.hackerrank.com/challenges/tree-flow) | Hard | Coming Soon! | +| Graph Theory | [DAG Queries](https://www.hackerrank.com/challenges/dag-queries) | Expert | Coming Soon! | +| Graph Theory | [Favorite sequence](https://www.hackerrank.com/challenges/favourite-sequence) | Advanced | Coming Soon! | +| Graph Theory | [Jogging Cats](https://www.hackerrank.com/challenges/cat-jogging) | Advanced | Coming Soon! | +| Graph Theory | [Quadrant Queries](https://www.hackerrank.com/challenges/quadrant-queries) | Advanced | Coming Soon! | +| Graph Theory | [Hacker Country](https://www.hackerrank.com/challenges/hacker-country) | Hard | Coming Soon! | +| Graph Theory | [HackerX](https://www.hackerrank.com/challenges/missile-defend) | Hard | Coming Soon! | +| Graph Theory | [Huarongdao](https://www.hackerrank.com/challenges/huarongdao) | Expert | Coming Soon! | +| Graph Theory | [Training the army](https://www.hackerrank.com/challenges/training-the-army) | Hard | Coming Soon! | +| Graph Theory | [Jim and his LAN Party](https://www.hackerrank.com/challenges/jim-and-his-lan-party) | Hard | Coming Soon! | +| Graph Theory | [Travel in HackerLand](https://www.hackerrank.com/challenges/travel-in-hackerland) | Hard | Coming Soon! | +| Graph Theory | [Alex vs Fedor](https://www.hackerrank.com/challenges/alex-vs-fedor) | Expert | Coming Soon! | +| Graph Theory | [Vertical Paths](https://www.hackerrank.com/challenges/vertical-paths) | Expert | Coming Soon! | +| Graph Theory | [Drive](https://www.hackerrank.com/challenges/drive) | Expert | Coming Soon! | +| Graph Theory | [Travelling Salesman in a Grid](https://www.hackerrank.com/challenges/tsp-grid) | Expert | Coming Soon! | +| Graph Theory | [Road Network](https://www.hackerrank.com/challenges/road-network) | Expert | Coming Soon! | +| Graph Theory | [Going to the Office](https://www.hackerrank.com/challenges/going-office) | Expert | Coming Soon! | +| Graph Theory | [Tree Splitting](https://www.hackerrank.com/challenges/tree-splitting) | Advanced | Coming Soon! | +| Graph Theory | [Ticket](https://www.hackerrank.com/challenges/ticket) | Expert | Coming Soon! | +| Greedy | [Grid Challenge](https://www.hackerrank.com/challenges/grid-challenge) | Easy | Coming Soon! | +| Greedy | [Luck Balance](https://www.hackerrank.com/challenges/luck-balance) | Easy | Coming Soon! | +| Greedy | [Maximum Perimeter Triangle](https://www.hackerrank.com/challenges/maximum-perimeter-triangle) | Easy | Coming Soon! | +| Greedy | [Beautiful Pairs](https://www.hackerrank.com/challenges/beautiful-pairs) | Easy | Coming Soon! | +| Greedy | [Sherlock and The Beast](https://www.hackerrank.com/challenges/sherlock-and-the-beast) | Easy | Coming Soon! | +| Greedy | [Priyanka and Toys](https://www.hackerrank.com/challenges/priyanka-and-toys) | Easy | Coming Soon! | +| Greedy | [Largest Permutation](https://www.hackerrank.com/challenges/largest-permutation) | Easy | Coming Soon! | +| Greedy | [Mark and Toys](https://www.hackerrank.com/challenges/mark-and-toys) | Easy | Coming Soon! | +| Greedy | [Greedy Florist](https://www.hackerrank.com/challenges/greedy-florist) | Medium | Coming Soon! | +| Greedy | [Max Min](https://www.hackerrank.com/challenges/angry-children) | Medium | Coming Soon! | +| Greedy | [Jim and the Orders](https://www.hackerrank.com/challenges/jim-and-the-orders) | Easy | Coming Soon! | +| Greedy | [Permuting Two Arrays](https://www.hackerrank.com/challenges/two-arrays) | Easy | Coming Soon! | +| Greedy | [Cutting Boards](https://www.hackerrank.com/challenges/board-cutting) | Hard | Coming Soon! | +| Greedy | [Reverse Shuffle Merge](https://www.hackerrank.com/challenges/reverse-shuffle-merge) | Advanced | Coming Soon! | +| Greedy | [Goodland Electricity](https://www.hackerrank.com/challenges/pylons) | Medium | Coming Soon! | +| Greedy | [Chief Hopper](https://www.hackerrank.com/challenges/chief-hopper) | Hard | Coming Soon! | +| Greedy | [Sherlock and MiniMax](https://www.hackerrank.com/challenges/sherlock-and-minimax) | Hard | Coming Soon! | +| Greedy | [Accessory Collection](https://www.hackerrank.com/challenges/accessory-collection) | Hard | Coming Soon! | +| Greedy | [Team Formation](https://www.hackerrank.com/challenges/team-formation) | Advanced | Coming Soon! | +| Greedy | [Fighting Pits](https://www.hackerrank.com/challenges/fighting-pits) | Hard | Coming Soon! | +| Dynamic Programming | [The Coin Change Problem](https://www.hackerrank.com/challenges/coin-change) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Dynamic%20Programming/The%20Coin%20Change%20Problem/Solution.java) | +| Dynamic Programming | [Equal](https://www.hackerrank.com/challenges/equal) | Medium | Coming Soon! | +| Dynamic Programming | [Sherlock and Cost](https://www.hackerrank.com/challenges/sherlock-and-cost) | Medium | Coming Soon! | +| Dynamic Programming | [Vertical Sticks](https://www.hackerrank.com/challenges/vertical-sticks) | Medium | Coming Soon! | +| Dynamic Programming | [Candies](https://www.hackerrank.com/challenges/candies) | Medium | Coming Soon! | +| Dynamic Programming | [Angry Children 2](https://www.hackerrank.com/challenges/angry-children-2) | Hard | Coming Soon! | +| Dynamic Programming | [Sam and sub-strings](https://www.hackerrank.com/challenges/sam-and-substrings) | Medium | Coming Soon! | +| Dynamic Programming | [Fibonacci Modified](https://www.hackerrank.com/challenges/fibonacci-modified) | Medium | Coming Soon! | +| Dynamic Programming | [Abbreviation](https://www.hackerrank.com/challenges/abbr) | Medium | Coming Soon! | +| Dynamic Programming | [The Maximum Subarray](https://www.hackerrank.com/challenges/maxsubarray) | Medium | Coming Soon! | +| Dynamic Programming | [Fair Cut](https://www.hackerrank.com/challenges/fair-cut) | Medium | Coming Soon! | +| Dynamic Programming | [HackerRank City](https://www.hackerrank.com/challenges/hr-city) | Medium | Coming Soon! | +| Dynamic Programming | [Summing Pieces](https://www.hackerrank.com/challenges/summing-pieces) | Medium | Coming Soon! | +| Dynamic Programming | [Mr K marsh](https://www.hackerrank.com/challenges/mr-k-marsh) | Medium | Coming Soon! | +| Dynamic Programming | [Substring Diff](https://www.hackerrank.com/challenges/substring-diff) | Medium | Coming Soon! | +| Dynamic Programming | [Xor and Sum](https://www.hackerrank.com/challenges/xor-and-sum) | Medium | Coming Soon! | +| Dynamic Programming | [Lego Blocks](https://www.hackerrank.com/challenges/lego-blocks) | Medium | Coming Soon! | +| Dynamic Programming | [Brick Tiling](https://www.hackerrank.com/challenges/brick-tiling) | Hard | Coming Soon! | +| Dynamic Programming | [Alien Languages](https://www.hackerrank.com/challenges/alien-languages) | Hard | Coming Soon! | +| Dynamic Programming | [Stock Maximize](https://www.hackerrank.com/challenges/stockmax) | Medium | Coming Soon! | +| Dynamic Programming | [Two Robots](https://www.hackerrank.com/challenges/two-robots) | Medium | Coming Soon! | +| Dynamic Programming | [Cut Tree](https://www.hackerrank.com/challenges/cuttree) | Medium | Coming Soon! | +| Dynamic Programming | [Wet Shark and Two Subsequences](https://www.hackerrank.com/challenges/wet-shark-and-two-subsequences) | Medium | Coming Soon! | +| Dynamic Programming | [Nikita and the Game](https://www.hackerrank.com/challenges/array-splitting) | Medium | Coming Soon! | +| Dynamic Programming | [Mandragora Forest](https://www.hackerrank.com/challenges/mandragora) | Medium | Coming Soon! | +| Dynamic Programming | [Red John is Back](https://www.hackerrank.com/challenges/red-john-is-back) | Medium | Coming Soon! | +| Dynamic Programming | [LCS Returns](https://www.hackerrank.com/challenges/tutzki-and-lcs) | Medium | Coming Soon! | +| Dynamic Programming | [Grid Walking](https://www.hackerrank.com/challenges/grid-walking) | Medium | Coming Soon! | +| Dynamic Programming | [Knapsack](https://www.hackerrank.com/challenges/unbounded-knapsack) | Medium | Coming Soon! | +| Dynamic Programming | [Bricks Game](https://www.hackerrank.com/challenges/play-game) | Medium | Coming Soon! | +| Dynamic Programming | [The Longest Increasing Subsequence](https://www.hackerrank.com/challenges/longest-increasing-subsequent) | Advanced | Coming Soon! | +| Dynamic Programming | [Coin on the Table](https://www.hackerrank.com/challenges/coin-on-the-table) | Medium | Coming Soon! | +| Dynamic Programming | [The Longest Common Subsequence](https://www.hackerrank.com/challenges/dynamic-programming-classics-the-longest-common-subsequence) | Medium | Coming Soon! | +| Dynamic Programming | [Play with words](https://www.hackerrank.com/challenges/strplay) | Medium | Coming Soon! | +| Dynamic Programming | [Black and White Tree](https://www.hackerrank.com/challenges/black-n-white-tree-1) | Hard | Coming Soon! | +| Dynamic Programming | [Counting Special Sub-Cubes](https://www.hackerrank.com/challenges/counting-special-sub-cubes) | Medium | Coming Soon! | +| Dynamic Programming | [Interval Selection](https://www.hackerrank.com/challenges/interval-selection) | Medium | Coming Soon! | +| Dynamic Programming | [String Reduction](https://www.hackerrank.com/challenges/string-reduction) | Hard | Coming Soon! | +| Dynamic Programming | [Far Vertices](https://www.hackerrank.com/challenges/far-vertices) | Hard | Coming Soon! | +| Dynamic Programming | [Superman Celebrates Diwali](https://www.hackerrank.com/challenges/superman-celebrates-diwali) | Hard | Coming Soon! | +| Dynamic Programming | [Hexagonal Grid](https://www.hackerrank.com/challenges/hexagonal-grid) | Medium | Coming Soon! | +| Dynamic Programming | [Queens on Board](https://www.hackerrank.com/challenges/queens-on-board) | Hard | Coming Soon! | +| Dynamic Programming | [Shashank and the Palindromic Strings](https://www.hackerrank.com/challenges/shashank-and-palindromic-strings) | Advanced | Coming Soon! | +| Dynamic Programming | [Points in a Plane](https://www.hackerrank.com/challenges/points-in-a-plane) | Advanced | Coming Soon! | +| Dynamic Programming | [The Indian Job](https://www.hackerrank.com/challenges/the-indian-job) | Medium | Coming Soon! | +| Dynamic Programming | [Requirement](https://www.hackerrank.com/challenges/requirement) | Advanced | Coming Soon! | +| Dynamic Programming | [A Super Hero](https://www.hackerrank.com/challenges/a-super-hero) | Hard | Coming Soon! | +| Dynamic Programming | [Clues on a Binary Path](https://www.hackerrank.com/challenges/clues-on-a-binary-path) | Hard | Coming Soon! | +| Dynamic Programming | [Road Maintenance](https://www.hackerrank.com/challenges/road-maintenance) | Hard | Coming Soon! | +| Dynamic Programming | [Billboards](https://www.hackerrank.com/challenges/billboards) | Advanced | Coming Soon! | +| Dynamic Programming | [Beautiful Strings](https://www.hackerrank.com/challenges/beautiful-string) | Hard | Coming Soon! | +| Dynamic Programming | [Covering the stains](https://www.hackerrank.com/challenges/covering-the-stains) | Hard | Coming Soon! | +| Dynamic Programming | [Fairy Chess](https://www.hackerrank.com/challenges/fairy-chess) | Advanced | Coming Soon! | +| Dynamic Programming | [Travel around the world](https://www.hackerrank.com/challenges/travel-around-the-world) | Medium | Coming Soon! | +| Dynamic Programming | [New Year Present](https://www.hackerrank.com/challenges/newyear-present) | Hard | Coming Soon! | +| Dynamic Programming | [Longest Palindromic Subsequence](https://www.hackerrank.com/challenges/longest-palindromic-subsequence) | Hard | Coming Soon! | +| Dynamic Programming | [Candles Counting](https://www.hackerrank.com/challenges/candles-2) | Medium | Coming Soon! | +| Dynamic Programming | [Hyper Strings](https://www.hackerrank.com/challenges/hyper-strings) | Advanced | Coming Soon! | +| Dynamic Programming | [Swap Permutation](https://www.hackerrank.com/challenges/swappermutation) | Medium | Coming Soon! | +| Dynamic Programming | [Extremum Permutations](https://www.hackerrank.com/challenges/extremum-permutations) | Medium | Coming Soon! | +| Dynamic Programming | [Square Subsequences](https://www.hackerrank.com/challenges/square-subsequences) | Hard | Coming Soon! | +| Dynamic Programming | [Dorsey Thief](https://www.hackerrank.com/challenges/dorsey-thief) | Advanced | Coming Soon! | +| Dynamic Programming | [Mining](https://www.hackerrank.com/challenges/mining) | Advanced | Coming Soon! | +| Dynamic Programming | [Police Operation](https://www.hackerrank.com/challenges/police-operation) | Hard | Coming Soon! | +| Dynamic Programming | [Zurikela's Graph](https://www.hackerrank.com/challenges/zurikela) | Hard | Coming Soon! | +| Dynamic Programming | [Modify The Sequence](https://www.hackerrank.com/challenges/modify-the-sequence) | Advanced | Coming Soon! | +| Dynamic Programming | [Longest Mod Path](https://www.hackerrank.com/challenges/longest-mod-path) | Hard | Coming Soon! | +| Dynamic Programming | [P-sequences](https://www.hackerrank.com/challenges/p-sequences) | Hard | Coming Soon! | +| Dynamic Programming | [Robot](https://www.hackerrank.com/challenges/robot) | Advanced | Coming Soon! | +| Dynamic Programming | [Lucky Numbers](https://www.hackerrank.com/challenges/lucky-numbers) | Expert | Coming Soon! | +| Dynamic Programming | [Unfair Game](https://www.hackerrank.com/challenges/unfair-game) | Advanced | Coming Soon! | +| Dynamic Programming | [Oil Well](https://www.hackerrank.com/challenges/oil-well) | Hard | Coming Soon! | +| Dynamic Programming | [Find the Seed](https://www.hackerrank.com/challenges/find-the-seed) | Advanced | Coming Soon! | +| Dynamic Programming | [The Blacklist](https://www.hackerrank.com/challenges/the-blacklist) | Advanced | Coming Soon! | +| Dynamic Programming | [Tree Pruning](https://www.hackerrank.com/challenges/tree-pruning) | Advanced | Coming Soon! | +| Dynamic Programming | [Ones and Twos](https://www.hackerrank.com/challenges/ones-and-twos) | Hard | Coming Soon! | +| Dynamic Programming | [Count Scorecards](https://www.hackerrank.com/challenges/count-scorecards) | Expert | Coming Soon! | +| Dynamic Programming | [Vim War](https://www.hackerrank.com/challenges/vim-war) | Advanced | Coming Soon! | +| Dynamic Programming | [Best spot](https://www.hackerrank.com/challenges/best-spot) | Advanced | Coming Soon! | +| Dynamic Programming | [Divisible Numbers](https://www.hackerrank.com/challenges/divisible-numbers) | Expert | Coming Soon! | +| Dynamic Programming | [Unique Divide And Conquer](https://www.hackerrank.com/challenges/unique-divide-and-conquer) | Advanced | Coming Soon! | +| Dynamic Programming | [King and Four Sons](https://www.hackerrank.com/challenges/happy-king) | Expert | Coming Soon! | +| Dynamic Programming | [Dortmund Dilemma](https://www.hackerrank.com/challenges/dortmund-dilemma) | Advanced | Coming Soon! | +| Dynamic Programming | [Super Kth LIS](https://www.hackerrank.com/challenges/super-kth-lis) | Advanced | Coming Soon! | +| Dynamic Programming | [Counting the Ways](https://www.hackerrank.com/challenges/count-ways-1) | Expert | Coming Soon! | +| Dynamic Programming | [Hard Disk Drives](https://www.hackerrank.com/challenges/hard-drive-disks) | Expert | Coming Soon! | +| Dynamic Programming | [Separate the chocolate](https://www.hackerrank.com/challenges/separate-the-chocolate) | Expert | Coming Soon! | +| Constructive Algorithms | [Flipping the Matrix](https://www.hackerrank.com/challenges/flipping-the-matrix) | Medium | Coming Soon! | +| Constructive Algorithms | [New Year Chaos](https://www.hackerrank.com/challenges/new-year-chaos) | Medium | Coming Soon! | +| Constructive Algorithms | [Bonetrousle](https://www.hackerrank.com/challenges/bonetrousle) | Medium | Coming Soon! | +| Constructive Algorithms | [Yet Another KMP Problem](https://www.hackerrank.com/challenges/kmp-problem) | Hard | Coming Soon! | +| Constructive Algorithms | [Beautiful 3 Set](https://www.hackerrank.com/challenges/beautiful-3-set) | Hard | Coming Soon! | +| Constructive Algorithms | [Inverse RMQ](https://www.hackerrank.com/challenges/inverse-rmq) | Hard | Coming Soon! | +| Constructive Algorithms | [Lovely Triplets](https://www.hackerrank.com/challenges/lovely-triplets) | Advanced | Coming Soon! | +| Constructive Algorithms | [Array Construction](https://www.hackerrank.com/challenges/array-construction) | Advanced | Coming Soon! | +| Bit Manipulation | [Lonely Integer](https://www.hackerrank.com/challenges/lonely-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Bit%20Manipulation/Lonely%20Integer/Solution.java) | +| Bit Manipulation | [Maximizing XOR](https://www.hackerrank.com/challenges/maximizing-xor) | Easy | Coming Soon! | +| Bit Manipulation | [Counter game](https://www.hackerrank.com/challenges/counter-game) | Medium | Coming Soon! | +| Bit Manipulation | [Xor-sequence](https://www.hackerrank.com/challenges/xor-se) | Medium | Coming Soon! | +| Bit Manipulation | [Sum vs XOR](https://www.hackerrank.com/challenges/sum-vs-xor) | Easy | Coming Soon! | +| Bit Manipulation | [Flipping bits](https://www.hackerrank.com/challenges/flipping-bits) | Easy | Coming Soon! | +| Bit Manipulation | [Yet Another Minimax Problem](https://www.hackerrank.com/challenges/yet-another-minimax-problem) | Medium | Coming Soon! | +| Bit Manipulation | [Sansa and XOR](https://www.hackerrank.com/challenges/sansa-and-xor) | Medium | Coming Soon! | +| Bit Manipulation | [AND Product](https://www.hackerrank.com/challenges/and-product) | Medium | Coming Soon! | +| Bit Manipulation | [Xoring Ninja](https://www.hackerrank.com/challenges/xoring-ninja) | Hard | Coming Soon! | +| Bit Manipulation | [Cipher](https://www.hackerrank.com/challenges/cipher) | Medium | Coming Soon! | +| Bit Manipulation | [XOR Matrix](https://www.hackerrank.com/challenges/xor-matrix) | Hard | Coming Soon! | +| Bit Manipulation | [What's Next](https://www.hackerrank.com/challenges/whats-next) | Medium | Coming Soon! | +| Bit Manipulation | [String Transmission](https://www.hackerrank.com/challenges/string-transmission) | Hard | Coming Soon! | +| Bit Manipulation | [A or B](https://www.hackerrank.com/challenges/aorb) | Medium | Coming Soon! | +| Bit Manipulation | [Manipulative Numbers](https://www.hackerrank.com/challenges/manipulative-numbers) | Hard | Coming Soon! | +| Bit Manipulation | [Stone game](https://www.hackerrank.com/challenges/stonegame) | Hard | Coming Soon! | +| Bit Manipulation | [2's complement](https://www.hackerrank.com/challenges/2s-complement) | Advanced | Coming Soon! | +| Bit Manipulation | [Changing Bits](https://www.hackerrank.com/challenges/changing-bits) | Advanced | Coming Soon! | +| Bit Manipulation | [XOR key](https://www.hackerrank.com/challenges/xor-key) | Advanced | Coming Soon! | +| Bit Manipulation | [Maximizing the Function](https://www.hackerrank.com/challenges/maximizing-the-function) | Hard | Coming Soon! | +| Bit Manipulation | [XOR Subsequences](https://www.hackerrank.com/challenges/xor-subsequence) | Advanced | Coming Soon! | +| Bit Manipulation | [Iterate It](https://www.hackerrank.com/challenges/iterate-it) | Expert | Coming Soon! | +| Bit Manipulation | [Hamming Distance](https://www.hackerrank.com/challenges/hamming-distance) | Expert | Coming Soon! | +| Bit Manipulation | [Mixing proteins](https://www.hackerrank.com/challenges/pmix) | Hard | Coming Soon! | +| Recursion | [Simplified Chess Engine](https://www.hackerrank.com/challenges/simplified-chess-engine) | Medium | Coming Soon! | +| Recursion | [Repetitive K-Sums](https://www.hackerrank.com/challenges/repeat-k-sums) | Advanced | Coming Soon! | +| Game Theory | [Game of Stones](https://www.hackerrank.com/challenges/game-of-stones-1) | Easy | Coming Soon! | +| Game Theory | [Tower Breakers](https://www.hackerrank.com/challenges/tower-breakers-1) | Easy | Coming Soon! | +| Game Theory | [A Chessboard Game](https://www.hackerrank.com/challenges/a-chessboard-game-1) | Easy | Coming Soon! | +| Game Theory | [Introduction to Nim Game](https://www.hackerrank.com/challenges/nim-game-1) | Easy | Coming Soon! | +| Game Theory | [Misere Nim](https://www.hackerrank.com/challenges/misere-nim-1) | Easy | Coming Soon! | +| Game Theory | [Nimble Game](https://www.hackerrank.com/challenges/nimble-game-1) | Easy | Coming Soon! | +| Game Theory | [Poker Nim](https://www.hackerrank.com/challenges/poker-nim-1) | Easy | Coming Soon! | +| Game Theory | [Tower Breakers, Revisited!](https://www.hackerrank.com/challenges/tower-breakers-revisited-1) | Medium | Coming Soon! | +| Game Theory | [Tower Breakers, Again!](https://www.hackerrank.com/challenges/tower-breakers-again-1) | Medium | Coming Soon! | +| Game Theory | [Chessboard Game, Again!](https://www.hackerrank.com/challenges/chessboard-game-again-1) | Medium | Coming Soon! | +| Game Theory | [Digits Square Board](https://www.hackerrank.com/challenges/digits-square-board-1) | Medium | Coming Soon! | +| Game Theory | [Fun Game](https://www.hackerrank.com/challenges/fun-game-1) | Medium | Coming Soon! | +| Game Theory | [Stone Division](https://www.hackerrank.com/challenges/stone-division) | Hard | Coming Soon! | +| Game Theory | [Chocolate in Box](https://www.hackerrank.com/challenges/chocolate-in-box) | Medium | Coming Soon! | +| Game Theory | [Kitty and Katty](https://www.hackerrank.com/challenges/kitty-and-katty) | Medium | Coming Soon! | +| Game Theory | [Powers Game](https://www.hackerrank.com/challenges/powers-game-1) | Medium | Coming Soon! | +| Game Theory | [Deforestation](https://www.hackerrank.com/challenges/deforestation-1) | Medium | Coming Soon! | +| Game Theory | [Bob and Ben](https://www.hackerrank.com/challenges/bob-and-ben) | Medium | Coming Soon! | +| Game Theory | [Tower Breakers - The Final Battle](https://www.hackerrank.com/challenges/tower-breakers-the-final-battle-1) | Medium | Coming Soon! | +| Game Theory | [Simple Game](https://www.hackerrank.com/challenges/simple-game) | Hard | Coming Soon! | +| Game Theory | [Permutation game](https://www.hackerrank.com/challenges/permutation-game) | Medium | Coming Soon! | +| Game Theory | [Move the Coins](https://www.hackerrank.com/challenges/move-the-coins) | Hard | Coming Soon! | +| Game Theory | [Play on benders](https://www.hackerrank.com/challenges/benders-play) | Medium | Coming Soon! | +| Game Theory | [New Year Game](https://www.hackerrank.com/challenges/newyear-game) | Medium | Coming Soon! | +| Game Theory | [Stone Piles](https://www.hackerrank.com/challenges/stone-piles) | Hard | Coming Soon! | +| Game Theory | [Chocolate Game](https://www.hackerrank.com/challenges/chocolate-game) | Hard | Coming Soon! | +| Game Theory | [Manasa and Prime game](https://www.hackerrank.com/challenges/manasa-and-prime-game) | Hard | Coming Soon! | +| Game Theory | [Vertical Rooks](https://www.hackerrank.com/challenges/vertical-rooks) | Medium | Coming Soon! | +| Game Theory | [A stones game](https://www.hackerrank.com/challenges/half) | Medium | Coming Soon! | +| NP Complete | [Walking the Approximate Longest Path](https://www.hackerrank.com/challenges/walking-the-approximate-longest-path) | Hard | Coming Soon! | +| NP Complete | [Spies, Revisited](https://www.hackerrank.com/challenges/spies-revised) | Expert | Coming Soon! | +| NP Complete | [TBS Problem](https://www.hackerrank.com/challenges/tbsp) | Expert | Coming Soon! | diff --git a/Algorithms/Search/Ice Cream Parlor/Solution.java b/Algorithms/Search/Ice Cream Parlor/Solution.java index 815ae30..54a9cc4 100644 --- a/Algorithms/Search/Ice Cream Parlor/Solution.java +++ b/Algorithms/Search/Ice Cream Parlor/Solution.java @@ -5,7 +5,8 @@ import java.util.Scanner; import java.util.HashMap; -// Runtime: O(n) using HashMap +// Time Complexity: O(n) +// Space Complexity: O(n) public class Solution { public static void main(String[] args) { @@ -36,10 +37,7 @@ public class Solution { System.out.println(map.get(otherCost) + " " + icecreamID); } - /* Update HashMap */ - if ( ! map.containsKey(cost)) { - map.put(cost, icecreamID); - } + map.putIfAbsent(cost, icecreamID); // update HashMap } } } diff --git a/Algorithms/Sorting/Correctness and the Loop Invariant/Solution.java b/Algorithms/Sorting/Correctness and the Loop Invariant/Solution.java new file mode 100644 index 0000000..451868e --- /dev/null +++ b/Algorithms/Sorting/Correctness and the Loop Invariant/Solution.java @@ -0,0 +1,39 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + + /* Task: Find bug in HackerRank's insertionSort function below */ + public static void insertionSort(int[] A) { + for (int i = 1; i < A.length; i++) { + int value = A[i]; + int j = i - 1; + while (j >= 0 && A[j] > value) { // fixed bug on this line + A[j + 1] = A[j]; + j = j - 1; + } + A[j + 1] = value; + } + printArray(A); + } + + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int s = scan.nextInt(); + int[] array = new int[s]; + for (int i = 0; i < s; i++) { + array[i] = scan.nextInt(); + } + insertionSort(array); + } + + private static void printArray(int[] array) { + for (int num: array) { + System.out.print(num + " "); + } + System.out.println(); + } +} diff --git a/Algorithms/Sorting/Insertion Sort - Part 1/Solution.java b/Algorithms/Sorting/Insertion Sort - Part 1/Solution.java new file mode 100644 index 0000000..50d500a --- /dev/null +++ b/Algorithms/Sorting/Insertion Sort - Part 1/Solution.java @@ -0,0 +1,36 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + public static void insertIntoSorted(int[] array) { + int i = array.length - 1; + int value = array[i]; + while (i >= 1 && array[i-1] > value) { + array[i] = array[i-1]; + i--; + printArray(array); + } + array[i] = value; + printArray(array); + } + + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int s = scan.nextInt(); + int[] array = new int[s]; + for (int i = 0; i < s; i++) { + array[i] = scan.nextInt(); + } + insertIntoSorted(array); + } + + private static void printArray(int[] array) { + for (int num: array) { + System.out.print(num + " "); + } + System.out.println(); + } +} diff --git a/Algorithms/Sorting/Insertion Sort - Part 2/Solution.java b/Algorithms/Sorting/Insertion Sort - Part 2/Solution.java new file mode 100644 index 0000000..599b01a --- /dev/null +++ b/Algorithms/Sorting/Insertion Sort - Part 2/Solution.java @@ -0,0 +1,38 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + + public static void insertionSortPart2(int[] array) { + for (int i = 1; i < array.length; i++) { + int j = i; + int value = array[i]; + while (j >= 1 && array[j-1] > value) { // find where to insert "value" + array[j] = array[j-1]; // shift the elements (1 by 1) to make room for inserting + j--; + } + array[j] = value; + printArray(array); + } + } + + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int s = scan.nextInt(); + int[] array = new int[s]; + for (int i = 0; i < s; i++) { + array[i] = scan.nextInt(); + } + insertionSortPart2(array); + } + + private static void printArray(int[] array) { + for (int num: array) { + System.out.print(num + " "); + } + System.out.println(); + } +} diff --git a/Algorithms/Sorting/Quicksort 1 - Partition/Solution.java b/Algorithms/Sorting/Quicksort 1 - Partition/Solution.java new file mode 100644 index 0000000..f2889ed --- /dev/null +++ b/Algorithms/Sorting/Quicksort 1 - Partition/Solution.java @@ -0,0 +1,56 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + + /* Partitions array into 2 parts. + * 1) Left side has values smaller than pivotValue + * 2) Right side has values larger than pivotValue + * Returns pivotIndex + */ + public static int partition(int [] array) { + int pivotIndex = 0; // not a great choice of pivot. + int pivotValue = array[pivotIndex]; + + swap(array, pivotIndex, array.length - 1); // put pivot at end for now. + + /* Linear search, comparing all elements to pivotValue and swapping as necessary */ + int indexToReturn = 0; + for (int i = 0; i < array.length; i++){ + if (array[i] < pivotValue){ + swap(array, i, indexToReturn); + indexToReturn++; + } + } + + swap(array, indexToReturn, array.length - 1); // puts pivot where it belongs + return indexToReturn; + } + + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int s = scan.nextInt(); + int[] array = new int[s]; + for (int i = 0; i < s; i++) { + array[i] = scan.nextInt(); + } + partition(array); + printArray(array); + } + + private static void swap (int [] array, int i, int j) { + int temp = array[i]; + array[i] = array[j]; + array[j] = temp; + } + + private static void printArray(int[] array) { + for (int num: array) { + System.out.print(num + " "); + } + System.out.println(); + } +} diff --git a/Algorithms/Sorting/Quicksort 2 - Sorting/Solution.java b/Algorithms/Sorting/Quicksort 2 - Sorting/Solution.java new file mode 100644 index 0000000..22d696f --- /dev/null +++ b/Algorithms/Sorting/Quicksort 2 - Sorting/Solution.java @@ -0,0 +1,77 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; +import java.util.ArrayList; + +public class Solution { + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int s = scan.nextInt(); + int[] array = new int[s]; + for (int i = 0; i < s; i++) { + array[i] = scan.nextInt(); + } + quickSort(array); + } + + public static void quickSort(int [] array) { + if (array != null) { + quickSort(array, 0, array.length - 1); + } + } + + private static void quickSort(int [] array, int start, int end) { + if (start < end) { + int pivotIndex = partition(array, start, end); + quickSort(array, start, pivotIndex - 1); + quickSort(array, pivotIndex + 1, end); + printArray(array, start, end); + } + } + + /* Partition/Quicksort "Stable Sort" version using O(n) space */ + private static int partition(int[] array, int start, int end) { + int pivotValue = array[start]; // not a great choice of pivot + ArrayList leftList = new ArrayList<>(); + ArrayList rightList = new ArrayList<>(); + + for (int i = start + 1 ; i <= end; i++) { + if (array[i] < pivotValue) { + leftList.add(array[i]); + } else { + rightList.add(array[i]); + } + } + + /* Recreate array */ + copy(leftList, array, start); + int newPivotIndex = start + leftList.size(); + array[newPivotIndex] = pivotValue; + copy(rightList, array, newPivotIndex + 1); + + return newPivotIndex; + } + + private static void copy(ArrayList list, int [] array, int startIndex) { + for (int num : list) { + array[startIndex++] = num; + } + } + + private static void swap(int [] array, int i, int j) { + int temp = array[i]; + array[i] = array[j]; + array[j] = temp; + } + + private static void printArray(int[] array, int start, int end) { + if (start < end) { + for (int i = start; i <= end; i++) { + System.out.print(array[i] + " "); + } + System.out.println(); + } + } +} diff --git a/Algorithms/Sorting/Quicksort In-Place/Solution.java b/Algorithms/Sorting/Quicksort In-Place/Solution.java new file mode 100644 index 0000000..1f41030 --- /dev/null +++ b/Algorithms/Sorting/Quicksort In-Place/Solution.java @@ -0,0 +1,62 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int s = scan.nextInt(); + int[] array = new int[s]; + for (int i = 0; i < s; i++) { + array[i] = scan.nextInt(); + } + quickSort(array); + } + + public static void quickSort(int [] array) { + if (array != null) { + quickSort(array, 0, array.length - 1); + } + } + + private static void quickSort(int [] array, int start, int end) { + if (start < end) { + int pivotIndex = partition(array, start, end); + printArray(array, 0, array.length - 1); + quickSort(array, start, pivotIndex - 1); + quickSort(array, pivotIndex + 1, end); + } + } + + /* Must use "Lomuto Partition" scheme (which isn't very efficient) from Wikipedia: + https://en.wikipedia.org/wiki/Quicksort#Lomuto_partition_scheme */ + private static int partition(int[] A, int lo, int hi) { + int pivot = A[hi]; + int i = lo - 1; + for (int j = lo; j <= hi - 1; j++) { + if (A[j] <= pivot) { + i++; + swap(A, i , j); + } + } + swap(A, i + 1, hi); + return i + 1; + } + + private static void swap(int [] array, int i, int j) { + int temp = array[i]; + array[i] = array[j]; + array[j] = temp; + } + + private static void printArray(int[] array, int start, int end) { + if (start < end) { + for (int i = start; i <= end; i++) { + System.out.print(array[i] + " "); + } + System.out.println(); + } + } +} diff --git a/Algorithms/Sorting/Running Time of Algorithms/Solution.java b/Algorithms/Sorting/Running Time of Algorithms/Solution.java new file mode 100644 index 0000000..17de990 --- /dev/null +++ b/Algorithms/Sorting/Running Time of Algorithms/Solution.java @@ -0,0 +1,33 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + + public static void insertionSortShiftCounter(int[] array) { + int shifts = 0; + for (int i = 1; i < array.length; i++) { + int j = i; + int value = array[i]; + while (j >= 1 && array[j-1] > value) { // find where to insert "value" + array[j] = array[j-1]; // shift elements (1 by 1) to make room for inserting + j--; + shifts++; + } + array[j] = value; + } + System.out.println(shifts); + } + + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int s = scan.nextInt(); + int[] array = new int[s]; + for (int i = 0; i < s; i++) { + array[i] = scan.nextInt(); + } + insertionSortShiftCounter(array); + } +} diff --git a/Algorithms/Sorting/Running Time of Quicksort/Solution.java b/Algorithms/Sorting/Running Time of Quicksort/Solution.java new file mode 100644 index 0000000..c3e83b2 --- /dev/null +++ b/Algorithms/Sorting/Running Time of Quicksort/Solution.java @@ -0,0 +1,78 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + + private static int swaps = 0; // counts swaps in quickSort + + public static void main(String[] args) { + /* Save input */ + Scanner scan = new Scanner(System.in); + int s = scan.nextInt(); + int[] array = new int[s]; + for (int i = 0; i < s; i++) { + array[i] = scan.nextInt(); + } + + /* Count shifts, swaps */ + int[] array2 = array.clone(); // save a copy before we sort it + int shifts = insertionSortShifts(array); + quickSort(array2); + + System.out.println(shifts - swaps); + } + + public static int insertionSortShifts(int[] array) { + int shifts = 0; + for (int i = 1; i < array.length; i++) { + int j = i; + int value = array[i]; + while (j >= 1 && array[j-1] > value) { // find where to insert "value" + array[j] = array[j-1]; // shift elements (1 by 1) to make room for inserting + j--; + shifts++; + } + array[j] = value; + } + return shifts; + } + + public static void quickSort(int [] array) { + if (array != null) { + quickSort(array, 0, array.length - 1); + } + } + + private static void quickSort(int [] array, int start, int end) { + if (start < end) { + int pivotIndex = partition(array, start, end); + quickSort(array, start, pivotIndex - 1); + quickSort(array, pivotIndex + 1, end); + } + } + + /* Must use "Lomuto Partition" scheme (which isn't very efficient) from Wikipedia: + https://en.wikipedia.org/wiki/Quicksort#Lomuto_partition_scheme */ + private static int partition(int[] A, int lo, int hi) { + int pivot = A[hi]; + int i = lo - 1; + for (int j = lo; j <= hi - 1; j++) { + if (A[j] <= pivot) { + i++; + swap(A, i , j); + } + } + swap(A, i + 1, hi); + return i + 1; + } + + private static void swap(int [] array, int i, int j) { + int temp = array[i]; + array[i] = array[j]; + array[j] = temp; + swaps++; + } +} diff --git a/Algorithms/Strings/Caesar Cipher/Solution.java b/Algorithms/Strings/Caesar Cipher/Solution.java new file mode 100644 index 0000000..ae56365 --- /dev/null +++ b/Algorithms/Strings/Caesar Cipher/Solution.java @@ -0,0 +1,33 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int length = scan.nextInt(); + String str = scan.next(); + int K = scan.nextInt(); + scan.close(); + + StringBuilder sb = new StringBuilder(); + + for (int i = 0; i < length; i++) { + char ch = str.charAt(i); + sb.append(encrypt(ch, K)); + } + + System.out.println(sb); + } + + /* Encrypts a character using Caesar Cipher */ + private static char encrypt(char ch, int K) { + if (!Character.isLetter(ch)) { + return ch; + } + char base = Character.isLowerCase(ch) ? 'a' : 'A'; + return (char) ((ch - base + K) % 26 + base); + } +} diff --git a/Algorithms/Strings/HackerRank in a String!/Solution.java b/Algorithms/Strings/HackerRank in a String!/Solution.java new file mode 100644 index 0000000..7baf363 --- /dev/null +++ b/Algorithms/Strings/HackerRank in a String!/Solution.java @@ -0,0 +1,31 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +public class Solution { + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int q = scan.nextInt(); + while (q-- > 0) { + String str = scan.next(); + System.out.println(subsequenceExists(str) ? "YES" : "NO"); + } + scan.close(); + } + + private static boolean subsequenceExists(String str) { + String hackerrank = "hackerrank"; + int index = 0; + for (int i = 0; i < str.length(); i++) { + if (str.charAt(i) == hackerrank.charAt(index)) { + index++; + } + if (index == hackerrank.length()) { + return true; + } + } + return false; + } +} diff --git a/Algorithms/Strings/Pangrams/Solution.java b/Algorithms/Strings/Pangrams/Solution.java new file mode 100644 index 0000000..89af843 --- /dev/null +++ b/Algorithms/Strings/Pangrams/Solution.java @@ -0,0 +1,24 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; +import java.util.HashSet; + +public class Solution { + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + String str = scan.nextLine().toLowerCase(); + scan.close(); + + HashSet set = new HashSet<>(); + for (int i = 0; i < str.length(); i++) { + char ch = str.charAt(i); + if (Character.isLetter(ch)) { + set.add(ch); + } + } + + System.out.println(set.size() == 26 ? "pangram" : "not pangram"); + } +} diff --git a/Algorithms/Strings/Two Characters/Solution.java b/Algorithms/Strings/Two Characters/Solution.java new file mode 100644 index 0000000..39556a0 --- /dev/null +++ b/Algorithms/Strings/Two Characters/Solution.java @@ -0,0 +1,81 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; + +/* + +There are approximately 26^2 possible combinations of alternating pairs of letters. Notice that this number remains constant and is not dependent on the length of our input String. This fact will help us achieve a linear O(n) runtime. + +We want to solve this problem with just 1 traversal of our String, so we solve all 26^2 subproblems simultaneously. We use two int[26][26] arrays to keep track of the 26^2 solutions. + +As we iterate through our String, we update our two int[26][26] arrays as follows: +- int[26][26] letter ---> This array is used to keep track of which of the alternating characters we saw last. To achieve this, for the current character "ch", we update the corresponding row (26 entries) and column (26 entries) with the (ASCII) value of "ch". +- int[26][26] count ----> if we find that no solution exists for a pair of characters (which happens when the characters don't alternate), we store -1 in this array. Otherwise, we store he current maximum length of "s" for the pair of characters. + +Our final answer is the maximum value in "int[26][26] count". + +Time Complexity: O(n) with just 1 traversal of our String +Space Complexity: O(1) + +*/ + +public class Solution { + + public static final int NUM_LETTERS = 26; + + public static void main(String[] args) { + /* Save input */ + Scanner scan = new Scanner(System.in); + int length = scan.nextInt(); + String str = scan.next(); + scan.close(); + + /* Edge case */ + if (length <= 1) { + System.out.println(0); + return; + } + + /* Create arrays representing the 26^2 subproblems */ + int [][] pair = new int[NUM_LETTERS][NUM_LETTERS]; + int [][] count = new int[NUM_LETTERS][NUM_LETTERS]; + + for (int i = 0; i < length; i++) { + char letter = str.charAt(i); + int letterNum = letter - 'a'; + + /* Update row */ + for (int col = 0; col < NUM_LETTERS; col++) { + if (pair[letterNum][col] == letter) { + count[letterNum][col] = -1; + } + if (count[letterNum][col] != -1) { + pair[letterNum][col] = letter; + count[letterNum][col]++; + } + } + + /* Update column */ + for (int row = 0; row < NUM_LETTERS; row++) { + if (pair[row][letterNum] == letter) { + count[row][letterNum] = -1; + } + if (count[row][letterNum] != -1) { + pair[row][letterNum] = letter; + count[row][letterNum]++; + } + } + } + + /* Find max in "count" array */ + int max = 0; + for (int row = 0; row < NUM_LETTERS; row++) { + for (int col = 0; col < NUM_LETTERS; col++) { + max = Math.max(max, count[row][col]); + } + } + System.out.println(max); + } +} diff --git a/Algorithms/Strings/Weighted Uniform Strings/Solution.java b/Algorithms/Strings/Weighted Uniform Strings/Solution.java new file mode 100644 index 0000000..ea8da3e --- /dev/null +++ b/Algorithms/Strings/Weighted Uniform Strings/Solution.java @@ -0,0 +1,41 @@ +// Author: Rodney Shaghoulian +// Github: github.com/rshaghoulian +// HackerRank: hackerrank.com/rshaghoulian + +import java.util.Scanner; +import java.util.HashSet; + +// Traverse the string just 1 time. Save the weights of every possible uniform substring in a HashSet. + +// Time complexity: O(n) +// Space complexity: O(n) + +public class Solution { + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + String str = scan.next(); + int n = scan.nextInt(); + HashSet weights = getWeights(str); + while (n-- > 0) { + int x = scan.nextInt(); + System.out.println(weights.contains(x) ? "Yes" : "No"); + } + scan.close(); + } + + private static HashSet getWeights(String str) { + HashSet weights = new HashSet<>(); + int weight = 0; + char prev = ' '; // so it doesn't match 1st character + for (int i = 0; i < str.length(); i++) { + char curr = str.charAt(i); + if (curr != prev) { + weight = 0; + } + weight += curr - 'a' + 1; + weights.add(weight); + prev = curr; + } + return weights; + } +} diff --git a/Cracking the Coding Interview/Algorithms/Binary Search - Ice Cream Parlor/Solution.java b/Cracking the Coding Interview/Algorithms/Binary Search - Ice Cream Parlor/Solution.java index 815ae30..54a9cc4 100644 --- a/Cracking the Coding Interview/Algorithms/Binary Search - Ice Cream Parlor/Solution.java +++ b/Cracking the Coding Interview/Algorithms/Binary Search - Ice Cream Parlor/Solution.java @@ -5,7 +5,8 @@ import java.util.Scanner; import java.util.HashMap; -// Runtime: O(n) using HashMap +// Time Complexity: O(n) +// Space Complexity: O(n) public class Solution { public static void main(String[] args) { @@ -36,10 +37,7 @@ public class Solution { System.out.println(map.get(otherCost) + " " + icecreamID); } - /* Update HashMap */ - if ( ! map.containsKey(cost)) { - map.put(cost, icecreamID); - } + map.putIfAbsent(cost, icecreamID); // update HashMap } } } diff --git a/Cracking the Coding Interview/Data Structures/Hash Tables - Ransom Note/Solution.java b/Cracking the Coding Interview/Data Structures/Hash Tables - Ransom Note/Solution.java index 921a1be..6cb1ede 100644 --- a/Cracking the Coding Interview/Data Structures/Hash Tables - Ransom Note/Solution.java +++ b/Cracking the Coding Interview/Data Structures/Hash Tables - Ransom Note/Solution.java @@ -12,13 +12,13 @@ public class Solution { Scanner scan = new Scanner(System.in); int m = scan.nextInt(); int n = scan.nextInt(); - String magazine[] = new String[m]; - for (int magazine_i = 0; magazine_i < m; magazine_i++) { - magazine[magazine_i] = scan.next(); + String [] magazine = new String[m]; + for (int i = 0; i < m; i++) { + magazine[i] = scan.next(); } String ransom[] = new String[n]; - for (int ransom_i = 0; ransom_i < n; ransom_i++) { - ransom[ransom_i] = scan.next(); + for (int i = 0; i < n; i++) { + ransom[i] = scan.next(); } scan.close(); @@ -36,7 +36,7 @@ public class Solution { for (int i = 0; i < ransom.length; i++) { if (usableWords.containsKey(ransom[i]) && usableWords.get(ransom[i]) > 0) { - usableWords.put(ransom[i], usableWords.get(ransom[i]) - 1); // uses the word + usableWords.merge(ransom[i], -1, Integer::sum); // uses the word } else { System.out.println("No"); return; @@ -49,12 +49,9 @@ public class Solution { private static HashMap makeMap(String [] words) { HashMap map = new HashMap<>(); for (int i = 0; i < words.length; i++) { - if (map.containsKey(words[i])) { - map.put(words[i], map.get(words[i]) + 1); - } else { - map.put(words[i], 1); - } + map.merge(words[i], 1, Integer::sum); } return map; } } + diff --git a/Cracking the Coding Interview/README.md b/Cracking the Coding Interview/README.md index 4b053da..17b9bf9 100644 --- a/Cracking the Coding Interview/README.md +++ b/Cracking the Coding Interview/README.md @@ -1,24 +1,24 @@ ## Cracking the Coding Interview -| Domain | Subdomain | Topic | Challenge | Difficulty | Solution | -|:---------:|:-----------------------------:|:---------------------:|:--------------------------------------------------------------------------------------------------------:|:----------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Tutorials | Cracking the Coding Interview | Data Structures | [Arrays: Left Rotation](https://www.hackerrank.com/challenges/ctci-array-left-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Arrays%20-%20Left%20Rotation/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Strings: Making Anagrams](https://www.hackerrank.com/challenges/ctci-making-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Strings%20-%20Making%20Anagrams/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Hash Tables: Ransom Note](https://www.hackerrank.com/challenges/ctci-ransom-note) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Hash%20Tables%20-%20Ransom%20Note/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Linked Lists: Detect a Cycle](https://www.hackerrank.com/challenges/ctci-linked-list-cycle) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Linked%20Lists%20-%20Detect%20a%20Cycle/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Stacks: Balanced Brackets](https://www.hackerrank.com/challenges/ctci-balanced-brackets) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Stacks%20-%20Balanced%20Brackets/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Queues: A Tale of Two Stacks](https://www.hackerrank.com/challenges/ctci-queue-using-two-stacks) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Queue%20-%20A%20Tale%20of%20Two%20Stacks/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Trees: Is This a Binary Search Tree?](https://www.hackerrank.com/challenges/ctci-is-binary-search-tree) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Trees%20-%20Is%20This%20a%20Binary%20Search%20Tree/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Heaps: Find the Running Median](https://www.hackerrank.com/challenges/ctci-find-the-running-median) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Heaps%20-%20Find%20the%20Running%20Median/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Tries: Contacts](https://www.hackerrank.com/challenges/ctci-contacts) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Tries%20-%20Contacts/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [Sorting: Bubble Sort](https://www.hackerrank.com/challenges/ctci-bubble-sort) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Sorting%20-%20Bubble%20Sort/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [Sorting: Comparator](https://www.hackerrank.com/challenges/ctci-comparator-sorting) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Sorting%20-%20Comparator/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [Merge Sort: Counting Inversions](https://www.hackerrank.com/challenges/ctci-merge-sort) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Merge%20Sort%20-%20Counting%20Inversions/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [Binary Search: Ice Cream Parlor](https://www.hackerrank.com/challenges/ctci-ice-cream-parlor) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Binary%20Search%20-%20Ice%20Cream%20Parlor/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [DFS: Connected Cell in a Grid](https://www.hackerrank.com/challenges/ctci-connected-cell-in-a-grid) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/DFS%20-%20Connected%20Cell%20in%20a%20Grid/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [BFS: Shortest Reach in a Graph](https://www.hackerrank.com/challenges/ctci-bfs-shortest-reach) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/BFS%20-%20Shortest%20Reach%20in%20a%20Graph/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [Time Complexity: Primality](https://www.hackerrank.com/challenges/ctci-big-o) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Time%20Complexity%20-%20Primality/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [Recrusion: Fibonacci Numbers](https://www.hackerrank.com/challenges/ctci-fibonacci-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Recursion%20-%20Fibonacci%20Numbers/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [Recursion: Davis' Staircase](https://www.hackerrank.com/challenges/ctci-recursive-staircase) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Recursion%20-%20Davis'%20Staircase/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [DP: Coin Change](https://www.hackerrank.com/challenges/ctci-coin-change) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/DP%20-%20Coin%20Change/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [Bit Manipulation: Lonely Integer](https://www.hackerrank.com/challenges/ctci-lonely-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Bit%20Manipulation%20-%20Lonely%20Integer/Solution.java) | +| Topic | Challenge | Difficulty | Solution | +|:---------------------:|:--------------------------------------------------------------------------------------------------------:|:----------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Data Structures | [Arrays: Left Rotation](https://www.hackerrank.com/challenges/ctci-array-left-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Arrays%20-%20Left%20Rotation/Solution.java) | +| Data Structures | [Strings: Making Anagrams](https://www.hackerrank.com/challenges/ctci-making-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Strings%20-%20Making%20Anagrams/Solution.java) | +| Data Structures | [Hash Tables: Ransom Note](https://www.hackerrank.com/challenges/ctci-ransom-note) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Hash%20Tables%20-%20Ransom%20Note/Solution.java) | +| Data Structures | [Linked Lists: Detect a Cycle](https://www.hackerrank.com/challenges/ctci-linked-list-cycle) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Linked%20Lists%20-%20Detect%20a%20Cycle/Solution.java) | +| Data Structures | [Stacks: Balanced Brackets](https://www.hackerrank.com/challenges/ctci-balanced-brackets) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Stacks%20-%20Balanced%20Brackets/Solution.java) | +| Data Structures | [Queues: A Tale of Two Stacks](https://www.hackerrank.com/challenges/ctci-queue-using-two-stacks) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Queue%20-%20A%20Tale%20of%20Two%20Stacks/Solution.java) | +| Data Structures | [Trees: Is This a Binary Search Tree?](https://www.hackerrank.com/challenges/ctci-is-binary-search-tree) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Trees%20-%20Is%20This%20a%20Binary%20Search%20Tree/Solution.java) | +| Data Structures | [Heaps: Find the Running Median](https://www.hackerrank.com/challenges/ctci-find-the-running-median) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Heaps%20-%20Find%20the%20Running%20Median/Solution.java) | +| Data Structures | [Tries: Contacts](https://www.hackerrank.com/challenges/ctci-contacts) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Tries%20-%20Contacts/Solution.java) | +| Algorithms | [Sorting: Bubble Sort](https://www.hackerrank.com/challenges/ctci-bubble-sort) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Sorting%20-%20Bubble%20Sort/Solution.java) | +| Algorithms | [Sorting: Comparator](https://www.hackerrank.com/challenges/ctci-comparator-sorting) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Sorting%20-%20Comparator/Solution.java) | +| Algorithms | [Merge Sort: Counting Inversions](https://www.hackerrank.com/challenges/ctci-merge-sort) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Merge%20Sort%20-%20Counting%20Inversions/Solution.java) | +| Algorithms | [Binary Search: Ice Cream Parlor](https://www.hackerrank.com/challenges/ctci-ice-cream-parlor) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Binary%20Search%20-%20Ice%20Cream%20Parlor/Solution.java) | +| Algorithms | [DFS: Connected Cell in a Grid](https://www.hackerrank.com/challenges/ctci-connected-cell-in-a-grid) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/DFS%20-%20Connected%20Cell%20in%20a%20Grid/Solution.java) | +| Algorithms | [BFS: Shortest Reach in a Graph](https://www.hackerrank.com/challenges/ctci-bfs-shortest-reach) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/BFS%20-%20Shortest%20Reach%20in%20a%20Graph/Solution.java) | +| Techniques / Concepts | [Time Complexity: Primality](https://www.hackerrank.com/challenges/ctci-big-o) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Time%20Complexity%20-%20Primality/Solution.java) | +| Techniques / Concepts | [Recrusion: Fibonacci Numbers](https://www.hackerrank.com/challenges/ctci-fibonacci-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Recursion%20-%20Fibonacci%20Numbers/Solution.java) | +| Techniques / Concepts | [Recursion: Davis' Staircase](https://www.hackerrank.com/challenges/ctci-recursive-staircase) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Recursion%20-%20Davis'%20Staircase/Solution.java) | +| Techniques / Concepts | [DP: Coin Change](https://www.hackerrank.com/challenges/ctci-coin-change) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/DP%20-%20Coin%20Change/Solution.java) | +| Techniques / Concepts | [Bit Manipulation: Lonely Integer](https://www.hackerrank.com/challenges/ctci-lonely-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Bit%20Manipulation%20-%20Lonely%20Integer/Solution.java) | diff --git a/Data Structures/Arrays/Sparse Arrays/Solution.java b/Data Structures/Arrays/Sparse Arrays/Solution.java index 3243e96..7787525 100644 --- a/Data Structures/Arrays/Sparse Arrays/Solution.java +++ b/Data Structures/Arrays/Sparse Arrays/Solution.java @@ -10,27 +10,20 @@ public class Solution { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); scan.nextLine(); // gets rid of pesky newline - HashMap map = new HashMap<>(); + /* Create and fill HashMap */ + HashMap map = new HashMap<>(); for (int i = 0; i < N; i++) { String str = scan.nextLine(); - if (map.containsKey(str)) { - map.put(str, map.get(str) + 1); - } else { - map.put(str, 1); - } + map.merge(str, 1, Integer::sum); } - + + /* Query HashMap */ int Q = scan.nextInt(); scan.nextLine(); // gets rid of pesky newline - for (int i = 0; i < Q; i++) { String str = scan.nextLine(); - if (map.containsKey(str)) { - System.out.println(map.get(str)); - } else { - System.out.println(0); - } + System.out.println(map.getOrDefault(str, 0)); } } } diff --git a/Data Structures/README.md b/Data Structures/README.md index 485ac6a..3f0b384 100644 --- a/Data Structures/README.md +++ b/Data Structures/README.md @@ -1,111 +1,111 @@ ## Data Structures -| Domain | Subdomain | Challenge | Difficulty | Solution | -|:---------------:|:---------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Data Structures | Arrays | [Arrays - DS](https://www.hackerrank.com/challenges/arrays-ds) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Arrays%20-%20DS/Solution.java) | -| Data Structures | Arrays | [2D Array - DS](https://www.hackerrank.com/challenges/2d-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/2D%20Array%20-%20DS/Solution.java) | -| Data Structures | Arrays | [Dynamic Array](https://www.hackerrank.com/challenges/dynamic-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Dynamic%20Array/Solution.java) | -| Data Structures | Arrays | [Left Rotation](https://www.hackerrank.com/challenges/array-left-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Left%20Rotation/Solution.java) | -| Data Structures | Arrays | [Sparse Arrays](https://www.hackerrank.com/challenges/sparse-arrays) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Sparse%20Arrays/Solution.java) | -| Data Structures | Arrays | [Algorithmic Crush](https://www.hackerrank.com/challenges/crush) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Algorithmic%20Crush/Solution.java) | -| Data Structures | Linked List | [Print the Elements of a Linked List](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Print%20the%20Elements%20of%20a%20Linked%20List/Solution.java) | -| Data Structures | Linked List | [Insert a Node at the Tail of a Linked List](https://www.hackerrank.com/challenges/insert-a-node-at-the-tail-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20Node%20at%20the%20Tail%20of%20a%20Linked%20List/Solution.java) | -| Data Structures | Linked List | [Insert a node at the head of a linked list](https://www.hackerrank.com/challenges/insert-a-node-at-the-head-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20node%20at%20the%20head%20of%20a%20linked%20list/Solution.java) | -| Data Structures | Linked List | [Insert a node at a specific position in a linked list](https://www.hackerrank.com/challenges/insert-a-node-at-a-specific-position-in-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20node%20at%20a%20specific%20position%20in%20a%20linked%20list/Solution.java) | -| Data Structures | Linked List | [Delete a Node](https://www.hackerrank.com/challenges/delete-a-node-from-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Delete%20a%20Node/Solution.java) | -| Data Structures | Linked List | [Print in Reverse](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Print%20in%20Reverse/Solution.java) | -| Data Structures | Linked List | [Reverse a linked list](https://www.hackerrank.com/challenges/reverse-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Reverse%20a%20linked%20list/Solution.java) | -| Data Structures | Linked List | [Compare two linked lists](https://www.hackerrank.com/challenges/compare-two-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Compare%20two%20linked%20lists/Solution.java) | -| Data Structures | Linked List | [Merge two sorted linked lists](https://www.hackerrank.com/challenges/merge-two-sorted-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Merge%20two%20sorted%20linked%20lists/Solution.java) | -| Data Structures | Linked List | [Get Node Value](https://www.hackerrank.com/challenges/get-the-value-of-the-node-at-a-specific-position-from-the-tail) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Get%20Node%20Value/Solution.java) | -| Data Structures | Linked List | [Delete duplicate-value nodes from a sorted linked list](https://www.hackerrank.com/challenges/delete-duplicate-value-nodes-from-a-sorted-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Delete%20duplicate-value%20nodes%20from%20a%20sorted%20linked%20list/Solution.java) | -| Data Structures | Linked List | [Cycle Detection](https://www.hackerrank.com/challenges/detect-whether-a-linked-list-contains-a-cycle) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Cycle%20Detection/Solution.java) | -| Data Structures | Linked List | [Find Merge Point of Two Lists](https://www.hackerrank.com/challenges/find-the-merge-point-of-two-joined-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Find%20Merge%20Point%20of%20Two%20Lists/Solution.java) | -| Data Structures | Linked List | [Inserting a Node Into a Sorted Doubly Linked List](https://www.hackerrank.com/challenges/insert-a-node-into-a-sorted-doubly-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Inserting%20a%20Node%20Into%20a%20Sorted%20Doubly%20Linked%20List/Solution.java) | -| Data Structures | Linked List | [Reverse a doubly linked list](https://www.hackerrank.com/challenges/reverse-a-doubly-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Reverse%20a%20doubly%20linked%20list/Solution.java) | -| Data Structures | Trees | [Tree: Preorder Traversal](https://www.hackerrank.com/challenges/tree-preorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Preorder%20Traversal/Solution.java) | -| Data Structures | Trees | [Tree: Postorder Traversal](https://www.hackerrank.com/challenges/tree-postorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Postorder%20Traversal/Solution.java) | -| Data Structures | Trees | [Tree: Inorder Traversal](https://www.hackerrank.com/challenges/tree-inorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Inorder%20Traversal/Solution.java) | -| Data Structures | Trees | [Tree: Height of a Binary Tree](https://www.hackerrank.com/challenges/tree-height-of-a-binary-tree) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Height%20of%20a%20Binary%20Tree/Solution.java) | -| Data Structures | Trees | [Tree: Top View](https://www.hackerrank.com/challenges/tree-top-view) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Top%20View/Solution.java) | -| Data Structures | Trees | [Tree: Level Order Traversal](https://www.hackerrank.com/challenges/tree-level-order-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Level%20Order%20Traversal/Solution.java) | -| Data Structures | Trees | [Binary Search Tree: Insertion](https://www.hackerrank.com/challenges/binary-search-tree-insertion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Binary%20Search%20Tree%20-%20Insertion/Solution.java) | -| Data Structures | Trees | [Tree: Huffman Decoding](https://www.hackerrank.com/challenges/tree-huffman-decoding) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Huffman%20Decoding/Solution.java) | -| Data Structures | Trees | [Binary Search Tree: Lowest Common Ancestor](https://www.hackerrank.com/challenges/binary-search-tree-lowest-common-ancestor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Binary%20Search%20Tree%20-%20Lowest%20Common%20Ancestor/Solution.java) | -| Data Structures | Trees | [Swap Nodes [Algo]](https://www.hackerrank.com/challenges/swap-nodes-algo) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Swap%20Nodes%20%5BAlgo%5D/Solution.java) | -| Data Structures | Trees | [Is This a Binary Search Tree?](https://www.hackerrank.com/challenges/is-binary-search-tree) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Is%20This%20a%20Binary%20Search%20Tree/Solution.java) | -| Data Structures | Trees | [Square-Ten Tree](https://www.hackerrank.com/challenges/square-ten-tree) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Square-Ten%20Tree/Solution.java) | -| Data Structures | Trees | [Balanced Forest](https://www.hackerrank.com/challenges/balanced-forest) | Hard | Coming Soon! | -| Data Structures | Balanced Trees | [Self Balancing Tree](https://www.hackerrank.com/challenges/self-balancing-tree) | Medium | Coming Soon! | -| Data Structures | Balanced Trees | [Array and simple queries](https://www.hackerrank.com/challenges/array-and-simple-queries) | Hard | Coming Soon! | -| Data Structures | Balanced Trees | [Median Updates](https://www.hackerrank.com/challenges/median) | Hard | Coming Soon! | -| Data Structures | Stacks | [Maximum Element](https://www.hackerrank.com/challenges/maximum-element) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Stacks/Maximum%20Element/Solution.java) | -| Data Structures | Stacks | [Balanced Brackets](https://www.hackerrank.com/challenges/balanced-brackets) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Stacks/Balanced%20Brackets/Solution.java) | -| Data Structures | Stacks | [Largest Rectangle](https://www.hackerrank.com/challenges/largest-rectangle) | Hard | Coming Soon! | -| Data Structures | Stacks | [Simple Text Editor](https://www.hackerrank.com/challenges/simple-text-editor) | Medium | Coming Soon! | -| Data Structures | Stacks | [Equal Stacks](https://www.hackerrank.com/challenges/equal-stacks) | Easy | Coming Soon! | -| Data Structures | Stacks | [Poisonous Plants](https://www.hackerrank.com/challenges/poisonous-plants) | Hard | Coming Soon! | -| Data Structures | Stacks | [AND xor OR](https://www.hackerrank.com/challenges/and-xor-or) | Hard | Coming Soon! | -| Data Structures | Stacks | [Waiter](https://www.hackerrank.com/challenges/waiter) | Medium | Coming Soon! | -| Data Structures | Queues | [Queue using Two Stacks](https://www.hackerrank.com/challenges/queue-using-two-stacks) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Queues/Queue%20using%20Two%20Stacks/Solution.java) | -| Data Structures | Queues | [Castle on the Grid](https://www.hackerrank.com/challenges/castle-on-the-grid) | Medium | Coming Soon! | -| Data Structures | Queues | [Down to Zero II](https://www.hackerrank.com/challenges/down-to-zero-ii) | Medium | Coming Soon! | -| Data Structures | Queues | [Truck Tour](https://www.hackerrank.com/challenges/truck-tour) | Hard | Coming Soon! | -| Data Structures | Queues | [Queries with Fixed Length](https://www.hackerrank.com/challenges/queries-with-fixed-length) | Hard | Coming Soon! | -| Data Structures | Heap | [QHEAP1](https://www.hackerrank.com/challenges/qheap1) | Easy | Coming Soon! | -| Data Structures | Heap | [Jesse and Cookies](https://www.hackerrank.com/challenges/jesse-and-cookies) | Easy | Coming Soon! | -| Data Structures | Heap | [Find the Running Median](https://www.hackerrank.com/challenges/find-the-running-median) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Heap/Find%20the%20Running%20Median/Solution.java) | -| Data Structures | Heap | [Minimum Average Waiting Time](https://www.hackerrank.com/challenges/minimum-average-waiting-time) | Hard | Coming Soon! | -| Data Structures | Disjoint Set | [Merging Communities](https://www.hackerrank.com/challenges/merging-communities) | Hard | Coming Soon! | -| Data Structures | Disjoint Set | [Components in a graph](https://www.hackerrank.com/challenges/components-in-graph) | Medium | Coming Soon! | -| Data Structures | Disjoint Set | [Kundu and Tree](https://www.hackerrank.com/challenges/kundu-and-tree) | Hard | Coming Soon! | -| Data Structures | Disjoint Set | [Super Maximum Cost Queries](https://www.hackerrank.com/challenges/maximum-cost-queries) | Hard | Coming Soon! | -| Data Structures | Multiple Choice | [Data Structures MCQ 1](https://www.hackerrank.com/challenges/how-well-do-you-know-trees) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%201/Solution.java) | -| Data Structures | Multiple Choice | [Data Structures MCQ 2](https://www.hackerrank.com/challenges/are-you-an-expert-on-data-structures) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%202/Solution.java) | -| Data Structures | Multiple Choice | [Data Structures MCQ 3](https://www.hackerrank.com/challenges/are-you-an-expert-on-data-structures-1) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%203/Solution.java) | -| Data Structures | Trie | [Contacts](https://www.hackerrank.com/challenges/contacts) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trie/Contacts/Solution.java) | -| Data Structures | Trie | [No Prefix Set](https://www.hackerrank.com/challenges/no-prefix-set) | Hard | Coming Soon! | -| Data Structures | Advanced | [Kindergarten Adventures](https://www.hackerrank.com/challenges/kindergarten-adventures) | Medium | Coming Soon! | -| Data Structures | Advanced | [Cube Summation](https://www.hackerrank.com/challenges/cube-summation) | Hard | Coming Soon! | -| Data Structures | Advanced | [Mr. X and His Shots](https://www.hackerrank.com/challenges/x-and-his-shots) | Medium | Coming Soon! | -| Data Structures | Advanced | [Direct Connections](https://www.hackerrank.com/challenges/direct-connections) | Hard | Coming Soon! | -| Data Structures | Advanced | [Subsequence Weighting](https://www.hackerrank.com/challenges/subsequence-weighting) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Jim and the Skyscrapers](https://www.hackerrank.com/challenges/jim-and-the-skyscrapers) | Medium | Coming Soon! | -| Data Structures | Advanced | [Counting On a Tree](https://www.hackerrank.com/challenges/counting-on-a-tree) | Expert | Coming Soon! | -| Data Structures | Advanced | [Unique Colors](https://www.hackerrank.com/challenges/unique-colors) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Self-Driving Bus](https://www.hackerrank.com/challenges/self-driving-bus) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Fibonacci Numbers Tree](https://www.hackerrank.com/challenges/fibonacci-numbers-tree) | Expert | Coming Soon! | -| Data Structures | Advanced | [Functional Palindromes](https://www.hackerrank.com/challenges/functional-palindromes) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Lazy White Falcon](https://www.hackerrank.com/challenges/lazy-white-falcon) | Hard | Coming Soon! | -| Data Structures | Advanced | [Ticket to Ride](https://www.hackerrank.com/challenges/ticket-to-ride) | Expert | Coming Soon! | -| Data Structures | Advanced | [Heavy Light White Falcon](https://www.hackerrank.com/challenges/heavy-light-white-falcon) | Hard | Coming Soon! | -| Data Structures | Advanced | [Sum of the Maximums](https://www.hackerrank.com/challenges/little-alexey-and-sum-of-maximums) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Heavy Light 2 White Falcon](https://www.hackerrank.com/challenges/heavy-light-2-white-falcon) | Hard | Coming Soon! | -| Data Structures | Advanced | [Library Query](https://www.hackerrank.com/challenges/library-query) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Starfleet](https://www.hackerrank.com/challenges/starfleet) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Almost Equal - Advanced](https://www.hackerrank.com/challenges/almost-equal-advanced) | Expert | Coming Soon! | -| Data Structures | Advanced | [Almost sorted interval](https://www.hackerrank.com/challenges/almost-sorted-interval) | Expert | Coming Soon! | -| Data Structures | Advanced | [Burger Happiness](https://www.hackerrank.com/challenges/burger-happiness) | Hard | Coming Soon! | -| Data Structures | Advanced | [Roy and alpha-beta trees](https://www.hackerrank.com/challenges/roy-and-alpha-beta-trees) | Hard | Coming Soon! | -| Data Structures | Advanced | [Coloring Tree](https://www.hackerrank.com/challenges/coloring-tree) | Hard | Coming Soon! | -| Data Structures | Advanced | [Recalling Early Days GP with Trees](https://www.hackerrank.com/challenges/recalling-early-days-gp-with-trees) | Hard | Coming Soon! | -| Data Structures | Advanced | [Swaps and Sum](https://www.hackerrank.com/challenges/swaps-and-sum) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Arithmetic Progressions](https://www.hackerrank.com/challenges/arithmetic-progressions) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Coolguy and Two Subsequences](https://www.hackerrank.com/challenges/coolguy-and-two-subsequences) | Advanced | Coming Soon! | -| Data Structures | Advanced | [White Falcon And Tree](https://www.hackerrank.com/challenges/white-falcon-and-tree) | Hard | Coming Soon! | -| Data Structures | Advanced | [Subtrees And Paths](https://www.hackerrank.com/challenges/subtrees-and-paths) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Triplets](https://www.hackerrank.com/challenges/triplets) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Beautiful Segments](https://www.hackerrank.com/challenges/beautiful-segments) | Expert | Coming Soon! | -| Data Structures | Advanced | [Divisibility](https://www.hackerrank.com/challenges/ab0) | Expert | Coming Soon! | -| Data Structures | Advanced | [BST maintenance](https://www.hackerrank.com/challenges/bst-maintenance) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Find Maximum Index Product](https://www.hackerrank.com/challenges/find-maximum-index-product) | Medium | Coming Soon! | -| Data Structures | Advanced | [Taxicab Driver's Problem](https://www.hackerrank.com/challenges/taxicab-drivers-problem) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Jaggu Playing with Balloons](https://www.hackerrank.com/challenges/jagia-playing-with-numbers) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Dynamic Summation](https://www.hackerrank.com/challenges/dynamic-summation) | Hard | Coming Soon! | -| Data Structures | Advanced | [Two Array Problem](https://www.hackerrank.com/challenges/weird-queries) | Hard | Coming Soon! | -| Data Structures | Advanced | [Rooted Tree](https://www.hackerrank.com/challenges/rooted-tree) | Hard | Coming Soon! | -| Data Structures | Advanced | [The crazy helix](https://www.hackerrank.com/challenges/helix) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Network administration](https://www.hackerrank.com/challenges/net-admin) | Hard | Coming Soon! | -| Data Structures | Advanced | [Easy Addition](https://www.hackerrank.com/challenges/easy-addition) | Expert | Coming Soon! | -| Data Structures | Advanced | [Find the permutation](https://www.hackerrank.com/challenges/find-the-permutation) | Expert | Coming Soon! | -| Data Structures | Advanced | [Company Retreat](https://www.hackerrank.com/challenges/company-retreat) | Advanced | Coming Soon! | +| Subdomain | Challenge | Difficulty | Solution | +|:---------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Arrays | [Arrays - DS](https://www.hackerrank.com/challenges/arrays-ds) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Arrays%20-%20DS/Solution.java) | +| Arrays | [2D Array - DS](https://www.hackerrank.com/challenges/2d-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/2D%20Array%20-%20DS/Solution.java) | +| Arrays | [Dynamic Array](https://www.hackerrank.com/challenges/dynamic-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Dynamic%20Array/Solution.java) | +| Arrays | [Left Rotation](https://www.hackerrank.com/challenges/array-left-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Left%20Rotation/Solution.java) | +| Arrays | [Sparse Arrays](https://www.hackerrank.com/challenges/sparse-arrays) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Sparse%20Arrays/Solution.java) | +| Arrays | [Algorithmic Crush](https://www.hackerrank.com/challenges/crush) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Algorithmic%20Crush/Solution.java) | +| Linked List | [Print the Elements of a Linked List](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Print%20the%20Elements%20of%20a%20Linked%20List/Solution.java) | +| Linked List | [Insert a Node at the Tail of a Linked List](https://www.hackerrank.com/challenges/insert-a-node-at-the-tail-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20Node%20at%20the%20Tail%20of%20a%20Linked%20List/Solution.java) | +| Linked List | [Insert a node at the head of a linked list](https://www.hackerrank.com/challenges/insert-a-node-at-the-head-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20node%20at%20the%20head%20of%20a%20linked%20list/Solution.java) | +| Linked List | [Insert a node at a specific position in a linked list](https://www.hackerrank.com/challenges/insert-a-node-at-a-specific-position-in-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20node%20at%20a%20specific%20position%20in%20a%20linked%20list/Solution.java) | +| Linked List | [Delete a Node](https://www.hackerrank.com/challenges/delete-a-node-from-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Delete%20a%20Node/Solution.java) | +| Linked List | [Print in Reverse](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Print%20in%20Reverse/Solution.java) | +| Linked List | [Reverse a linked list](https://www.hackerrank.com/challenges/reverse-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Reverse%20a%20linked%20list/Solution.java) | +| Linked List | [Compare two linked lists](https://www.hackerrank.com/challenges/compare-two-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Compare%20two%20linked%20lists/Solution.java) | +| Linked List | [Merge two sorted linked lists](https://www.hackerrank.com/challenges/merge-two-sorted-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Merge%20two%20sorted%20linked%20lists/Solution.java) | +| Linked List | [Get Node Value](https://www.hackerrank.com/challenges/get-the-value-of-the-node-at-a-specific-position-from-the-tail) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Get%20Node%20Value/Solution.java) | +| Linked List | [Delete duplicate-value nodes from a sorted linked list](https://www.hackerrank.com/challenges/delete-duplicate-value-nodes-from-a-sorted-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Delete%20duplicate-value%20nodes%20from%20a%20sorted%20linked%20list/Solution.java) | +| Linked List | [Cycle Detection](https://www.hackerrank.com/challenges/detect-whether-a-linked-list-contains-a-cycle) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Cycle%20Detection/Solution.java) | +| Linked List | [Find Merge Point of Two Lists](https://www.hackerrank.com/challenges/find-the-merge-point-of-two-joined-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Find%20Merge%20Point%20of%20Two%20Lists/Solution.java) | +| Linked List | [Inserting a Node Into a Sorted Doubly Linked List](https://www.hackerrank.com/challenges/insert-a-node-into-a-sorted-doubly-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Inserting%20a%20Node%20Into%20a%20Sorted%20Doubly%20Linked%20List/Solution.java) | +| Linked List | [Reverse a doubly linked list](https://www.hackerrank.com/challenges/reverse-a-doubly-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Reverse%20a%20doubly%20linked%20list/Solution.java) | +| Trees | [Tree: Preorder Traversal](https://www.hackerrank.com/challenges/tree-preorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Preorder%20Traversal/Solution.java) | +| Trees | [Tree: Postorder Traversal](https://www.hackerrank.com/challenges/tree-postorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Postorder%20Traversal/Solution.java) | +| Trees | [Tree: Inorder Traversal](https://www.hackerrank.com/challenges/tree-inorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Inorder%20Traversal/Solution.java) | +| Trees | [Tree: Height of a Binary Tree](https://www.hackerrank.com/challenges/tree-height-of-a-binary-tree) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Height%20of%20a%20Binary%20Tree/Solution.java) | +| Trees | [Tree: Top View](https://www.hackerrank.com/challenges/tree-top-view) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Top%20View/Solution.java) | +| Trees | [Tree: Level Order Traversal](https://www.hackerrank.com/challenges/tree-level-order-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Level%20Order%20Traversal/Solution.java) | +| Trees | [Binary Search Tree: Insertion](https://www.hackerrank.com/challenges/binary-search-tree-insertion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Binary%20Search%20Tree%20-%20Insertion/Solution.java) | +| Trees | [Tree: Huffman Decoding](https://www.hackerrank.com/challenges/tree-huffman-decoding) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Huffman%20Decoding/Solution.java) | +| Trees | [Binary Search Tree: Lowest Common Ancestor](https://www.hackerrank.com/challenges/binary-search-tree-lowest-common-ancestor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Binary%20Search%20Tree%20-%20Lowest%20Common%20Ancestor/Solution.java) | +| Trees | [Swap Nodes [Algo]](https://www.hackerrank.com/challenges/swap-nodes-algo) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Swap%20Nodes%20%5BAlgo%5D/Solution.java) | +| Trees | [Is This a Binary Search Tree?](https://www.hackerrank.com/challenges/is-binary-search-tree) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Is%20This%20a%20Binary%20Search%20Tree/Solution.java) | +| Trees | [Square-Ten Tree](https://www.hackerrank.com/challenges/square-ten-tree) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Square-Ten%20Tree/Solution.java) | +| Trees | [Balanced Forest](https://www.hackerrank.com/challenges/balanced-forest) | Hard | Coming Soon! | +| Balanced Trees | [Self Balancing Tree](https://www.hackerrank.com/challenges/self-balancing-tree) | Medium | Coming Soon! | +| Balanced Trees | [Array and simple queries](https://www.hackerrank.com/challenges/array-and-simple-queries) | Hard | Coming Soon! | +| Balanced Trees | [Median Updates](https://www.hackerrank.com/challenges/median) | Hard | Coming Soon! | +| Stacks | [Maximum Element](https://www.hackerrank.com/challenges/maximum-element) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Stacks/Maximum%20Element/Solution.java) | +| Stacks | [Balanced Brackets](https://www.hackerrank.com/challenges/balanced-brackets) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Stacks/Balanced%20Brackets/Solution.java) | +| Stacks | [Largest Rectangle](https://www.hackerrank.com/challenges/largest-rectangle) | Hard | Coming Soon! | +| Stacks | [Simple Text Editor](https://www.hackerrank.com/challenges/simple-text-editor) | Medium | Coming Soon! | +| Stacks | [Equal Stacks](https://www.hackerrank.com/challenges/equal-stacks) | Easy | Coming Soon! | +| Stacks | [Poisonous Plants](https://www.hackerrank.com/challenges/poisonous-plants) | Hard | Coming Soon! | +| Stacks | [AND xor OR](https://www.hackerrank.com/challenges/and-xor-or) | Hard | Coming Soon! | +| Stacks | [Waiter](https://www.hackerrank.com/challenges/waiter) | Medium | Coming Soon! | +| Queues | [Queue using Two Stacks](https://www.hackerrank.com/challenges/queue-using-two-stacks) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Queues/Queue%20using%20Two%20Stacks/Solution.java) | +| Queues | [Castle on the Grid](https://www.hackerrank.com/challenges/castle-on-the-grid) | Medium | Coming Soon! | +| Queues | [Down to Zero II](https://www.hackerrank.com/challenges/down-to-zero-ii) | Medium | Coming Soon! | +| Queues | [Truck Tour](https://www.hackerrank.com/challenges/truck-tour) | Hard | Coming Soon! | +| Queues | [Queries with Fixed Length](https://www.hackerrank.com/challenges/queries-with-fixed-length) | Hard | Coming Soon! | +| Heap | [QHEAP1](https://www.hackerrank.com/challenges/qheap1) | Easy | Coming Soon! | +| Heap | [Jesse and Cookies](https://www.hackerrank.com/challenges/jesse-and-cookies) | Easy | Coming Soon! | +| Heap | [Find the Running Median](https://www.hackerrank.com/challenges/find-the-running-median) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Heap/Find%20the%20Running%20Median/Solution.java) | +| Heap | [Minimum Average Waiting Time](https://www.hackerrank.com/challenges/minimum-average-waiting-time) | Hard | Coming Soon! | +| Disjoint Set | [Merging Communities](https://www.hackerrank.com/challenges/merging-communities) | Hard | Coming Soon! | +| Disjoint Set | [Components in a graph](https://www.hackerrank.com/challenges/components-in-graph) | Medium | Coming Soon! | +| Disjoint Set | [Kundu and Tree](https://www.hackerrank.com/challenges/kundu-and-tree) | Hard | Coming Soon! | +| Disjoint Set | [Super Maximum Cost Queries](https://www.hackerrank.com/challenges/maximum-cost-queries) | Hard | Coming Soon! | +| Multiple Choice | [Data Structures MCQ 1](https://www.hackerrank.com/challenges/how-well-do-you-know-trees) | Hard | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%201/Solution.txt) | +| Multiple Choice | [Data Structures MCQ 2](https://www.hackerrank.com/challenges/are-you-an-expert-on-data-structures) | Hard | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%202/Solution.txt) | +| Multiple Choice | [Data Structures MCQ 3](https://www.hackerrank.com/challenges/are-you-an-expert-on-data-structures-1) | Hard | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%203/Solution.txt) | +| Trie | [Contacts](https://www.hackerrank.com/challenges/contacts) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trie/Contacts/Solution.java) | +| Trie | [No Prefix Set](https://www.hackerrank.com/challenges/no-prefix-set) | Hard | Coming Soon! | +| Advanced | [Kindergarten Adventures](https://www.hackerrank.com/challenges/kindergarten-adventures) | Medium | Coming Soon! | +| Advanced | [Cube Summation](https://www.hackerrank.com/challenges/cube-summation) | Hard | Coming Soon! | +| Advanced | [Mr. X and His Shots](https://www.hackerrank.com/challenges/x-and-his-shots) | Medium | Coming Soon! | +| Advanced | [Direct Connections](https://www.hackerrank.com/challenges/direct-connections) | Hard | Coming Soon! | +| Advanced | [Subsequence Weighting](https://www.hackerrank.com/challenges/subsequence-weighting) | Advanced | Coming Soon! | +| Advanced | [Jim and the Skyscrapers](https://www.hackerrank.com/challenges/jim-and-the-skyscrapers) | Medium | Coming Soon! | +| Advanced | [Counting On a Tree](https://www.hackerrank.com/challenges/counting-on-a-tree) | Expert | Coming Soon! | +| Advanced | [Unique Colors](https://www.hackerrank.com/challenges/unique-colors) | Advanced | Coming Soon! | +| Advanced | [Self-Driving Bus](https://www.hackerrank.com/challenges/self-driving-bus) | Advanced | Coming Soon! | +| Advanced | [Fibonacci Numbers Tree](https://www.hackerrank.com/challenges/fibonacci-numbers-tree) | Expert | Coming Soon! | +| Advanced | [Functional Palindromes](https://www.hackerrank.com/challenges/functional-palindromes) | Advanced | Coming Soon! | +| Advanced | [Lazy White Falcon](https://www.hackerrank.com/challenges/lazy-white-falcon) | Hard | Coming Soon! | +| Advanced | [Ticket to Ride](https://www.hackerrank.com/challenges/ticket-to-ride) | Expert | Coming Soon! | +| Advanced | [Heavy Light White Falcon](https://www.hackerrank.com/challenges/heavy-light-white-falcon) | Hard | Coming Soon! | +| Advanced | [Sum of the Maximums](https://www.hackerrank.com/challenges/little-alexey-and-sum-of-maximums) | Advanced | Coming Soon! | +| Advanced | [Heavy Light 2 White Falcon](https://www.hackerrank.com/challenges/heavy-light-2-white-falcon) | Hard | Coming Soon! | +| Advanced | [Library Query](https://www.hackerrank.com/challenges/library-query) | Advanced | Coming Soon! | +| Advanced | [Starfleet](https://www.hackerrank.com/challenges/starfleet) | Advanced | Coming Soon! | +| Advanced | [Almost Equal - Advanced](https://www.hackerrank.com/challenges/almost-equal-advanced) | Expert | Coming Soon! | +| Advanced | [Almost sorted interval](https://www.hackerrank.com/challenges/almost-sorted-interval) | Expert | Coming Soon! | +| Advanced | [Burger Happiness](https://www.hackerrank.com/challenges/burger-happiness) | Hard | Coming Soon! | +| Advanced | [Roy and alpha-beta trees](https://www.hackerrank.com/challenges/roy-and-alpha-beta-trees) | Hard | Coming Soon! | +| Advanced | [Coloring Tree](https://www.hackerrank.com/challenges/coloring-tree) | Hard | Coming Soon! | +| Advanced | [Recalling Early Days GP with Trees](https://www.hackerrank.com/challenges/recalling-early-days-gp-with-trees) | Hard | Coming Soon! | +| Advanced | [Swaps and Sum](https://www.hackerrank.com/challenges/swaps-and-sum) | Advanced | Coming Soon! | +| Advanced | [Arithmetic Progressions](https://www.hackerrank.com/challenges/arithmetic-progressions) | Advanced | Coming Soon! | +| Advanced | [Coolguy and Two Subsequences](https://www.hackerrank.com/challenges/coolguy-and-two-subsequences) | Advanced | Coming Soon! | +| Advanced | [White Falcon And Tree](https://www.hackerrank.com/challenges/white-falcon-and-tree) | Hard | Coming Soon! | +| Advanced | [Subtrees And Paths](https://www.hackerrank.com/challenges/subtrees-and-paths) | Advanced | Coming Soon! | +| Advanced | [Triplets](https://www.hackerrank.com/challenges/triplets) | Advanced | Coming Soon! | +| Advanced | [Beautiful Segments](https://www.hackerrank.com/challenges/beautiful-segments) | Expert | Coming Soon! | +| Advanced | [Divisibility](https://www.hackerrank.com/challenges/ab0) | Expert | Coming Soon! | +| Advanced | [BST maintenance](https://www.hackerrank.com/challenges/bst-maintenance) | Advanced | Coming Soon! | +| Advanced | [Find Maximum Index Product](https://www.hackerrank.com/challenges/find-maximum-index-product) | Medium | Coming Soon! | +| Advanced | [Taxicab Driver's Problem](https://www.hackerrank.com/challenges/taxicab-drivers-problem) | Advanced | Coming Soon! | +| Advanced | [Jaggu Playing with Balloons](https://www.hackerrank.com/challenges/jagia-playing-with-numbers) | Advanced | Coming Soon! | +| Advanced | [Dynamic Summation](https://www.hackerrank.com/challenges/dynamic-summation) | Hard | Coming Soon! | +| Advanced | [Two Array Problem](https://www.hackerrank.com/challenges/weird-queries) | Hard | Coming Soon! | +| Advanced | [Rooted Tree](https://www.hackerrank.com/challenges/rooted-tree) | Hard | Coming Soon! | +| Advanced | [The crazy helix](https://www.hackerrank.com/challenges/helix) | Advanced | Coming Soon! | +| Advanced | [Network administration](https://www.hackerrank.com/challenges/net-admin) | Hard | Coming Soon! | +| Advanced | [Easy Addition](https://www.hackerrank.com/challenges/easy-addition) | Expert | Coming Soon! | +| Advanced | [Find the permutation](https://www.hackerrank.com/challenges/find-the-permutation) | Expert | Coming Soon! | +| Advanced | [Company Retreat](https://www.hackerrank.com/challenges/company-retreat) | Advanced | Coming Soon! | diff --git a/Java/Data Structures/Java 1D Array (Part 2)/Solution.java b/Java/Data Structures/Java 1D Array (Part 2)/Solution.java index d120c47..507cf27 100644 --- a/Java/Data Structures/Java 1D Array (Part 2)/Solution.java +++ b/Java/Data Structures/Java 1D Array (Part 2)/Solution.java @@ -3,10 +3,8 @@ // HackerRank: hackerrank.com/rshaghoulian import java.util.Scanner; -import java.util.HashMap; public class Solution { - public static void main(String[] args) { Scanner scan = new Scanner(System.in); int T = scan.nextInt(); diff --git a/Java/Data Structures/Java Dequeue/Solution.java b/Java/Data Structures/Java Dequeue/Solution.java index 0c44235..1780281 100644 --- a/Java/Data Structures/Java Dequeue/Solution.java +++ b/Java/Data Structures/Java Dequeue/Solution.java @@ -7,8 +7,8 @@ import java.util.Deque; import java.util.ArrayDeque; import java.util.HashMap; -// O(n) runtime -// O(n) space complexity +// Time Complexity: O(n) +// Space Complexity: O(n) public class test { public static void main(String[] args) { HashMap map = new HashMap<>(); @@ -26,17 +26,14 @@ public class test { if (map.get(old) == 1) { map.remove(old); } else { - map.put(old, map.get(old) - 1); + map.merge(old, -1, Integer::sum); } } + /* Add new value */ int num = scan.nextInt(); deque.add(num); - if (map.containsKey(num)) { - map.put(num, map.get(num) + 1); - } else { - map.put(num, 1); - } + map.merge(num, 1, Integer::sum); max = Math.max(max, map.size()); } diff --git a/Java/README.md b/Java/README.md index 727a361..cca9778 100644 --- a/Java/README.md +++ b/Java/README.md @@ -1,69 +1,69 @@ ## Java -| Domain | Subdomain | Challenge | Difficulty | Solution | -|:------:|:---------------------------:|:------------------------------------------------------------------------------------------------------------------------:|:----------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Java | Introduction | [Welcome to Java!](https://www.hackerrank.com/challenges/welcome-to-java) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Welcome%20to%20Java!/Solution.java) | -| Java | Introduction | [Java Stdin and Stdout I](https://www.hackerrank.com/challenges/java-stdin-and-stdout-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Stdin%20and%20Stdout%20I/Solution.java) | -| Java | Introduction | [Java If-Else](https://www.hackerrank.com/challenges/java-if-else) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20If-Else/Solution.java) | -| Java | Introduction | [Java Stdin and Stdout II](https://www.hackerrank.com/challenges/java-stdin-stdout) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Stdin%20and%20Stdout%20II/Solution.java) | -| Java | Introduction | [Java Output Formatting](https://www.hackerrank.com/challenges/java-output-formatting) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Output%20Formatting/Solution.java) | -| Java | Introduction | [Java Loops I](https://www.hackerrank.com/challenges/java-loops-i) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Loops%20I/Solution.java) | -| Java | Introduction | [Java Loops II](https://www.hackerrank.com/challenges/java-loops) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Loops%20II/Solution.java) | -| Java | Introduction | [Java Datatypes](https://www.hackerrank.com/challenges/java-datatypes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Datatypes/Solution.java) | -| Java | Introduction | [Java End-of-file](https://www.hackerrank.com/challenges/java-end-of-file) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20End-of-file/Solution.java) | -| Java | Introduction | [Java Static Initializer Block](https://www.hackerrank.com/challenges/java-static-initializer-block) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Static%20Initializer%20Block/Solution.java) | -| Java | Introduction | [Java Int to String](https://www.hackerrank.com/challenges/java-int-to-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Int%20to%20String/Solution.java) | -| Java | Introduction | [Java Date and Time](https://www.hackerrank.com/challenges/java-date-and-time) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Date%20and%20Time/Solution.java) | -| Java | Introduction | [Java Currency Formatter](https://www.hackerrank.com/challenges/java-currency-formatter) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Currency%20Formatter/Solution.java) | -| Java | Strings | [Java Strings Introduction](https://www.hackerrank.com/challenges/java-strings-introduction) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Strings%20Introduction/Solution.java) | -| Java | Strings | [Java Substring](https://www.hackerrank.com/challenges/java-substring) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Substring/Solution.java) | -| Java | Strings | [Java String Compare](https://www.hackerrank.com/challenges/java-string-compare) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Compare/Solution.java) | -| Java | Strings | [Java String Reverse](https://www.hackerrank.com/challenges/java-string-reverse) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Reverse/Solution.java) | -| Java | Strings | [Java Anagrams](https://www.hackerrank.com/challenges/java-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Anagrams/Solution.java) | -| Java | Strings | [Java String Tokens](https://www.hackerrank.com/challenges/java-string-tokens) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Tokens/Solution.java) | -| Java | Strings | [Pattern Syntax Checker](https://www.hackerrank.com/challenges/pattern-syntax-checker) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Pattern%20Syntax%20Checker/Solution.java) | -| Java | Strings | [Java Regex](https://www.hackerrank.com/challenges/java-regex) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex/Solution.java) | -| Java | Strings | [Java Regex 2 - Duplicate Words](https://www.hackerrank.com/challenges/duplicate-word) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex%202%20-%20Duplicate%20Words/Solution.java) | -| Java | Strings | [Java Regex 3 - Username Checker](https://www.hackerrank.com/challenges/valid-username-checker) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex%203%20-%20Username%20Checker/Solution.java) | -| Java | Strings | [Tag Content Extractor](https://www.hackerrank.com/challenges/tag-content-extractor) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Tag%20Content%20Extractor/Solution.java) | -| Java | BigNumber | [Java BigInteger](https://www.hackerrank.com/challenges/java-biginteger) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20BigInteger/Solution.java) | -| Java | BigNumber | [Java BigDecimal](https://www.hackerrank.com/challenges/java-bigdecimal) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20BigDecimal/Solution.java) | -| Java | BigNumber | [Java Primality Test](https://www.hackerrank.com/challenges/java-primality-test) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20Primality%20Test/Solution.java) | -| Java | Data Structures | [Java 1D Array](https://www.hackerrank.com/challenges/java-1d-array-introduction) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%201D%20Array/Solution.java) | -| Java | Data Structures | [Java 2D Array](https://www.hackerrank.com/challenges/java-2d-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%202D%20Array/Solution.java) | -| Java | Data Structures | [Java Subarray](https://www.hackerrank.com/challenges/java-negative-subarray) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Subarray/Solution.java) | -| Java | Data Structures | [Java Arraylist](https://www.hackerrank.com/challenges/java-arraylist) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20ArrayList/Solution.java) | -| Java | Data Structures | [Java 1D Array (Part 2)](https://www.hackerrank.com/challenges/java-1d-array) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%201D%20Array%20(Part%202)/Solution.java) | -| Java | Data Structures | [Java List](https://www.hackerrank.com/challenges/java-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20List/Solution.java) | -| Java | Data Structures | [Java Map](https://www.hackerrank.com/challenges/phone-book) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Map/Solution.java) | -| Java | Data Structures | [Java Stack](https://www.hackerrank.com/challenges/java-stack) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Stack/Solution.java) | -| Java | Data Structures | [Java Hashset](https://www.hackerrank.com/challenges/java-hashset) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Hashset/Solution.java) | -| Java | Data Structures | [Java Generics](https://www.hackerrank.com/challenges/java-generics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Generics/Solution.java) | -| Java | Data Structures | [Java Comparator](https://www.hackerrank.com/challenges/java-comparator) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Comparator/Solution.java) | -| Java | Data Structures | [Java Sort](https://www.hackerrank.com/challenges/java-sort) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Sort/Solution.java) | -| Java | Data Structures | [Java Dequeue](https://www.hackerrank.com/challenges/java-dequeue) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Dequeue/Solution.java) | -| Java | Data Structures | [Java BitSet](https://www.hackerrank.com/challenges/java-bitset) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20BitSet/Solution.java) | -| Java | Data Structures | [Java Priority Queue](https://www.hackerrank.com/challenges/java-priority-queue) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Priority%20Queue/Solution.java) | -| Java | Object Oriented Programming | [Java Inheritance I](https://www.hackerrank.com/challenges/java-inheritance-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Inheritance%20I/Solution.java) | -| Java | Object Oriented Programming | [Java Inheritance II](https://www.hackerrank.com/challenges/java-inheritance-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Inheritance%20II/Solution.java) | -| Java | Object Oriented Programming | [Java Abstract Class](https://www.hackerrank.com/challenges/java-abstract-class) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Abstract%20Class/Solution.java) | -| Java | Object Oriented Programming | [Java Interface](https://www.hackerrank.com/challenges/java-interface) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Interface/Solution.java) | -| Java | Object Oriented Programming | [Java Method Overriding](https://www.hackerrank.com/challenges/java-method-overriding) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Method%20Overriding/Solution.java) | -| Java | Object Oriented Programming | [Java Method Overriding 2 (Super Keyword)](https://www.hackerrank.com/challenges/java-method-overriding-2-super-keyword) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Method%20Overriding%202%20(Super%20Keyword)/Solution.java) | -| Java | Object Oriented Programming | [Java Instanceof keyword](https://www.hackerrank.com/challenges/java-instanceof-keyword) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Instanceof%20keyword/Solution.java) | -| Java | Object Oriented Programming | [Java Iterator](https://www.hackerrank.com/challenges/java-iterator) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Iterator/Solution.java) | -| Java | Object Oriented Programming | [Calculating Volume](https://www.hackerrank.com/challenges/calculating-volume) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Calculating%20Volume/Solution.java) | -| Java | Exception Handling | [Java Exception Handling (Try-catch)](https://www.hackerrank.com/challenges/java-exception-handling-try-catch) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Exception%20Handling/Java%20Exception%20Handling%20(Try-catch)/Solution.java) | -| Java | Exception Handling | [Java Exception Handling](https://www.hackerrank.com/challenges/java-exception-handling) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Exception%20Handling/Java%20Exception%20Handling/Solution.java) | -| Java | Advanced | [Java Varargs - Simple Addition](https://www.hackerrank.com/challenges/simple-addition-varargs) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Varargs%20-%20Simple%20Addition/Solution.java) | -| Java | Advanced | [Java Reflection - Attributes](https://www.hackerrank.com/challenges/java-reflection-attributes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Reflection%20-%20Attributes/Solution.java) | -| Java | Advanced | [Can You Access](https://www.hackerrank.com/challenges/can-you-access) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Can%20You%20Access/Solution.java) | -| Java | Advanced | [Prime Checker](https://www.hackerrank.com/challenges/prime-checker) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Prime%20Checker/Solution.java) | -| Java | Advanced | [Java Factory Pattern](https://www.hackerrank.com/challenges/java-factory) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Factory%20Pattern/Solution.java) | -| Java | Advanced | [Java Singleton Pattern](https://www.hackerrank.com/challenges/java-singleton) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Singleton%20Pattern/Solution.java) | -| Java | Advanced | [Java Visitor Pattern](https://www.hackerrank.com/challenges/java-vistor-pattern) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Visitor%20Pattern/Solution.java) | -| Java | Advanced | [Java Annotations](https://www.hackerrank.com/challenges/java-annotations) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Annotations/Solution.java) | -| Java | Advanced | [Covariant Return Types](https://www.hackerrank.com/challenges/java-covariance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Covariant%20Return%20Types/Solution.java) | -| Java | Advanced | [Java Lambda Expressions](https://www.hackerrank.com/challenges/java-lambda-expressions) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Lambda%20Expressions/Solution.java) | -| Java | Advanced | [Java MD5](https://www.hackerrank.com/challenges/java-md5) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20MD5/Solution.java) | -| Java | Advanced | [Java SHA-256](https://www.hackerrank.com/challenges/sha-256) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20SHA-256/Solution.java) | +| Subdomain | Challenge | Difficulty | Solution | +|:---------------------------:|:------------------------------------------------------------------------------------------------------------------------:|:----------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Introduction | [Welcome to Java!](https://www.hackerrank.com/challenges/welcome-to-java) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Welcome%20to%20Java!/Solution.java) | +| Introduction | [Java Stdin and Stdout I](https://www.hackerrank.com/challenges/java-stdin-and-stdout-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Stdin%20and%20Stdout%20I/Solution.java) | +| Introduction | [Java If-Else](https://www.hackerrank.com/challenges/java-if-else) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20If-Else/Solution.java) | +| Introduction | [Java Stdin and Stdout II](https://www.hackerrank.com/challenges/java-stdin-stdout) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Stdin%20and%20Stdout%20II/Solution.java) | +| Introduction | [Java Output Formatting](https://www.hackerrank.com/challenges/java-output-formatting) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Output%20Formatting/Solution.java) | +| Introduction | [Java Loops I](https://www.hackerrank.com/challenges/java-loops-i) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Loops%20I/Solution.java) | +| Introduction | [Java Loops II](https://www.hackerrank.com/challenges/java-loops) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Loops%20II/Solution.java) | +| Introduction | [Java Datatypes](https://www.hackerrank.com/challenges/java-datatypes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Datatypes/Solution.java) | +| Introduction | [Java End-of-file](https://www.hackerrank.com/challenges/java-end-of-file) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20End-of-file/Solution.java) | +| Introduction | [Java Static Initializer Block](https://www.hackerrank.com/challenges/java-static-initializer-block) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Static%20Initializer%20Block/Solution.java) | +| Introduction | [Java Int to String](https://www.hackerrank.com/challenges/java-int-to-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Int%20to%20String/Solution.java) | +| Introduction | [Java Date and Time](https://www.hackerrank.com/challenges/java-date-and-time) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Date%20and%20Time/Solution.java) | +| Introduction | [Java Currency Formatter](https://www.hackerrank.com/challenges/java-currency-formatter) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Currency%20Formatter/Solution.java) | +| Strings | [Java Strings Introduction](https://www.hackerrank.com/challenges/java-strings-introduction) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Strings%20Introduction/Solution.java) | +| Strings | [Java Substring](https://www.hackerrank.com/challenges/java-substring) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Substring/Solution.java) | +| Strings | [Java String Compare](https://www.hackerrank.com/challenges/java-string-compare) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Compare/Solution.java) | +| Strings | [Java String Reverse](https://www.hackerrank.com/challenges/java-string-reverse) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Reverse/Solution.java) | +| Strings | [Java Anagrams](https://www.hackerrank.com/challenges/java-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Anagrams/Solution.java) | +| Strings | [Java String Tokens](https://www.hackerrank.com/challenges/java-string-tokens) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Tokens/Solution.java) | +| Strings | [Pattern Syntax Checker](https://www.hackerrank.com/challenges/pattern-syntax-checker) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Pattern%20Syntax%20Checker/Solution.java) | +| Strings | [Java Regex](https://www.hackerrank.com/challenges/java-regex) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex/Solution.java) | +| Strings | [Java Regex 2 - Duplicate Words](https://www.hackerrank.com/challenges/duplicate-word) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex%202%20-%20Duplicate%20Words/Solution.java) | +| Strings | [Java Regex 3 - Username Checker](https://www.hackerrank.com/challenges/valid-username-checker) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex%203%20-%20Username%20Checker/Solution.java) | +| Strings | [Tag Content Extractor](https://www.hackerrank.com/challenges/tag-content-extractor) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Tag%20Content%20Extractor/Solution.java) | +| BigNumber | [Java BigInteger](https://www.hackerrank.com/challenges/java-biginteger) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20BigInteger/Solution.java) | +| BigNumber | [Java BigDecimal](https://www.hackerrank.com/challenges/java-bigdecimal) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20BigDecimal/Solution.java) | +| BigNumber | [Java Primality Test](https://www.hackerrank.com/challenges/java-primality-test) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20Primality%20Test/Solution.java) | +| Data Structures | [Java 1D Array](https://www.hackerrank.com/challenges/java-1d-array-introduction) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%201D%20Array/Solution.java) | +| Data Structures | [Java 2D Array](https://www.hackerrank.com/challenges/java-2d-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%202D%20Array/Solution.java) | +| Data Structures | [Java Subarray](https://www.hackerrank.com/challenges/java-negative-subarray) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Subarray/Solution.java) | +| Data Structures | [Java Arraylist](https://www.hackerrank.com/challenges/java-arraylist) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20ArrayList/Solution.java) | +| Data Structures | [Java 1D Array (Part 2)](https://www.hackerrank.com/challenges/java-1d-array) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%201D%20Array%20(Part%202)/Solution.java) | +| Data Structures | [Java List](https://www.hackerrank.com/challenges/java-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20List/Solution.java) | +| Data Structures | [Java Map](https://www.hackerrank.com/challenges/phone-book) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Map/Solution.java) | +| Data Structures | [Java Stack](https://www.hackerrank.com/challenges/java-stack) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Stack/Solution.java) | +| Data Structures | [Java Hashset](https://www.hackerrank.com/challenges/java-hashset) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Hashset/Solution.java) | +| Data Structures | [Java Generics](https://www.hackerrank.com/challenges/java-generics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Generics/Solution.java) | +| Data Structures | [Java Comparator](https://www.hackerrank.com/challenges/java-comparator) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Comparator/Solution.java) | +| Data Structures | [Java Sort](https://www.hackerrank.com/challenges/java-sort) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Sort/Solution.java) | +| Data Structures | [Java Dequeue](https://www.hackerrank.com/challenges/java-dequeue) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Dequeue/Solution.java) | +| Data Structures | [Java BitSet](https://www.hackerrank.com/challenges/java-bitset) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20BitSet/Solution.java) | +| Data Structures | [Java Priority Queue](https://www.hackerrank.com/challenges/java-priority-queue) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Priority%20Queue/Solution.java) | +| Object Oriented Programming | [Java Inheritance I](https://www.hackerrank.com/challenges/java-inheritance-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Inheritance%20I/Solution.java) | +| Object Oriented Programming | [Java Inheritance II](https://www.hackerrank.com/challenges/java-inheritance-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Inheritance%20II/Solution.java) | +| Object Oriented Programming | [Java Abstract Class](https://www.hackerrank.com/challenges/java-abstract-class) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Abstract%20Class/Solution.java) | +| Object Oriented Programming | [Java Interface](https://www.hackerrank.com/challenges/java-interface) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Interface/Solution.java) | +| Object Oriented Programming | [Java Method Overriding](https://www.hackerrank.com/challenges/java-method-overriding) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Method%20Overriding/Solution.java) | +| Object Oriented Programming | [Java Method Overriding 2 (Super Keyword)](https://www.hackerrank.com/challenges/java-method-overriding-2-super-keyword) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Method%20Overriding%202%20(Super%20Keyword)/Solution.java) | +| Object Oriented Programming | [Java Instanceof keyword](https://www.hackerrank.com/challenges/java-instanceof-keyword) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Instanceof%20keyword/Solution.java) | +| Object Oriented Programming | [Java Iterator](https://www.hackerrank.com/challenges/java-iterator) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Iterator/Solution.java) | +| Object Oriented Programming | [Calculating Volume](https://www.hackerrank.com/challenges/calculating-volume) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Calculating%20Volume/Solution.java) | +| Exception Handling | [Java Exception Handling (Try-catch)](https://www.hackerrank.com/challenges/java-exception-handling-try-catch) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Exception%20Handling/Java%20Exception%20Handling%20(Try-catch)/Solution.java) | +| Exception Handling | [Java Exception Handling](https://www.hackerrank.com/challenges/java-exception-handling) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Exception%20Handling/Java%20Exception%20Handling/Solution.java) | +| Advanced | [Java Varargs - Simple Addition](https://www.hackerrank.com/challenges/simple-addition-varargs) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Varargs%20-%20Simple%20Addition/Solution.java) | +| Advanced | [Java Reflection - Attributes](https://www.hackerrank.com/challenges/java-reflection-attributes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Reflection%20-%20Attributes/Solution.java) | +| Advanced | [Can You Access](https://www.hackerrank.com/challenges/can-you-access) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Can%20You%20Access/Solution.java) | +| Advanced | [Prime Checker](https://www.hackerrank.com/challenges/prime-checker) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Prime%20Checker/Solution.java) | +| Advanced | [Java Factory Pattern](https://www.hackerrank.com/challenges/java-factory) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Factory%20Pattern/Solution.java) | +| Advanced | [Java Singleton Pattern](https://www.hackerrank.com/challenges/java-singleton) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Singleton%20Pattern/Solution.java) | +| Advanced | [Java Visitor Pattern](https://www.hackerrank.com/challenges/java-vistor-pattern) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Visitor%20Pattern/Solution.java) | +| Advanced | [Java Annotations](https://www.hackerrank.com/challenges/java-annotations) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Annotations/Solution.java) | +| Advanced | [Covariant Return Types](https://www.hackerrank.com/challenges/java-covariance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Covariant%20Return%20Types/Solution.java) | +| Advanced | [Java Lambda Expressions](https://www.hackerrank.com/challenges/java-lambda-expressions) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Lambda%20Expressions/Solution.java) | +| Advanced | [Java MD5](https://www.hackerrank.com/challenges/java-md5) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20MD5/Solution.java) | +| Advanced | [Java SHA-256](https://www.hackerrank.com/challenges/sha-256) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20SHA-256/Solution.java) | diff --git a/Java/Strings/Java Anagrams/Solution.java b/Java/Strings/Java Anagrams/Solution.java index 278faad..ae2ed74 100644 --- a/Java/Strings/Java Anagrams/Solution.java +++ b/Java/Strings/Java Anagrams/Solution.java @@ -20,11 +20,7 @@ public class Solution { /* Fill HashMap with 1st String */ for (int i = 0; i < a.length(); i++) { char ch = a.charAt(i); - if (map.containsKey(ch)) { - map.put(ch, map.get(ch) + 1); - } else { - map.put(ch, 1); - } + map.merge(ch, 1, Integer::sum); } /* Compare 2nd String to 1st String's HashMap */ diff --git a/Java/Strings/Java Substring/Solution.java b/Java/Strings/Java Substring/Solution.java index e2572f9..46009df 100644 --- a/Java/Strings/Java Substring/Solution.java +++ b/Java/Strings/Java Substring/Solution.java @@ -5,15 +5,13 @@ import java.util.Scanner; public class Solution { - public static void main(String[] args) { - /* Read input */ Scanner scan = new Scanner(System.in); - String s = scan.next(); - int start = scan.nextInt(); - int end = scan.nextInt(); + String str = scan.next(); + int start = scan.nextInt(); + int end = scan.nextInt(); scan.close(); - System.out.println(s.substring(start, end)); + System.out.println(str.substring(start, end)); } } diff --git a/README.md b/README.md index d265220..40b69b5 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # HackerRank-solutions -228 efficient solutions to [HackerRank](https://www.hackerrank.com/) problems +241 efficient solutions to [HackerRank](https://www.hackerrank.com/) problems * [10 Days of Statistics](#10-days-of-statistics) (Complete) * [30 Days of Code](#30-days-of-code) (28/30 solutions) -* [Algorithms](#algorithms) (47/365 solutions) +* [Algorithms](#algorithms) (60/368 solutions) * [Cracking the Coding Interview](#cracking-the-coding-interview) (Complete) * [Data Structures](#data-structures) (41/107 solutions) * [Java](#java) (Complete) @@ -14,649 +14,652 @@ Solutions are coded using Java 8 ## 10 Days of Statistics -| Domain | Subdomain | Day | Challenge | Difficulty | Solution | -|:---------:|:---------------------:|:---:|:--------------------------------------------------------------------------------------------------------------------------:|:---------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Tutorials | 10 Days of Statistics | 0 | [Mean, Median, and Mode](https://www.hackerrank.com/challenges/s10-basic-statistics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%200%20-%20Mean%2C%20Median%2C%20and%20Mode/Solution.java) | -| Tutorials | 10 Days of Statistics | 0 | [Weighted Mean](https://www.hackerrank.com/challenges/s10-weighted-mean) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%200%20-%20Weighted%20Mean/Solution.java) | -| Tutorials | 10 Days of Statistics | 1 | [Quartiles](https://www.hackerrank.com/challenges/s10-quartiles) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Quartiles/Solution.java) | -| Tutorials | 10 Days of Statistics | 1 | [Interquartile Range](https://www.hackerrank.com/challenges/s10-interquartile-range) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Interquartile%20Range/Solution.java) | -| Tutorials | 10 Days of Statistics | 1 | [Standard Deviation](https://www.hackerrank.com/challenges/s10-standard-deviation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Standard%20Deviation/Solution.java) | -| Tutorials | 10 Days of Statistics | 2 | [Basic Probability](https://www.hackerrank.com/challenges/s10-mcq-1) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20Basic%20Probability/Solution.txt) | -| Tutorials | 10 Days of Statistics | 2 | [More Dice](https://www.hackerrank.com/challenges/s10-mcq-2) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20More%20Dice/Solution.txt) | -| Tutorials | 10 Days of Statistics | 2 | [Compound Event Probability](https://www.hackerrank.com/challenges/s10-mcq-3) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20Compound%20Event%20Probability/Solution.txt) | -| Tutorials | 10 Days of Statistics | 3 | [Conditional Probability](https://www.hackerrank.com/challenges/s10-mcq-4) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Conditional%20Probability/Solution.txt) | -| Tutorials | 10 Days of Statistics | 3 | [Cards of the Same Suit](https://www.hackerrank.com/challenges/s10-mcq-5) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Cards%20of%20the%20Same%20Suit/Solution.txt) | -| Tutorials | 10 Days of Statistics | 3 | [Drawing Marbles](https://www.hackerrank.com/challenges/s10-mcq-6) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Drawing%20Marbles/Solution.txt) | -| Tutorials | 10 Days of Statistics | 4 | [Binomial Distribution I](https://www.hackerrank.com/challenges/s10-binomial-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Binomial%20Distribution%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 4 | [Binomial Distribution II](https://www.hackerrank.com/challenges/s10-binomial-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Binomial%20Distribution%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 4 | [Geometric Distribution I](https://www.hackerrank.com/challenges/s10-geometric-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Geometric%20Distribution%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 4 | [Geometric Distribution II](https://www.hackerrank.com/challenges/s10-geometric-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Geometric%20Distribution%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 5 | [Poisson Distribution I](https://www.hackerrank.com/challenges/s10-poisson-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Poisson%20Distribution%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 5 | [Poisson Distribution II](https://www.hackerrank.com/challenges/s10-poisson-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Poisson%20Distribution%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 5 | [Normal Distribution I](https://www.hackerrank.com/challenges/s10-normal-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Normal%20Distribution%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 5 | [Normal Distribution II](https://www.hackerrank.com/challenges/s10-normal-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Normal%20Distribution%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 6 | [The Central Limit Theorem I](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 6 | [The Central Limit Theorem II](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20II/Solution.java) | -| Tutorials | 10 Days of Statistics | 6 | [The Central Limit Theorem III](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-3) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20III/Solution.java) | -| Tutorials | 10 Days of Statistics | 7 | [Pearson Correlation Coefficient I](https://www.hackerrank.com/challenges/s10-pearson-correlation-coefficient) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%207%20-%20Pearson%20Correlation%20Coefficient%20I/Solution.java) | -| Tutorials | 10 Days of Statistics | 7 | [Spearman's Rank Correlation Coefficient](https://www.hackerrank.com/challenges/s10-spearman-rank-correlation-coefficient) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%207%20-%20Spearman%27s%20Rank%20Correlation%20Coefficient/Solution.java) | -| Tutorials | 10 Days of Statistics | 8 | [Least Square Regression Line](https://www.hackerrank.com/challenges/s10-least-square-regression-line) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%208%20-%20Least%20Square%20Regression%20Rate/Solution.java) | -| Tutorials | 10 Days of Statistics | 8 | [Pearson Correlation Coefficient II](https://www.hackerrank.com/challenges/s10-mcq-7) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%208%20-%20Pearson%20Correlation%20Coefficient%20II/Solution.txt) | -| Tutorials | 10 Days of Statistics | 9 | [Multiple Linear Regression](https://www.hackerrank.com/challenges/s10-multiple-linear-regression) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%209%20-%20Multiple%20Linear%20Regression/Solution.java) | +| Day | Challenge | Difficulty | Solution | +|:---:|:--------------------------------------------------------------------------------------------------------------------------:|:---------------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| 0 | [Mean, Median, and Mode](https://www.hackerrank.com/challenges/s10-basic-statistics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%200%20-%20Mean%2C%20Median%2C%20and%20Mode/Solution.java) | +| 0 | [Weighted Mean](https://www.hackerrank.com/challenges/s10-weighted-mean) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%200%20-%20Weighted%20Mean/Solution.java) | +| 1 | [Quartiles](https://www.hackerrank.com/challenges/s10-quartiles) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Quartiles/Solution.java) | +| 1 | [Interquartile Range](https://www.hackerrank.com/challenges/s10-interquartile-range) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Interquartile%20Range/Solution.java) | +| 1 | [Standard Deviation](https://www.hackerrank.com/challenges/s10-standard-deviation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%201%20-%20Standard%20Deviation/Solution.java) | +| 2 | [Basic Probability](https://www.hackerrank.com/challenges/s10-mcq-1) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20Basic%20Probability/Solution.txt) | +| 2 | [More Dice](https://www.hackerrank.com/challenges/s10-mcq-2) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20More%20Dice/Solution.txt) | +| 2 | [Compound Event Probability](https://www.hackerrank.com/challenges/s10-mcq-3) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%202%20-%20Compound%20Event%20Probability/Solution.txt) | +| 3 | [Conditional Probability](https://www.hackerrank.com/challenges/s10-mcq-4) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Conditional%20Probability/Solution.txt) | +| 3 | [Cards of the Same Suit](https://www.hackerrank.com/challenges/s10-mcq-5) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Cards%20of%20the%20Same%20Suit/Solution.txt) | +| 3 | [Drawing Marbles](https://www.hackerrank.com/challenges/s10-mcq-6) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%203%20-%20Drawing%20Marbles/Solution.txt) | +| 4 | [Binomial Distribution I](https://www.hackerrank.com/challenges/s10-binomial-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Binomial%20Distribution%20I/Solution.java) | +| 4 | [Binomial Distribution II](https://www.hackerrank.com/challenges/s10-binomial-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Binomial%20Distribution%20II/Solution.java) | +| 4 | [Geometric Distribution I](https://www.hackerrank.com/challenges/s10-geometric-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Geometric%20Distribution%20I/Solution.java) | +| 4 | [Geometric Distribution II](https://www.hackerrank.com/challenges/s10-geometric-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%204%20-%20Geometric%20Distribution%20II/Solution.java) | +| 5 | [Poisson Distribution I](https://www.hackerrank.com/challenges/s10-poisson-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Poisson%20Distribution%20I/Solution.java) | +| 5 | [Poisson Distribution II](https://www.hackerrank.com/challenges/s10-poisson-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Poisson%20Distribution%20II/Solution.java) | +| 5 | [Normal Distribution I](https://www.hackerrank.com/challenges/s10-normal-distribution-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Normal%20Distribution%20I/Solution.java) | +| 5 | [Normal Distribution II](https://www.hackerrank.com/challenges/s10-normal-distribution-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%205%20-%20Normal%20Distribution%20II/Solution.java) | +| 6 | [The Central Limit Theorem I](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20I/Solution.java) | +| 6 | [The Central Limit Theorem II](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20II/Solution.java) | +| 6 | [The Central Limit Theorem III](https://www.hackerrank.com/challenges/s10-the-central-limit-theorem-3) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%206%20-%20The%20Central%20Limit%20Theorem%20III/Solution.java) | +| 7 | [Pearson Correlation Coefficient I](https://www.hackerrank.com/challenges/s10-pearson-correlation-coefficient) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%207%20-%20Pearson%20Correlation%20Coefficient%20I/Solution.java) | +| 7 | [Spearman's Rank Correlation Coefficient](https://www.hackerrank.com/challenges/s10-spearman-rank-correlation-coefficient) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%207%20-%20Spearman%27s%20Rank%20Correlation%20Coefficient/Solution.java) | +| 8 | [Least Square Regression Line](https://www.hackerrank.com/challenges/s10-least-square-regression-line) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%208%20-%20Least%20Square%20Regression%20Rate/Solution.java) | +| 8 | [Pearson Correlation Coefficient II](https://www.hackerrank.com/challenges/s10-mcq-7) | Multiple Choice | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%208%20-%20Pearson%20Correlation%20Coefficient%20II/Solution.txt) | +| 9 | [Multiple Linear Regression](https://www.hackerrank.com/challenges/s10-multiple-linear-regression) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/10%20Days%20of%20Statistics/Day%209%20-%20Multiple%20Linear%20Regression/Solution.java) | ## 30 Days of Code -| Domain | Subdomain | Day | Challenge | Difficulty | Solution | -|:---------:|:---------------:|:---:|:-------------------------------------------------------------------------------------------------------:|:----------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Tutorials | 30 Days of Code | 0 | [Hello, World](https://www.hackerrank.com/challenges/30-hello-world) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2000%20-%20Hello%2C%20World/Solution.java) | -| Tutorials | 30 Days of Code | 1 | [Data Types](https://www.hackerrank.com/challenges/30-data-types) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2001%20-%20Data%20Types/Solution.java) | -| Tutorials | 30 Days of Code | 2 | [Operators](https://www.hackerrank.com/challenges/30-operators) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2002%20-%20Operators/Solution.java) | -| Tutorials | 30 Days of Code | 3 | [Intro to Conditional Statements](https://www.hackerrank.com/challenges/30-conditional-statements) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2003%20-%20Intro%20to%20Conditional%20Statements/Solution.java) | -| Tutorials | 30 Days of Code | 4 | [Class vs. Instance](https://www.hackerrank.com/challenges/30-class-vs-instance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2004%20-%20Class%20vs.%20Instance/Solution.java) | -| Tutorials | 30 Days of Code | 5 | [Loops](https://www.hackerrank.com/challenges/30-loops) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2005%20-%20Loops/Solution.java) | -| Tutorials | 30 Days of Code | 6 | [Let's Review](https://www.hackerrank.com/challenges/30-review-loop) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2006%20-%20Let's%20Review/Solution.java) | -| Tutorials | 30 Days of Code | 7 | [Arrays](https://www.hackerrank.com/challenges/30-arrays) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2007%20-%20Arrays/Solution.java) | -| Tutorials | 30 Days of Code | 8 | [Dictionaries and Maps](https://www.hackerrank.com/challenges/30-dictionaries-and-maps) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2008%20-%20Dictionaries%20and%20Maps/Solution.java) | -| Tutorials | 30 Days of Code | 9 | [Recursion](https://www.hackerrank.com/challenges/30-recursion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2009%20-%20Recursion/Solution.java) | -| Tutorials | 30 Days of Code | 10 | [Binary Numbers](https://www.hackerrank.com/challenges/30-binary-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2010%20-%20Binary%20Numbers/Solution.java) | -| Tutorials | 30 Days of Code | 11 | [2D Arrays](https://www.hackerrank.com/challenges/30-2d-arrays) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2011%20-%202D%20Arrays/Solution.java) | -| Tutorials | 30 Days of Code | 12 | [Inheritance](https://www.hackerrank.com/challenges/30-inheritance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2012%20-%20Inheritance/Solution.java) | -| Tutorials | 30 Days of Code | 13 | [Abstract Classes](https://www.hackerrank.com/challenges/30-abstract-classes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2013%20-%20Abstract%20Classes/Solution.java) | -| Tutorials | 30 Days of Code | 14 | [Scope](https://www.hackerrank.com/challenges/30-scope) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2014%20-%20Scope/Solution.java) | -| Tutorials | 30 Days of Code | 15 | [Linked List](https://www.hackerrank.com/challenges/30-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2015%20-%20Linked%20List/Solution.java) | -| Tutorials | 30 Days of Code | 16 | [Exceptions - String to Integer](https://www.hackerrank.com/challenges/30-exceptions-string-to-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2016%20-%20Exceptions%20-%20String%20to%20Integer/Solution.java) | -| Tutorials | 30 Days of Code | 17 | [More Exceptions](https://www.hackerrank.com/challenges/30-more-exceptions) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2017%20-%20More%20Exceptions/Solution.java) | -| Tutorials | 30 Days of Code | 18 | [Queues and Stacks](https://www.hackerrank.com/challenges/30-queues-stacks) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2018%20-%20Queues%20and%20Stacks/Solution.java) | -| Tutorials | 30 Days of Code | 19 | [Interfaces](https://www.hackerrank.com/challenges/30-interfaces) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2019%20-%20Interfaces/Solution.java) | -| Tutorials | 30 Days of Code | 20 | [Sorting](https://www.hackerrank.com/challenges/30-sorting) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2020%20-%20Sorting/Solution.java) | -| Tutorials | 30 Days of Code | 21 | [Generics](https://www.hackerrank.com/challenges/30-generics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2021%20-%20Generics/Solution.java) | -| Tutorials | 30 Days of Code | 22 | [Binary Search Trees](https://www.hackerrank.com/challenges/30-binary-search-trees) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2022%20-%20Binary%20Search%20Trees/Solution.java) | -| Tutorials | 30 Days of Code | 23 | [BST Level-Order Traversal](https://www.hackerrank.com/challenges/30-binary-trees) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2023%20-%20BST%20Level-Order%20Traversal/Solution.java) | -| Tutorials | 30 Days of Code | 24 | [More Linked Lists](https://www.hackerrank.com/challenges/30-linked-list-deletion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2024%20-%20More%20Linked%20Lists/Solution.java) | -| Tutorials | 30 Days of Code | 25 | [Running Time and Complexity](https://www.hackerrank.com/challenges/30-running-time-and-complexity) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2025%20-%20Running%20Time%20and%20Complexity/Solution.java) | -| Tutorials | 30 Days of Code | 26 | [Nested Logic](https://www.hackerrank.com/challenges/30-nested-logic) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2026%20-%20Nested%20Logic/Solution.java) | -| Tutorials | 30 Days of Code | 27 | [Testing](https://www.hackerrank.com/challenges/30-testing) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2027%20-%20Testing/Solution.java) | -| Tutorials | 30 Days of Code | 28 | [RegEx, Patterns, and Intro to Databases](https://www.hackerrank.com/challenges/30-regex-patterns) | Medium | Coming Soon! | -| Tutorials | 30 Days of Code | 29 | [Bitwise AND](https://www.hackerrank.com/challenges/30-bitwise-and) | Medium | Coming Soon! | +| Day | Challenge | Difficulty | Solution | +|:---:|:-------------------------------------------------------------------------------------------------------:|:----------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| 0 | [Hello, World](https://www.hackerrank.com/challenges/30-hello-world) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2000%20-%20Hello%2C%20World/Solution.java) | +| 1 | [Data Types](https://www.hackerrank.com/challenges/30-data-types) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2001%20-%20Data%20Types/Solution.java) | +| 2 | [Operators](https://www.hackerrank.com/challenges/30-operators) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2002%20-%20Operators/Solution.java) | +| 3 | [Intro to Conditional Statements](https://www.hackerrank.com/challenges/30-conditional-statements) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2003%20-%20Intro%20to%20Conditional%20Statements/Solution.java) | +| 4 | [Class vs. Instance](https://www.hackerrank.com/challenges/30-class-vs-instance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2004%20-%20Class%20vs.%20Instance/Solution.java) | +| 5 | [Loops](https://www.hackerrank.com/challenges/30-loops) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2005%20-%20Loops/Solution.java) | +| 6 | [Let's Review](https://www.hackerrank.com/challenges/30-review-loop) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2006%20-%20Let's%20Review/Solution.java) | +| 7 | [Arrays](https://www.hackerrank.com/challenges/30-arrays) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2007%20-%20Arrays/Solution.java) | +| 8 | [Dictionaries and Maps](https://www.hackerrank.com/challenges/30-dictionaries-and-maps) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2008%20-%20Dictionaries%20and%20Maps/Solution.java) | +| 9 | [Recursion](https://www.hackerrank.com/challenges/30-recursion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2009%20-%20Recursion/Solution.java) | +| 10 | [Binary Numbers](https://www.hackerrank.com/challenges/30-binary-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2010%20-%20Binary%20Numbers/Solution.java) | +| 11 | [2D Arrays](https://www.hackerrank.com/challenges/30-2d-arrays) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2011%20-%202D%20Arrays/Solution.java) | +| 12 | [Inheritance](https://www.hackerrank.com/challenges/30-inheritance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2012%20-%20Inheritance/Solution.java) | +| 13 | [Abstract Classes](https://www.hackerrank.com/challenges/30-abstract-classes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2013%20-%20Abstract%20Classes/Solution.java) | +| 14 | [Scope](https://www.hackerrank.com/challenges/30-scope) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2014%20-%20Scope/Solution.java) | +| 15 | [Linked List](https://www.hackerrank.com/challenges/30-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2015%20-%20Linked%20List/Solution.java) | +| 16 | [Exceptions - String to Integer](https://www.hackerrank.com/challenges/30-exceptions-string-to-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2016%20-%20Exceptions%20-%20String%20to%20Integer/Solution.java) | +| 17 | [More Exceptions](https://www.hackerrank.com/challenges/30-more-exceptions) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2017%20-%20More%20Exceptions/Solution.java) | +| 18 | [Queues and Stacks](https://www.hackerrank.com/challenges/30-queues-stacks) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2018%20-%20Queues%20and%20Stacks/Solution.java) | +| 19 | [Interfaces](https://www.hackerrank.com/challenges/30-interfaces) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2019%20-%20Interfaces/Solution.java) | +| 20 | [Sorting](https://www.hackerrank.com/challenges/30-sorting) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2020%20-%20Sorting/Solution.java) | +| 21 | [Generics](https://www.hackerrank.com/challenges/30-generics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2021%20-%20Generics/Solution.java) | +| 22 | [Binary Search Trees](https://www.hackerrank.com/challenges/30-binary-search-trees) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2022%20-%20Binary%20Search%20Trees/Solution.java) | +| 23 | [BST Level-Order Traversal](https://www.hackerrank.com/challenges/30-binary-trees) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2023%20-%20BST%20Level-Order%20Traversal/Solution.java) | +| 24 | [More Linked Lists](https://www.hackerrank.com/challenges/30-linked-list-deletion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2024%20-%20More%20Linked%20Lists/Solution.java) | +| 25 | [Running Time and Complexity](https://www.hackerrank.com/challenges/30-running-time-and-complexity) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2025%20-%20Running%20Time%20and%20Complexity/Solution.java) | +| 26 | [Nested Logic](https://www.hackerrank.com/challenges/30-nested-logic) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2026%20-%20Nested%20Logic/Solution.java) | +| 27 | [Testing](https://www.hackerrank.com/challenges/30-testing) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/30%20Days%20of%20Code/Day%2027%20-%20Testing/Solution.java) | +| 28 | [RegEx, Patterns, and Intro to Databases](https://www.hackerrank.com/challenges/30-regex-patterns) | Medium | Coming Soon! | +| 29 | [Bitwise AND](https://www.hackerrank.com/challenges/30-bitwise-and) | Medium | Coming Soon! | ## Algorithms -| Domain | Subdomain | Challenge | Difficulty | Solution | -|:----------:|:-----------------------:|:-----------------------------------------------------------------------------------------------------------------------------------:|:----------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Algorithms | Warmup | [Solve Me First](https://www.hackerrank.com/challenges/solve-me-first) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Solve%20Me%20First/Solution.java) | -| Algorithms | Warmup | [Simple Array Sum](https://www.hackerrank.com/challenges/simple-array-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Simple%20Array%20Sum/Solution.java) | -| Algorithms | Warmup | [Compare the Triplets](https://www.hackerrank.com/challenges/compare-the-triplets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Compare%20the%20Triplets/Solution.java) | -| Algorithms | Warmup | [A Very Big Sum](https://www.hackerrank.com/challenges/a-very-big-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/A%20Very%20Big%20Sum/Solution.java) | -| Algorithms | Warmup | [Diagonal Difference](https://www.hackerrank.com/challenges/diagonal-difference) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Diagonal%20Difference/Solution.java) | -| Algorithms | Warmup | [Plus Minus](https://www.hackerrank.com/challenges/plus-minus) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Plus%20Minus/Solution.java) | -| Algorithms | Warmup | [Staircase](https://www.hackerrank.com/challenges/staircase) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Staircase/Solution.java) | -| Algorithms | Warmup | [Mini-max Sum](https://www.hackerrank.com/challenges/mini-max-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Mini-Max%20Sum/Solution.java) | -| Algorithms | Warmup | [Time Conversion](https://www.hackerrank.com/challenges/time-conversion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Time%20Conversion/Solution.java) | -| Algorithms | Implementation | [Grading Students](https://www.hackerrank.com/challenges/grading) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Grading%20Students/Solution.java) | -| Algorithms | Implementation | [Designer PDF Viewer](https://www.hackerrank.com/challenges/designer-pdf-viewer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Designer%20PDF%20Viewer/Solution.java) | -| Algorithms | Implementation | [Apple and Orange](https://www.hackerrank.com/challenges/apple-and-orange) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Apple%20and%20Orange/Solution.java) | -| Algorithms | Implementation | [Kangaroo](https://www.hackerrank.com/challenges/kangaroo) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Kangaroo/Solution.java) | -| Algorithms | Implementation | [Between Two Sets](https://www.hackerrank.com/challenges/between-two-sets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Between%20Two%20Sets/Solution.java) | -| Algorithms | Implementation | [Divisible Sum Pairs](https://www.hackerrank.com/challenges/divisible-sum-pairs) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Divisible%20Sum%20Pairs/Solution.java) | -| Algorithms | Implementation | [Bon Appetit](https://www.hackerrank.com/challenges/bon-appetit) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Bon%20Appetit/Solution.java) | -| Algorithms | Implementation | [Sock Merchant](https://www.hackerrank.com/challenges/sock-merchant) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sock%20Merchant/Solution.java) | -| Algorithms | Implementation | [The Hurdle Race](https://www.hackerrank.com/challenges/the-hurdle-race) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/The%20Hurdle%20Race/Solution.java) | -| Algorithms | Implementation | [Utopian Tree](https://www.hackerrank.com/challenges/utopian-tree) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Utopian%20Tree/Solution.java) | -| Algorithms | Implementation | [Angry Professor](https://www.hackerrank.com/challenges/angry-professor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Angry%20Professor/Solution.java) | -| Algorithms | Implementation | [Beautiful Days at the Movies](https://www.hackerrank.com/challenges/beautiful-days-at-the-movies) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Beautiful%20Days%20at%20the%20Movies/Solution.java) | -| Algorithms | Implementation | [Viral Advertising](https://www.hackerrank.com/challenges/strange-advertising) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Viral%20Advertising/Solution.java) | -| Algorithms | Implementation | [Save the Prisoner!](https://www.hackerrank.com/challenges/save-the-prisoner) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Save%20the%20Prisoner!/Solution.java) | -| Algorithms | Implementation | [Sequence Equation](https://www.hackerrank.com/challenges/permutation-equation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sequence%20Equation/Solution.java) | -| Algorithms | Implementation | [Circular Array Rotation](https://www.hackerrank.com/challenges/circular-array-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Circular%20Array%20Rotation/Solution.java) | -| Algorithms | Implementation | [Jumping on the Clouds - Revisited](https://www.hackerrank.com/challenges/jumping-on-the-clouds-revisited) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Jumping%20on%20the%20Clouds%20-%20Revisited/Solution.java) | -| Algorithms | Implementation | [Find Digits](https://www.hackerrank.com/challenges/find-digits) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Find%20Digits/Solution.java) | -| Algorithms | Implementation | [Extra Long Factorials](https://www.hackerrank.com/challenges/extra-long-factorials) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Extra%20Long%20Factorials/Solution.java) | -| Algorithms | Implementation | [Append and Delete](https://www.hackerrank.com/challenges/append-and-delete) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Append%20and%20Delete/Solution.java) | -| Algorithms | Implementation | [Sherlock and Squares](https://www.hackerrank.com/challenges/sherlock-and-squares) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sherlock%20and%20Squares/Solution.java) | -| Algorithms | Implementation | [Library Fine](https://www.hackerrank.com/challenges/library-fine) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Library%20Fine/Solution.java) | -| Algorithms | Implementation | [Cut the sticks](https://www.hackerrank.com/challenges/cut-the-sticks) | Easy | Coming Soon! | -| Algorithms | Implementation | [Non-Divisible Subset](https://www.hackerrank.com/challenges/non-divisible-subset) | Medium | Coming Soon! | -| Algorithms | Implementation | [Repeated String](https://www.hackerrank.com/challenges/repeated-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Repeated%20String/Solution.java) | -| Algorithms | Implementation | [Jumping on the Clouds](https://www.hackerrank.com/challenges/jumping-on-the-clouds) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Jumping%20on%20the%20Clouds/Solution.java) | -| Algorithms | Implementation | [Equalize the Array](https://www.hackerrank.com/challenges/equality-in-a-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Equalize%20the%20Array/Solution.java) | -| Algorithms | Implementation | [ACM ICPC Team](https://www.hackerrank.com/challenges/acm-icpc-team) | Easy | Coming Soon! | -| Algorithms | Implementation | [Taum and B'day](https://www.hackerrank.com/challenges/taum-and-bday) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Taum%20and%20B%27day/Solution.java) | -| Algorithms | Implementation | [Organizing Containers of Balls](https://www.hackerrank.com/challenges/organizing-containers-of-balls) | Medium | Coming Soon! | -| Algorithms | Implementation | [Encryption](https://www.hackerrank.com/challenges/encryption) | Medium | Coming Soon! | -| Algorithms | Implementation | [Bigger is Greater](https://www.hackerrank.com/challenges/bigger-is-greater) | Medium | Coming Soon! | -| Algorithms | Implementation | [Modified Kaprekar Numbers](https://www.hackerrank.com/challenges/kaprekar-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Modified%20Kaprekar%20Numbers/Solution.java) | -| Algorithms | Implementation | [Beautiful Triplets](https://www.hackerrank.com/challenges/beautiful-triplets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Beautiful%20Triplets/Solution.java) | -| Algorithms | Implementation | [Manasa and Stones](https://www.hackerrank.com/challenges/manasa-and-stones) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Manasa%20and%20Stones/Solution.java) | -| Algorithms | Implementation | [Minimum Distances](https://www.hackerrank.com/challenges/minimum-distances) | Easy | Coming Soon! | -| Algorithms | Implementation | [The Time in Words](https://www.hackerrank.com/challenges/the-time-in-words) | Medium | Coming Soon! | -| Algorithms | Implementation | [Cavity Map](https://www.hackerrank.com/challenges/cavity-map) | Easy | Coming Soon! | -| Algorithms | Implementation | [Chocolate Feast](https://www.hackerrank.com/challenges/chocolate-feast) | Easy | Coming Soon! | -| Algorithms | Implementation | [Service Lane](https://www.hackerrank.com/challenges/service-lane) | Easy | Coming Soon! | -| Algorithms | Implementation | [Lisa's Workbook](https://www.hackerrank.com/challenges/lisa-workbook) | Easy | Coming Soon! | -| Algorithms | Implementation | [The Grid Search](https://www.hackerrank.com/challenges/the-grid-search) | Medium | Coming Soon! | -| Algorithms | Implementation | [Flatland Space Stations](https://www.hackerrank.com/challenges/flatland-space-stations) | Easy | Coming Soon! | -| Algorithms | Implementation | [Fair Rations](https://www.hackerrank.com/challenges/fair-rations) | Easy | Coming Soon! | -| Algorithms | Implementation | [Happy Ladybugs](https://www.hackerrank.com/challenges/happy-ladybugs) | Easy | Coming Soon! | -| Algorithms | Implementation | [Strange Counter](https://www.hackerrank.com/challenges/strange-code) | Easy | Coming Soon! | -| Algorithms | Implementation | [Almost Sorted](https://www.hackerrank.com/challenges/almost-sorted) | Medium | Coming Soon! | -| Algorithms | Implementation | [Absolute Permutation](https://www.hackerrank.com/challenges/absolute-permutation) | Medium | Coming Soon! | -| Algorithms | Implementation | [The Bomberman Game](https://www.hackerrank.com/challenges/bomber-man) | Medium | Coming Soon! | -| Algorithms | Implementation | [Ema's Supercomputer](https://www.hackerrank.com/challenges/two-pluses) | Medium | Coming Soon! | -| Algorithms | Implementation | [Larry's Array](https://www.hackerrank.com/challenges/larrys-array) | Medium | Coming Soon! | -| Algorithms | Implementation | [Matrix Layer Rotation](https://www.hackerrank.com/challenges/matrix-rotation-algo) | Hard | Coming Soon! | -| Algorithms | Strings | [Super Reduced String](https://www.hackerrank.com/challenges/reduced-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Super%20Reduced%20String/Solution.java) | -| Algorithms | Strings | [CamelCase](https://www.hackerrank.com/challenges/camelcase) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/CamelCase/Solution.java) | -| Algorithms | Strings | [Two Characters](https://www.hackerrank.com/challenges/two-characters) | Easy | Coming Soon! | -| Algorithms | Strings | [Pangrams](https://www.hackerrank.com/challenges/pangrams) | Easy | Coming Soon! | -| Algorithms | Strings | [Caesar Cipher](https://www.hackerrank.com/challenges/caesar-cipher-1) | Easy | Coming Soon! | -| Algorithms | Strings | [Mars Exploration](https://www.hackerrank.com/challenges/mars-exploration) | Easy | Coming Soon! | -| Algorithms | Strings | [Funny String](https://www.hackerrank.com/challenges/funny-string) | Easy | Coming Soon! | -| Algorithms | Strings | [Gemstones](https://www.hackerrank.com/challenges/gem-stones) | Easy | Coming Soon! | -| Algorithms | Strings | [Alternating Characters](https://www.hackerrank.com/challenges/alternating-characters) | Easy | Coming Soon! | -| Algorithms | Strings | [Beautiful Binary String](https://www.hackerrank.com/challenges/beautiful-binary-string) | Easy | Coming Soon! | -| Algorithms | Strings | [The Love-Letter Mystery](https://www.hackerrank.com/challenges/the-love-letter-mystery) | Easy | Coming Soon! | -| Algorithms | Strings | [Palindrome Index](https://www.hackerrank.com/challenges/palindrome-index) | Easy | Coming Soon! | -| Algorithms | Strings | [Anagram](https://www.hackerrank.com/challenges/anagram) | Easy | Coming Soon! | -| Algorithms | Strings | [Making Anagrams](https://www.hackerrank.com/challenges/making-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Making%20Anagrams/Solution.java) | -| Algorithms | Strings | [Game of Thrones - I](https://www.hackerrank.com/challenges/game-of-thrones) | Easy | Coming Soon! | -| Algorithms | Strings | [Two Strings](https://www.hackerrank.com/challenges/two-strings) | Easy | Coming Soon! | -| Algorithms | Strings | [String Construction](https://www.hackerrank.com/challenges/string-construction) | Easy | Coming Soon! | -| Algorithms | Strings | [Sherlock and Valid String](https://www.hackerrank.com/challenges/sherlock-and-valid-string) | Hard | Coming Soon! | -| Algorithms | Strings | [Richie Rich](https://www.hackerrank.com/challenges/richie-rich) | Medium | Coming Soon! | -| Algorithms | Strings | [Sherlock and Anagrams](https://www.hackerrank.com/challenges/sherlock-and-anagrams) | Medium | Coming Soon! | -| Algorithms | Strings | [Common Child](https://www.hackerrank.com/challenges/common-child) | Hard | Coming Soon! | -| Algorithms | Strings | [Bear and Steady Gene](https://www.hackerrank.com/challenges/bear-and-steady-gene) | Medium | Coming Soon! | -| Algorithms | Strings | [Morgan and a String](https://www.hackerrank.com/challenges/morgan-and-a-string) | Expert | Coming Soon! | -| Algorithms | Strings | [Count Strings](https://www.hackerrank.com/challenges/count-strings) | Hard | Coming Soon! | -| Algorithms | Strings | [String Function Calculation](https://www.hackerrank.com/challenges/string-function-calculation) | Advanced | Coming Soon! | -| Algorithms | Strings | [Build a Palindrome](https://www.hackerrank.com/challenges/challenging-palindromes) | Advanced | Coming Soon! | -| Algorithms | Strings | [Build a String](https://www.hackerrank.com/challenges/build-a-string) | Hard | Coming Soon! | -| Algorithms | Strings | [Gridland Provinces](https://www.hackerrank.com/challenges/gridland-provinces) | Hard | Coming Soon! | -| Algorithms | Strings | [Ashton and String](https://www.hackerrank.com/challenges/ashton-and-string) | Advanced | Coming Soon! | -| Algorithms | Strings | [String Similarity](https://www.hackerrank.com/challenges/string-similarity) | Expert | Coming Soon! | -| Algorithms | Strings | [Super Functional Strings](https://www.hackerrank.com/challenges/super-functional-strings) | Advanced | Coming Soon! | -| Algorithms | Strings | [Circular Palindromes](https://www.hackerrank.com/challenges/circular-palindromes) | Advanced | Coming Soon! | -| Algorithms | Strings | [Similar Strings](https://www.hackerrank.com/challenges/similar-strings) | Advanced | Coming Soon! | -| Algorithms | Strings | [Save Humanity](https://www.hackerrank.com/challenges/save-humanity) | Expert | Coming Soon! | -| Algorithms | Strings | [Find Strings](https://www.hackerrank.com/challenges/find-strings) | Expert | Coming Soon! | -| Algorithms | Strings | [Palindromic Border](https://www.hackerrank.com/challenges/palindromic-border) | Expert | Coming Soon! | -| Algorithms | Strings | [Two Two](https://www.hackerrank.com/challenges/two-two) | Advanced | Coming Soon! | -| Algorithms | Strings | [Two Strings Game](https://www.hackerrank.com/challenges/two-strings-game) | Expert | Coming Soon! | -| Algorithms | Strings | [Letter Islands](https://www.hackerrank.com/challenges/letter-islands) | Expert | Coming Soon! | -| Algorithms | Strings | [Pseudo-Isomorphic Substrings](https://www.hackerrank.com/challenges/pseudo-isomorphic-substrings) | Expert | Coming Soon! | -| Algorithms | Sorting | [Intro to Tutorial Challenges](https://www.hackerrank.com/challenges/tutorial-intro) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Intro%20to%20Tutorial%20Challenges/Solution.java) | -| Algorithms | Sorting | [Insertion Sort - Part 1](https://www.hackerrank.com/challenges/insertionsort1) | Easy | Coming Soon! | -| Algorithms | Sorting | [Insertion Sort - Part 2](https://www.hackerrank.com/challenges/insertionsort2) | Easy | Coming Soon! | -| Algorithms | Sorting | [Correctness and the Loop Invariant](https://www.hackerrank.com/challenges/correctness-invariant) | Easy | Coming Soon! | -| Algorithms | Sorting | [Running Time of Algorithms](https://www.hackerrank.com/challenges/runningtime) | Easy | Coming Soon! | -| Algorithms | Sorting | [Quicksort 1 - Partition](https://www.hackerrank.com/challenges/quicksort1) | Easy | Coming Soon! | -| Algorithms | Sorting | [Quicksort 2 - Sorting](https://www.hackerrank.com/challenges/quicksort2) | Easy | Coming Soon! | -| Algorithms | Sorting | [Quicksort In-Place](https://www.hackerrank.com/challenges/quicksort3) | Medium | Coming Soon! | -| Algorithms | Sorting | [Running Time of Quicksort](https://www.hackerrank.com/challenges/quicksort4) | Easy | Coming Soon! | -| Algorithms | Sorting | [Counting Sort 1](https://www.hackerrank.com/challenges/countingsort1) | Easy | Coming Soon! | -| Algorithms | Sorting | [Counting Sort 2](https://www.hackerrank.com/challenges/countingsort2) | Easy | Coming Soon! | -| Algorithms | Sorting | [Counting Sort 3](https://www.hackerrank.com/challenges/countingsort3) | Easy | Coming Soon! | -| Algorithms | Sorting | [The Full Counting Sort](https://www.hackerrank.com/challenges/countingsort4) | Medium | Coming Soon! | -| Algorithms | Sorting | [Closest Numbers](https://www.hackerrank.com/challenges/closest-numbers) | Easy | Coming Soon! | -| Algorithms | Sorting | [Find the Median](https://www.hackerrank.com/challenges/find-the-median) | Easy | Coming Soon! | -| Algorithms | Sorting | [Insertion Sort Advanced Analysis](https://www.hackerrank.com/challenges/insertion-sort) | Advanced | Coming Soon! | -| Algorithms | Sorting | [Fraudulent Activity Notifications](https://www.hackerrank.com/challenges/fraudulent-activity-notifications) | Medium | Coming Soon! | -| Algorithms | Sorting | [Lily's Homework](https://www.hackerrank.com/challenges/lilys-homework) | Medium | Coming Soon! | -| Algorithms | Search | [Hackerland Radio Transmitters](https://www.hackerrank.com/challenges/hackerland-radio-transmitters) | Easy | Coming Soon! | -| Algorithms | Search | [Ice Cream Parlor](https://www.hackerrank.com/challenges/icecream-parlor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Search/Ice%20Cream%20Parlor/Solution.java) | -| Algorithms | Search | [Gridland Metro](https://www.hackerrank.com/challenges/gridland-metro) | Medium | Coming Soon! | -| Algorithms | Search | [Missing Numbers](https://www.hackerrank.com/challenges/missing-numbers) | Easy | Coming Soon! | -| Algorithms | Search | [Pairs](https://www.hackerrank.com/challenges/pairs) | Medium | Coming Soon! | -| Algorithms | Search | [Sherlock and Array](https://www.hackerrank.com/challenges/sherlock-and-array) | Easy | Coming Soon! | -| Algorithms | Search | [Maximum Subarray Sum](https://www.hackerrank.com/challenges/maximum-subarray-sum) | Hard | Coming Soon! | -| Algorithms | Search | [Connected Cells in a Grid](https://www.hackerrank.com/challenges/connected-cell-in-a-grid) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Search/Connected%20Cells%20in%20a%20Grid/Solution.java) | -| Algorithms | Search | [Short Palindrome](https://www.hackerrank.com/challenges/short-palindrome) | Medium | Coming Soon! | -| Algorithms | Search | [Count Luck](https://www.hackerrank.com/challenges/count-luck) | Medium | Coming Soon! | -| Algorithms | Search | [Cut the Tree](https://www.hackerrank.com/challenges/cut-the-tree) | Medium | Coming Soon! | -| Algorithms | Search | [Making Candies](https://www.hackerrank.com/challenges/making-candies) | Hard | Coming Soon! | -| Algorithms | Search | [Gene Playing Hanoi](https://www.hackerrank.com/challenges/gena) | Medium | Coming Soon! | -| Algorithms | Search | [Beautiful Quadruples](https://www.hackerrank.com/challenges/xor-quadruples) | Medium | Coming Soon! | -| Algorithms | Search | [Bike Racers](https://www.hackerrank.com/challenges/bike-racers) | Hard | Coming Soon! | -| Algorithms | Search | [Task Scheduling](https://www.hackerrank.com/challenges/task-scheduling) | Advanced | Coming Soon! | -| Algorithms | Search | [Similar Pair](https://www.hackerrank.com/challenges/similarpair) | Advanced | Coming Soon! | -| Algorithms | Search | [Absolute Element Sums](https://www.hackerrank.com/challenges/playing-with-numbers) | Hard | Coming Soon! | -| Algorithms | Search | [Sorted Subsegments](https://www.hackerrank.com/challenges/sorted-subsegments) | Hard | Coming Soon! | -| Algorithms | Search | [King Richard's Knights](https://www.hackerrank.com/challenges/king-richards-knights) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Journey to the Moon](https://www.hackerrank.com/challenges/journey-to-the-moon) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Synchronous Shopping](https://www.hackerrank.com/challenges/synchronous-shopping) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Subset Component](https://www.hackerrank.com/challenges/subset-component) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Breadth First Search - Shortest Reach](https://www.hackerrank.com/challenges/bfsshortreach) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Graph%20Theory/Breadth%20First%20Search%20-%20Shortest%20Reach/Solution.java) | -| Algorithms | Graph Theory | [Kruskal (MST) - Really Special Subtree](https://www.hackerrank.com/challenges/kruskalmstrsub) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Even Tree](https://www.hackerrank.com/challenges/even-tree) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Snakes and Ladders - The Quickest Way Up](https://www.hackerrank.com/challenges/the-quickest-way-up) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Dijkstra - Shortest Reach 2](https://www.hackerrank.com/challenges/dijkstrashortreach) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Prim's (MST) - Special Subtree](https://www.hackerrank.com/challenges/primsmstsub) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Clique](https://www.hackerrank.com/challenges/clique) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Minimum Penalty Path](https://www.hackerrank.com/challenges/beautiful-path) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Demanding Money](https://www.hackerrank.com/challenges/borrowing-money) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Jack goes to Rapture](https://www.hackerrank.com/challenges/jack-goes-to-rapture) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Crab Graphs](https://www.hackerrank.com/challenges/crab-graphs) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Bead Ornaments](https://www.hackerrank.com/challenges/beadornaments) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Jeanie's Route](https://www.hackerrank.com/challenges/jeanies-route) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Floyd - City of Blinding Lights](https://www.hackerrank.com/challenges/floyd-city-of-blinding-lights) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Roads in HackerLand](https://www.hackerrank.com/challenges/johnland) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Kingdom Connectivity](https://www.hackerrank.com/challenges/kingdom-connectivity) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Computer Game](https://www.hackerrank.com/challenges/computer-game) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Rust & Murderer](https://www.hackerrank.com/challenges/rust-murderer) | Medium | Coming Soon! | -| Algorithms | Graph Theory | [Problem solving](https://www.hackerrank.com/challenges/problem-solving) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Journey Scheduling](https://www.hackerrank.com/challenges/journey-scheduling) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Matrix](https://www.hackerrank.com/challenges/matrix) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Recording Episodes](https://www.hackerrank.com/challenges/episode-recording) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Repair Roads](https://www.hackerrank.com/challenges/repair-roads) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Kth Ancestor](https://www.hackerrank.com/challenges/kth-ancestor) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [ByteLandian Tours](https://www.hackerrank.com/challenges/bytelandian-tours) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Find the Path](https://www.hackerrank.com/challenges/shortest-path) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Savita And Friends](https://www.hackerrank.com/challenges/savita-and-friends) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Liars](https://www.hackerrank.com/challenges/liars) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Jumping Rooks](https://www.hackerrank.com/challenges/jumping-rooks) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Tripartite Matching](https://www.hackerrank.com/challenges/tripartite-matching) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Tree Flow](https://www.hackerrank.com/challenges/tree-flow) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [DAG Queries](https://www.hackerrank.com/challenges/dag-queries) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Favorite sequence](https://www.hackerrank.com/challenges/favourite-sequence) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Jogging Cats](https://www.hackerrank.com/challenges/cat-jogging) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Quadrant Queries](https://www.hackerrank.com/challenges/quadrant-queries) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Hacker Country](https://www.hackerrank.com/challenges/hacker-country) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [HackerX](https://www.hackerrank.com/challenges/missile-defend) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Huarongdao](https://www.hackerrank.com/challenges/huarongdao) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Training the army](https://www.hackerrank.com/challenges/training-the-army) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Jim and his LAN Party](https://www.hackerrank.com/challenges/jim-and-his-lan-party) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Travel in HackerLand](https://www.hackerrank.com/challenges/travel-in-hackerland) | Hard | Coming Soon! | -| Algorithms | Graph Theory | [Alex vs Fedor](https://www.hackerrank.com/challenges/alex-vs-fedor) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Vertical Paths](https://www.hackerrank.com/challenges/vertical-paths) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Drive](https://www.hackerrank.com/challenges/drive) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Travelling Salesman in a Grid](https://www.hackerrank.com/challenges/tsp-grid) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Road Network](https://www.hackerrank.com/challenges/road-network) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Going to the Office](https://www.hackerrank.com/challenges/going-office) | Expert | Coming Soon! | -| Algorithms | Graph Theory | [Tree Splitting](https://www.hackerrank.com/challenges/tree-splitting) | Advanced | Coming Soon! | -| Algorithms | Graph Theory | [Ticket](https://www.hackerrank.com/challenges/ticket) | Expert | Coming Soon! | -| Algorithms | Greedy | [Grid Challenge](https://www.hackerrank.com/challenges/grid-challenge) | Easy | Coming Soon! | -| Algorithms | Greedy | [Luck Balance](https://www.hackerrank.com/challenges/luck-balance) | Easy | Coming Soon! | -| Algorithms | Greedy | [Maximum Perimeter Triangle](https://www.hackerrank.com/challenges/maximum-perimeter-triangle) | Easy | Coming Soon! | -| Algorithms | Greedy | [Beautiful Pairs](https://www.hackerrank.com/challenges/beautiful-pairs) | Easy | Coming Soon! | -| Algorithms | Greedy | [Sherlock and The Beast](https://www.hackerrank.com/challenges/sherlock-and-the-beast) | Easy | Coming Soon! | -| Algorithms | Greedy | [Priyanka and Toys](https://www.hackerrank.com/challenges/priyanka-and-toys) | Easy | Coming Soon! | -| Algorithms | Greedy | [Largest Permutation](https://www.hackerrank.com/challenges/largest-permutation) | Easy | Coming Soon! | -| Algorithms | Greedy | [Mark and Toys](https://www.hackerrank.com/challenges/mark-and-toys) | Easy | Coming Soon! | -| Algorithms | Greedy | [Greedy Florist](https://www.hackerrank.com/challenges/greedy-florist) | Medium | Coming Soon! | -| Algorithms | Greedy | [Max Min](https://www.hackerrank.com/challenges/angry-children) | Medium | Coming Soon! | -| Algorithms | Greedy | [Jim and the Orders](https://www.hackerrank.com/challenges/jim-and-the-orders) | Easy | Coming Soon! | -| Algorithms | Greedy | [Permuting Two Arrays](https://www.hackerrank.com/challenges/two-arrays) | Easy | Coming Soon! | -| Algorithms | Greedy | [Cutting Boards](https://www.hackerrank.com/challenges/board-cutting) | Hard | Coming Soon! | -| Algorithms | Greedy | [Reverse Shuffle Merge](https://www.hackerrank.com/challenges/reverse-shuffle-merge) | Advanced | Coming Soon! | -| Algorithms | Greedy | [Goodland Electricity](https://www.hackerrank.com/challenges/pylons) | Medium | Coming Soon! | -| Algorithms | Greedy | [Chief Hopper](https://www.hackerrank.com/challenges/chief-hopper) | Hard | Coming Soon! | -| Algorithms | Greedy | [Sherlock and MiniMax](https://www.hackerrank.com/challenges/sherlock-and-minimax) | Hard | Coming Soon! | -| Algorithms | Greedy | [Accessory Collection](https://www.hackerrank.com/challenges/accessory-collection) | Hard | Coming Soon! | -| Algorithms | Greedy | [Team Formation](https://www.hackerrank.com/challenges/team-formation) | Advanced | Coming Soon! | -| Algorithms | Greedy | [Fighting Pits](https://www.hackerrank.com/challenges/fighting-pits) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [The Coin Change Problem](https://www.hackerrank.com/challenges/coin-change) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Dynamic%20Programming/The%20Coin%20Change%20Problem/Solution.java) | -| Algorithms | Dynamic Programming | [Equal](https://www.hackerrank.com/challenges/equal) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Sherlock and Cost](https://www.hackerrank.com/challenges/sherlock-and-cost) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Vertical Sticks](https://www.hackerrank.com/challenges/vertical-sticks) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Candies](https://www.hackerrank.com/challenges/candies) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Angry Children 2](https://www.hackerrank.com/challenges/angry-children-2) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Sam and sub-strings](https://www.hackerrank.com/challenges/sam-and-substrings) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Fibonacci Modified](https://www.hackerrank.com/challenges/fibonacci-modified) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Abbreviation](https://www.hackerrank.com/challenges/abbr) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [The Maximum Subarray](https://www.hackerrank.com/challenges/maxsubarray) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Fair Cut](https://www.hackerrank.com/challenges/fair-cut) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [HackerRank City](https://www.hackerrank.com/challenges/hr-city) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Summing Pieces](https://www.hackerrank.com/challenges/summing-pieces) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Mr K marsh](https://www.hackerrank.com/challenges/mr-k-marsh) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Substring Diff](https://www.hackerrank.com/challenges/substring-diff) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Xor and Sum](https://www.hackerrank.com/challenges/xor-and-sum) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Lego Blocks](https://www.hackerrank.com/challenges/lego-blocks) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Brick Tiling](https://www.hackerrank.com/challenges/brick-tiling) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Alien Languages](https://www.hackerrank.com/challenges/alien-languages) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Stock Maximize](https://www.hackerrank.com/challenges/stockmax) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Two Robots](https://www.hackerrank.com/challenges/two-robots) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Cut Tree](https://www.hackerrank.com/challenges/cuttree) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Wet Shark and Two Subsequences](https://www.hackerrank.com/challenges/wet-shark-and-two-subsequences) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Nikita and the Game](https://www.hackerrank.com/challenges/array-splitting) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Mandragora Forest](https://www.hackerrank.com/challenges/mandragora) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Red John is Back](https://www.hackerrank.com/challenges/red-john-is-back) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [LCS Returns](https://www.hackerrank.com/challenges/tutzki-and-lcs) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Grid Walking](https://www.hackerrank.com/challenges/grid-walking) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Knapsack](https://www.hackerrank.com/challenges/unbounded-knapsack) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Bricks Game](https://www.hackerrank.com/challenges/play-game) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [The Longest Increasing Subsequence](https://www.hackerrank.com/challenges/longest-increasing-subsequent) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Coin on the Table](https://www.hackerrank.com/challenges/coin-on-the-table) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [The Longest Common Subsequence](https://www.hackerrank.com/challenges/dynamic-programming-classics-the-longest-common-subsequence) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Play with words](https://www.hackerrank.com/challenges/strplay) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Black and White Tree](https://www.hackerrank.com/challenges/black-n-white-tree-1) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Counting Special Sub-Cubes](https://www.hackerrank.com/challenges/counting-special-sub-cubes) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Interval Selection](https://www.hackerrank.com/challenges/interval-selection) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [String Reduction](https://www.hackerrank.com/challenges/string-reduction) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Far Vertices](https://www.hackerrank.com/challenges/far-vertices) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Superman Celebrates Diwali](https://www.hackerrank.com/challenges/superman-celebrates-diwali) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Hexagonal Grid](https://www.hackerrank.com/challenges/hexagonal-grid) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Queens on Board](https://www.hackerrank.com/challenges/queens-on-board) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Shashank and the Palindromic Strings](https://www.hackerrank.com/challenges/shashank-and-palindromic-strings) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Points in a Plane](https://www.hackerrank.com/challenges/points-in-a-plane) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [The Indian Job](https://www.hackerrank.com/challenges/the-indian-job) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Requirement](https://www.hackerrank.com/challenges/requirement) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [A Super Hero](https://www.hackerrank.com/challenges/a-super-hero) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Clues on a Binary Path](https://www.hackerrank.com/challenges/clues-on-a-binary-path) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Road Maintenance](https://www.hackerrank.com/challenges/road-maintenance) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Billboards](https://www.hackerrank.com/challenges/billboards) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Beautiful Strings](https://www.hackerrank.com/challenges/beautiful-string) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Covering the stains](https://www.hackerrank.com/challenges/covering-the-stains) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Fairy Chess](https://www.hackerrank.com/challenges/fairy-chess) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Travel around the world](https://www.hackerrank.com/challenges/travel-around-the-world) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [New Year Present](https://www.hackerrank.com/challenges/newyear-present) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Longest Palindromic Subsequence](https://www.hackerrank.com/challenges/longest-palindromic-subsequence) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Candles Counting](https://www.hackerrank.com/challenges/candles-2) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Hyper Strings](https://www.hackerrank.com/challenges/hyper-strings) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Swap Permutation](https://www.hackerrank.com/challenges/swappermutation) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Extremum Permutations](https://www.hackerrank.com/challenges/extremum-permutations) | Medium | Coming Soon! | -| Algorithms | Dynamic Programming | [Square Subsequences](https://www.hackerrank.com/challenges/square-subsequences) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Dorsey Thief](https://www.hackerrank.com/challenges/dorsey-thief) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Mining](https://www.hackerrank.com/challenges/mining) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Police Operation](https://www.hackerrank.com/challenges/police-operation) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Zurikela's Graph](https://www.hackerrank.com/challenges/zurikela) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Modify The Sequence](https://www.hackerrank.com/challenges/modify-the-sequence) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Longest Mod Path](https://www.hackerrank.com/challenges/longest-mod-path) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [P-sequences](https://www.hackerrank.com/challenges/p-sequences) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Robot](https://www.hackerrank.com/challenges/robot) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Lucky Numbers](https://www.hackerrank.com/challenges/lucky-numbers) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Unfair Game](https://www.hackerrank.com/challenges/unfair-game) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Oil Well](https://www.hackerrank.com/challenges/oil-well) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Find the Seed](https://www.hackerrank.com/challenges/find-the-seed) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [The Blacklist](https://www.hackerrank.com/challenges/the-blacklist) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Tree Pruning](https://www.hackerrank.com/challenges/tree-pruning) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Ones and Twos](https://www.hackerrank.com/challenges/ones-and-twos) | Hard | Coming Soon! | -| Algorithms | Dynamic Programming | [Count Scorecards](https://www.hackerrank.com/challenges/count-scorecards) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Vim War](https://www.hackerrank.com/challenges/vim-war) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Best spot](https://www.hackerrank.com/challenges/best-spot) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Divisible Numbers](https://www.hackerrank.com/challenges/divisible-numbers) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Unique Divide And Conquer](https://www.hackerrank.com/challenges/unique-divide-and-conquer) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [King and Four Sons](https://www.hackerrank.com/challenges/happy-king) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Dortmund Dilemma](https://www.hackerrank.com/challenges/dortmund-dilemma) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Super Kth LIS](https://www.hackerrank.com/challenges/super-kth-lis) | Advanced | Coming Soon! | -| Algorithms | Dynamic Programming | [Counting the Ways](https://www.hackerrank.com/challenges/count-ways-1) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Hard Disk Drives](https://www.hackerrank.com/challenges/hard-drive-disks) | Expert | Coming Soon! | -| Algorithms | Dynamic Programming | [Separate the chocolate](https://www.hackerrank.com/challenges/separate-the-chocolate) | Expert | Coming Soon! | -| Algorithms | Constructive Algorithms | [Flipping the Matrix](https://www.hackerrank.com/challenges/flipping-the-matrix) | Medium | Coming Soon! | -| Algorithms | Constructive Algorithms | [New Year Chaos](https://www.hackerrank.com/challenges/new-year-chaos) | Medium | Coming Soon! | -| Algorithms | Constructive Algorithms | [Bonetrousle](https://www.hackerrank.com/challenges/bonetrousle) | Medium | Coming Soon! | -| Algorithms | Constructive Algorithms | [Yet Another KMP Problem](https://www.hackerrank.com/challenges/kmp-problem) | Hard | Coming Soon! | -| Algorithms | Constructive Algorithms | [Beautiful 3 Set](https://www.hackerrank.com/challenges/beautiful-3-set) | Hard | Coming Soon! | -| Algorithms | Constructive Algorithms | [Inverse RMQ](https://www.hackerrank.com/challenges/inverse-rmq) | Hard | Coming Soon! | -| Algorithms | Constructive Algorithms | [Lovely Triplets](https://www.hackerrank.com/challenges/lovely-triplets) | Advanced | Coming Soon! | -| Algorithms | Constructive Algorithms | [Array Construction](https://www.hackerrank.com/challenges/array-construction) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [Lonely Integer](https://www.hackerrank.com/challenges/lonely-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Bit%20Manipulation/Lonely%20Integer/Solution.java) | -| Algorithms | Bit Manipulation | [Maximizing XOR](https://www.hackerrank.com/challenges/maximizing-xor) | Easy | Coming Soon! | -| Algorithms | Bit Manipulation | [Counter game](https://www.hackerrank.com/challenges/counter-game) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Xor-sequence](https://www.hackerrank.com/challenges/xor-se) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Sum vs XOR](https://www.hackerrank.com/challenges/sum-vs-xor) | Easy | Coming Soon! | -| Algorithms | Bit Manipulation | [Flipping bits](https://www.hackerrank.com/challenges/flipping-bits) | Easy | Coming Soon! | -| Algorithms | Bit Manipulation | [Yet Another Minimax Problem](https://www.hackerrank.com/challenges/yet-another-minimax-problem) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Sansa and XOR](https://www.hackerrank.com/challenges/sansa-and-xor) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [AND Product](https://www.hackerrank.com/challenges/and-product) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Xoring Ninja](https://www.hackerrank.com/challenges/xoring-ninja) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [Cipher](https://www.hackerrank.com/challenges/cipher) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [XOR Matrix](https://www.hackerrank.com/challenges/xor-matrix) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [What's Next](https://www.hackerrank.com/challenges/whats-next) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [String Transmission](https://www.hackerrank.com/challenges/string-transmission) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [A or B](https://www.hackerrank.com/challenges/aorb) | Medium | Coming Soon! | -| Algorithms | Bit Manipulation | [Manipulative Numbers](https://www.hackerrank.com/challenges/manipulative-numbers) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [Stone game](https://www.hackerrank.com/challenges/stonegame) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [2's complement](https://www.hackerrank.com/challenges/2s-complement) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [Changing Bits](https://www.hackerrank.com/challenges/changing-bits) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [XOR key](https://www.hackerrank.com/challenges/xor-key) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [Maximizing the Function](https://www.hackerrank.com/challenges/maximizing-the-function) | Hard | Coming Soon! | -| Algorithms | Bit Manipulation | [XOR Subsequences](https://www.hackerrank.com/challenges/xor-subsequence) | Advanced | Coming Soon! | -| Algorithms | Bit Manipulation | [Iterate It](https://www.hackerrank.com/challenges/iterate-it) | Expert | Coming Soon! | -| Algorithms | Bit Manipulation | [Hamming Distance](https://www.hackerrank.com/challenges/hamming-distance) | Expert | Coming Soon! | -| Algorithms | Bit Manipulation | [Mixing proteins](https://www.hackerrank.com/challenges/pmix) | Hard | Coming Soon! | -| Algorithms | Recursion | [Simplified Chess Engine](https://www.hackerrank.com/challenges/simplified-chess-engine) | Medium | Coming Soon! | -| Algorithms | Recursion | [Repetitive K-Sums](https://www.hackerrank.com/challenges/repeat-k-sums) | Advanced | Coming Soon! | -| Algorithms | Game Theory | [Game of Stones](https://www.hackerrank.com/challenges/game-of-stones-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Tower Breakers](https://www.hackerrank.com/challenges/tower-breakers-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [A Chessboard Game](https://www.hackerrank.com/challenges/a-chessboard-game-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Introduction to Nim Game](https://www.hackerrank.com/challenges/nim-game-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Misere Nim](https://www.hackerrank.com/challenges/misere-nim-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Nimble Game](https://www.hackerrank.com/challenges/nimble-game-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Poker Nim](https://www.hackerrank.com/challenges/poker-nim-1) | Easy | Coming Soon! | -| Algorithms | Game Theory | [Tower Breakers, Revisited!](https://www.hackerrank.com/challenges/tower-breakers-revisited-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Tower Breakers, Again!](https://www.hackerrank.com/challenges/tower-breakers-again-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Chessboard Game, Again!](https://www.hackerrank.com/challenges/chessboard-game-again-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Digits Square Board](https://www.hackerrank.com/challenges/digits-square-board-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Fun Game](https://www.hackerrank.com/challenges/fun-game-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Stone Division](https://www.hackerrank.com/challenges/stone-division) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Chocolate in Box](https://www.hackerrank.com/challenges/chocolate-in-box) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Kitty and Katty](https://www.hackerrank.com/challenges/kitty-and-katty) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Powers Game](https://www.hackerrank.com/challenges/powers-game-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Deforestation](https://www.hackerrank.com/challenges/deforestation-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Bob and Ben](https://www.hackerrank.com/challenges/bob-and-ben) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Tower Breakers - The Final Battle](https://www.hackerrank.com/challenges/tower-breakers-the-final-battle-1) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Simple Game](https://www.hackerrank.com/challenges/simple-game) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Permutation game](https://www.hackerrank.com/challenges/permutation-game) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Move the Coins](https://www.hackerrank.com/challenges/move-the-coins) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Play on benders](https://www.hackerrank.com/challenges/benders-play) | Medium | Coming Soon! | -| Algorithms | Game Theory | [New Year Game](https://www.hackerrank.com/challenges/newyear-game) | Medium | Coming Soon! | -| Algorithms | Game Theory | [Stone Piles](https://www.hackerrank.com/challenges/stone-piles) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Chocolate Game](https://www.hackerrank.com/challenges/chocolate-game) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Manasa and Prime game](https://www.hackerrank.com/challenges/manasa-and-prime-game) | Hard | Coming Soon! | -| Algorithms | Game Theory | [Vertical Rooks](https://www.hackerrank.com/challenges/vertical-rooks) | Medium | Coming Soon! | -| Algorithms | Game Theory | [A stones game](https://www.hackerrank.com/challenges/half) | Medium | Coming Soon! | -| Algorithms | NP Complete | [Walking the Approximate Longest Path](https://www.hackerrank.com/challenges/walking-the-approximate-longest-path) | Hard | Coming Soon! | -| Algorithms | NP Complete | [Spies, Revisited](https://www.hackerrank.com/challenges/spies-revised) | Expert | Coming Soon! | -| Algorithms | NP Complete | [TBS Problem](https://www.hackerrank.com/challenges/tbsp) | Expert | Coming Soon! | +| Subdomain | Challenge | Difficulty | Solution | +|:-----------------------:|:-----------------------------------------------------------------------------------------------------------------------------------:|:----------:|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Warmup | [Solve Me First](https://www.hackerrank.com/challenges/solve-me-first) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Solve%20Me%20First/Solution.java) | +| Warmup | [Simple Array Sum](https://www.hackerrank.com/challenges/simple-array-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Simple%20Array%20Sum/Solution.java) | +| Warmup | [Compare the Triplets](https://www.hackerrank.com/challenges/compare-the-triplets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Compare%20the%20Triplets/Solution.java) | +| Warmup | [A Very Big Sum](https://www.hackerrank.com/challenges/a-very-big-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/A%20Very%20Big%20Sum/Solution.java) | +| Warmup | [Diagonal Difference](https://www.hackerrank.com/challenges/diagonal-difference) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Diagonal%20Difference/Solution.java) | +| Warmup | [Plus Minus](https://www.hackerrank.com/challenges/plus-minus) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Plus%20Minus/Solution.java) | +| Warmup | [Staircase](https://www.hackerrank.com/challenges/staircase) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Staircase/Solution.java) | +| Warmup | [Mini-max Sum](https://www.hackerrank.com/challenges/mini-max-sum) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Mini-Max%20Sum/Solution.java) | +| Warmup | [Time Conversion](https://www.hackerrank.com/challenges/time-conversion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Warmup/Time%20Conversion/Solution.java) | +| Implementation | [Grading Students](https://www.hackerrank.com/challenges/grading) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Grading%20Students/Solution.java) | +| Implementation | [Designer PDF Viewer](https://www.hackerrank.com/challenges/designer-pdf-viewer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Designer%20PDF%20Viewer/Solution.java) | +| Implementation | [Apple and Orange](https://www.hackerrank.com/challenges/apple-and-orange) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Apple%20and%20Orange/Solution.java) | +| Implementation | [Kangaroo](https://www.hackerrank.com/challenges/kangaroo) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Kangaroo/Solution.java) | +| Implementation | [Between Two Sets](https://www.hackerrank.com/challenges/between-two-sets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Between%20Two%20Sets/Solution.java) | +| Implementation | [Divisible Sum Pairs](https://www.hackerrank.com/challenges/divisible-sum-pairs) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Divisible%20Sum%20Pairs/Solution.java) | +| Implementation | [Bon Appetit](https://www.hackerrank.com/challenges/bon-appetit) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Bon%20Appetit/Solution.java) | +| Implementation | [Sock Merchant](https://www.hackerrank.com/challenges/sock-merchant) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sock%20Merchant/Solution.java) | +| Implementation | [The Hurdle Race](https://www.hackerrank.com/challenges/the-hurdle-race) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/The%20Hurdle%20Race/Solution.java) | +| Implementation | [Utopian Tree](https://www.hackerrank.com/challenges/utopian-tree) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Utopian%20Tree/Solution.java) | +| Implementation | [Angry Professor](https://www.hackerrank.com/challenges/angry-professor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Angry%20Professor/Solution.java) | +| Implementation | [Beautiful Days at the Movies](https://www.hackerrank.com/challenges/beautiful-days-at-the-movies) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Beautiful%20Days%20at%20the%20Movies/Solution.java) | +| Implementation | [Viral Advertising](https://www.hackerrank.com/challenges/strange-advertising) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Viral%20Advertising/Solution.java) | +| Implementation | [Save the Prisoner!](https://www.hackerrank.com/challenges/save-the-prisoner) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Save%20the%20Prisoner!/Solution.java) | +| Implementation | [Sequence Equation](https://www.hackerrank.com/challenges/permutation-equation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sequence%20Equation/Solution.java) | +| Implementation | [Circular Array Rotation](https://www.hackerrank.com/challenges/circular-array-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Circular%20Array%20Rotation/Solution.java) | +| Implementation | [Jumping on the Clouds - Revisited](https://www.hackerrank.com/challenges/jumping-on-the-clouds-revisited) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Jumping%20on%20the%20Clouds%20-%20Revisited/Solution.java) | +| Implementation | [Find Digits](https://www.hackerrank.com/challenges/find-digits) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Find%20Digits/Solution.java) | +| Implementation | [Extra Long Factorials](https://www.hackerrank.com/challenges/extra-long-factorials) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Extra%20Long%20Factorials/Solution.java) | +| Implementation | [Append and Delete](https://www.hackerrank.com/challenges/append-and-delete) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Append%20and%20Delete/Solution.java) | +| Implementation | [Sherlock and Squares](https://www.hackerrank.com/challenges/sherlock-and-squares) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Sherlock%20and%20Squares/Solution.java) | +| Implementation | [Library Fine](https://www.hackerrank.com/challenges/library-fine) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Library%20Fine/Solution.java) | +| Implementation | [Cut the sticks](https://www.hackerrank.com/challenges/cut-the-sticks) | Easy | Coming Soon! | +| Implementation | [Non-Divisible Subset](https://www.hackerrank.com/challenges/non-divisible-subset) | Medium | Coming Soon! | +| Implementation | [Repeated String](https://www.hackerrank.com/challenges/repeated-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Repeated%20String/Solution.java) | +| Implementation | [Jumping on the Clouds](https://www.hackerrank.com/challenges/jumping-on-the-clouds) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Jumping%20on%20the%20Clouds/Solution.java) | +| Implementation | [Equalize the Array](https://www.hackerrank.com/challenges/equality-in-a-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Equalize%20the%20Array/Solution.java) | +| Implementation | [ACM ICPC Team](https://www.hackerrank.com/challenges/acm-icpc-team) | Easy | Coming Soon! | +| Implementation | [Taum and B'day](https://www.hackerrank.com/challenges/taum-and-bday) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Taum%20and%20B%27day/Solution.java) | +| Implementation | [Organizing Containers of Balls](https://www.hackerrank.com/challenges/organizing-containers-of-balls) | Medium | Coming Soon! | +| Implementation | [Encryption](https://www.hackerrank.com/challenges/encryption) | Medium | Coming Soon! | +| Implementation | [Bigger is Greater](https://www.hackerrank.com/challenges/bigger-is-greater) | Medium | Coming Soon! | +| Implementation | [Modified Kaprekar Numbers](https://www.hackerrank.com/challenges/kaprekar-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Modified%20Kaprekar%20Numbers/Solution.java) | +| Implementation | [Beautiful Triplets](https://www.hackerrank.com/challenges/beautiful-triplets) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Beautiful%20Triplets/Solution.java) | +| Implementation | [Manasa and Stones](https://www.hackerrank.com/challenges/manasa-and-stones) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Implementation/Manasa%20and%20Stones/Solution.java) | +| Implementation | [Minimum Distances](https://www.hackerrank.com/challenges/minimum-distances) | Easy | Coming Soon! | +| Implementation | [The Time in Words](https://www.hackerrank.com/challenges/the-time-in-words) | Medium | Coming Soon! | +| Implementation | [Cavity Map](https://www.hackerrank.com/challenges/cavity-map) | Easy | Coming Soon! | +| Implementation | [Chocolate Feast](https://www.hackerrank.com/challenges/chocolate-feast) | Easy | Coming Soon! | +| Implementation | [Service Lane](https://www.hackerrank.com/challenges/service-lane) | Easy | Coming Soon! | +| Implementation | [Lisa's Workbook](https://www.hackerrank.com/challenges/lisa-workbook) | Easy | Coming Soon! | +| Implementation | [The Grid Search](https://www.hackerrank.com/challenges/the-grid-search) | Medium | Coming Soon! | +| Implementation | [Flatland Space Stations](https://www.hackerrank.com/challenges/flatland-space-stations) | Easy | Coming Soon! | +| Implementation | [Fair Rations](https://www.hackerrank.com/challenges/fair-rations) | Easy | Coming Soon! | +| Implementation | [Happy Ladybugs](https://www.hackerrank.com/challenges/happy-ladybugs) | Easy | Coming Soon! | +| Implementation | [Strange Counter](https://www.hackerrank.com/challenges/strange-code) | Easy | Coming Soon! | +| Implementation | [Almost Sorted](https://www.hackerrank.com/challenges/almost-sorted) | Medium | Coming Soon! | +| Implementation | [Absolute Permutation](https://www.hackerrank.com/challenges/absolute-permutation) | Medium | Coming Soon! | +| Implementation | [The Bomberman Game](https://www.hackerrank.com/challenges/bomber-man) | Medium | Coming Soon! | +| Implementation | [Ema's Supercomputer](https://www.hackerrank.com/challenges/two-pluses) | Medium | Coming Soon! | +| Implementation | [Larry's Array](https://www.hackerrank.com/challenges/larrys-array) | Medium | Coming Soon! | +| Implementation | [Matrix Layer Rotation](https://www.hackerrank.com/challenges/matrix-rotation-algo) | Hard | Coming Soon! | +| Strings | [Super Reduced String](https://www.hackerrank.com/challenges/reduced-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Super%20Reduced%20String/Solution.java) | +| Strings | [CamelCase](https://www.hackerrank.com/challenges/camelcase) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/CamelCase/Solution.java) | +| Strings | [Two Characters](https://www.hackerrank.com/challenges/two-characters) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Two%20Characters/Solution.java) | +| Strings | [Caesar Cipher](https://www.hackerrank.com/challenges/caesar-cipher-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Caesar%20Cipher/Solution.java) | +| Strings | [Mars Exploration](https://www.hackerrank.com/challenges/mars-exploration) | Easy | Coming Soon! | +| Strings | [HackerRank in a String!](https://www.hackerrank.com/challenges/hackerrank-in-a-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/HackerRank%20in%20a%20String!/Solution.java) | +| Strings | [Pangrams](https://www.hackerrank.com/challenges/pangrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Pangrams/Solution.java) | +| Strings | [Weighted Uniform Strings](https://www.hackerrank.com/challenges/weighted-uniform-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Weighted%20Uniform%20Strings/Solution.java) | +| Strings | [Separate the Numbers](https://www.hackerrank.com/challenges/separate-the-numbers) | Easy | Coming Soon! | +| Strings | [Funny String](https://www.hackerrank.com/challenges/funny-string) | Easy | Coming Soon! | +| Strings | [Gemstones](https://www.hackerrank.com/challenges/gem-stones) | Easy | Coming Soon! | +| Strings | [Alternating Characters](https://www.hackerrank.com/challenges/alternating-characters) | Easy | Coming Soon! | +| Strings | [Beautiful Binary String](https://www.hackerrank.com/challenges/beautiful-binary-string) | Easy | Coming Soon! | +| Strings | [The Love-Letter Mystery](https://www.hackerrank.com/challenges/the-love-letter-mystery) | Easy | Coming Soon! | +| Strings | [Palindrome Index](https://www.hackerrank.com/challenges/palindrome-index) | Easy | Coming Soon! | +| Strings | [Anagram](https://www.hackerrank.com/challenges/anagram) | Easy | Coming Soon! | +| Strings | [Making Anagrams](https://www.hackerrank.com/challenges/making-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Strings/Making%20Anagrams/Solution.java) | +| Strings | [Game of Thrones - I](https://www.hackerrank.com/challenges/game-of-thrones) | Easy | Coming Soon! | +| Strings | [Two Strings](https://www.hackerrank.com/challenges/two-strings) | Easy | Coming Soon! | +| Strings | [String Construction](https://www.hackerrank.com/challenges/string-construction) | Easy | Coming Soon! | +| Strings | [Sherlock and Valid String](https://www.hackerrank.com/challenges/sherlock-and-valid-string) | Hard | Coming Soon! | +| Strings | [Richie Rich](https://www.hackerrank.com/challenges/richie-rich) | Medium | Coming Soon! | +| Strings | [Sherlock and Anagrams](https://www.hackerrank.com/challenges/sherlock-and-anagrams) | Medium | Coming Soon! | +| Strings | [Common Child](https://www.hackerrank.com/challenges/common-child) | Hard | Coming Soon! | +| Strings | [Bear and Steady Gene](https://www.hackerrank.com/challenges/bear-and-steady-gene) | Medium | Coming Soon! | +| Strings | [Morgan and a String](https://www.hackerrank.com/challenges/morgan-and-a-string) | Expert | Coming Soon! | +| Strings | [Count Strings](https://www.hackerrank.com/challenges/count-strings) | Hard | Coming Soon! | +| Strings | [String Function Calculation](https://www.hackerrank.com/challenges/string-function-calculation) | Advanced | Coming Soon! | +| Strings | [Build a Palindrome](https://www.hackerrank.com/challenges/challenging-palindromes) | Advanced | Coming Soon! | +| Strings | [Build a String](https://www.hackerrank.com/challenges/build-a-string) | Hard | Coming Soon! | +| Strings | [Gridland Provinces](https://www.hackerrank.com/challenges/gridland-provinces) | Hard | Coming Soon! | +| Strings | [Ashton and String](https://www.hackerrank.com/challenges/ashton-and-string) | Advanced | Coming Soon! | +| Strings | [String Similarity](https://www.hackerrank.com/challenges/string-similarity) | Expert | Coming Soon! | +| Strings | [Super Functional Strings](https://www.hackerrank.com/challenges/super-functional-strings) | Advanced | Coming Soon! | +| Strings | [Circular Palindromes](https://www.hackerrank.com/challenges/circular-palindromes) | Advanced | Coming Soon! | +| Strings | [Similar Strings](https://www.hackerrank.com/challenges/similar-strings) | Advanced | Coming Soon! | +| Strings | [Save Humanity](https://www.hackerrank.com/challenges/save-humanity) | Expert | Coming Soon! | +| Strings | [Find Strings](https://www.hackerrank.com/challenges/find-strings) | Expert | Coming Soon! | +| Strings | [Palindromic Border](https://www.hackerrank.com/challenges/palindromic-border) | Expert | Coming Soon! | +| Strings | [Two Two](https://www.hackerrank.com/challenges/two-two) | Advanced | Coming Soon! | +| Strings | [Two Strings Game](https://www.hackerrank.com/challenges/two-strings-game) | Expert | Coming Soon! | +| Strings | [Letter Islands](https://www.hackerrank.com/challenges/letter-islands) | Expert | Coming Soon! | +| Strings | [Pseudo-Isomorphic Substrings](https://www.hackerrank.com/challenges/pseudo-isomorphic-substrings) | Expert | Coming Soon! | +| Sorting | [Intro to Tutorial Challenges](https://www.hackerrank.com/challenges/tutorial-intro) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Intro%20to%20Tutorial%20Challenges/Solution.java) | +| Sorting | [Insertion Sort - Part 1](https://www.hackerrank.com/challenges/insertionsort1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Insertion%20Sort%20-%20Part%201/Solution.java) | +| Sorting | [Insertion Sort - Part 2](https://www.hackerrank.com/challenges/insertionsort2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Insertion%20Sort%20-%20Part%202/Solution.java) | +| Sorting | [Correctness and the Loop Invariant](https://www.hackerrank.com/challenges/correctness-invariant) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Correctness%20and%20the%20Loop%20Invariant/Solution.java) | +| Sorting | [Running Time of Algorithms](https://www.hackerrank.com/challenges/runningtime) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Running%20Time%20of%20Algorithms/Solution.java) | +| Sorting | [Quicksort 1 - Partition](https://www.hackerrank.com/challenges/quicksort1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Quicksort%201%20-%20Partition/Solution.java) | +| Sorting | [Quicksort 2 - Sorting](https://www.hackerrank.com/challenges/quicksort2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Quicksort%202%20-%20Sorting/Solution.java) | +| Sorting | [Quicksort In-Place](https://www.hackerrank.com/challenges/quicksort3) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Quicksort%20In-Place/Solution.java) | +| Sorting | [Running Time of Quicksort](https://www.hackerrank.com/challenges/quicksort4) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Sorting/Running%20Time%20of%20Quicksort/Solution.java) | +| Sorting | [Counting Sort 1](https://www.hackerrank.com/challenges/countingsort1) | Easy | Coming Soon! | +| Sorting | [Counting Sort 2](https://www.hackerrank.com/challenges/countingsort2) | Easy | Coming Soon! | +| Sorting | [Counting Sort 3](https://www.hackerrank.com/challenges/countingsort3) | Easy | Coming Soon! | +| Sorting | [The Full Counting Sort](https://www.hackerrank.com/challenges/countingsort4) | Medium | Coming Soon! | +| Sorting | [Closest Numbers](https://www.hackerrank.com/challenges/closest-numbers) | Easy | Coming Soon! | +| Sorting | [Find the Median](https://www.hackerrank.com/challenges/find-the-median) | Easy | Coming Soon! | +| Sorting | [Insertion Sort Advanced Analysis](https://www.hackerrank.com/challenges/insertion-sort) | Advanced | Coming Soon! | +| Sorting | [Fraudulent Activity Notifications](https://www.hackerrank.com/challenges/fraudulent-activity-notifications) | Medium | Coming Soon! | +| Sorting | [Lily's Homework](https://www.hackerrank.com/challenges/lilys-homework) | Medium | Coming Soon! | +| Search | [Hackerland Radio Transmitters](https://www.hackerrank.com/challenges/hackerland-radio-transmitters) | Easy | Coming Soon! | +| Search | [Ice Cream Parlor](https://www.hackerrank.com/challenges/icecream-parlor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Search/Ice%20Cream%20Parlor/Solution.java) | +| Search | [Gridland Metro](https://www.hackerrank.com/challenges/gridland-metro) | Medium | Coming Soon! | +| Search | [Missing Numbers](https://www.hackerrank.com/challenges/missing-numbers) | Easy | Coming Soon! | +| Search | [Pairs](https://www.hackerrank.com/challenges/pairs) | Medium | Coming Soon! | +| Search | [Sherlock and Array](https://www.hackerrank.com/challenges/sherlock-and-array) | Easy | Coming Soon! | +| Search | [Maximum Subarray Sum](https://www.hackerrank.com/challenges/maximum-subarray-sum) | Hard | Coming Soon! | +| Search | [Connected Cells in a Grid](https://www.hackerrank.com/challenges/connected-cell-in-a-grid) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Search/Connected%20Cells%20in%20a%20Grid/Solution.java) | +| Search | [Short Palindrome](https://www.hackerrank.com/challenges/short-palindrome) | Medium | Coming Soon! | +| Search | [Count Luck](https://www.hackerrank.com/challenges/count-luck) | Medium | Coming Soon! | +| Search | [Cut the Tree](https://www.hackerrank.com/challenges/cut-the-tree) | Medium | Coming Soon! | +| Search | [Making Candies](https://www.hackerrank.com/challenges/making-candies) | Hard | Coming Soon! | +| Search | [Gene Playing Hanoi](https://www.hackerrank.com/challenges/gena) | Medium | Coming Soon! | +| Search | [Beautiful Quadruples](https://www.hackerrank.com/challenges/xor-quadruples) | Medium | Coming Soon! | +| Search | [Bike Racers](https://www.hackerrank.com/challenges/bike-racers) | Hard | Coming Soon! | +| Search | [Task Scheduling](https://www.hackerrank.com/challenges/task-scheduling) | Advanced | Coming Soon! | +| Search | [Similar Pair](https://www.hackerrank.com/challenges/similarpair) | Advanced | Coming Soon! | +| Search | [Absolute Element Sums](https://www.hackerrank.com/challenges/playing-with-numbers) | Hard | Coming Soon! | +| Search | [Sorted Subsegments](https://www.hackerrank.com/challenges/sorted-subsegments) | Hard | Coming Soon! | +| Search | [King Richard's Knights](https://www.hackerrank.com/challenges/king-richards-knights) | Hard | Coming Soon! | +| Graph Theory | [Journey to the Moon](https://www.hackerrank.com/challenges/journey-to-the-moon) | Medium | Coming Soon! | +| Graph Theory | [Synchronous Shopping](https://www.hackerrank.com/challenges/synchronous-shopping) | Medium | Coming Soon! | +| Graph Theory | [Subset Component](https://www.hackerrank.com/challenges/subset-component) | Hard | Coming Soon! | +| Graph Theory | [Breadth First Search - Shortest Reach](https://www.hackerrank.com/challenges/bfsshortreach) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Graph%20Theory/Breadth%20First%20Search%20-%20Shortest%20Reach/Solution.java) | +| Graph Theory | [Kruskal (MST) - Really Special Subtree](https://www.hackerrank.com/challenges/kruskalmstrsub) | Hard | Coming Soon! | +| Graph Theory | [Even Tree](https://www.hackerrank.com/challenges/even-tree) | Medium | Coming Soon! | +| Graph Theory | [Snakes and Ladders - The Quickest Way Up](https://www.hackerrank.com/challenges/the-quickest-way-up) | Medium | Coming Soon! | +| Graph Theory | [Dijkstra - Shortest Reach 2](https://www.hackerrank.com/challenges/dijkstrashortreach) | Hard | Coming Soon! | +| Graph Theory | [Prim's (MST) - Special Subtree](https://www.hackerrank.com/challenges/primsmstsub) | Medium | Coming Soon! | +| Graph Theory | [Clique](https://www.hackerrank.com/challenges/clique) | Medium | Coming Soon! | +| Graph Theory | [Minimum Penalty Path](https://www.hackerrank.com/challenges/beautiful-path) | Medium | Coming Soon! | +| Graph Theory | [Demanding Money](https://www.hackerrank.com/challenges/borrowing-money) | Hard | Coming Soon! | +| Graph Theory | [Jack goes to Rapture](https://www.hackerrank.com/challenges/jack-goes-to-rapture) | Medium | Coming Soon! | +| Graph Theory | [Crab Graphs](https://www.hackerrank.com/challenges/crab-graphs) | Medium | Coming Soon! | +| Graph Theory | [Bead Ornaments](https://www.hackerrank.com/challenges/beadornaments) | Advanced | Coming Soon! | +| Graph Theory | [Jeanie's Route](https://www.hackerrank.com/challenges/jeanies-route) | Medium | Coming Soon! | +| Graph Theory | [Floyd - City of Blinding Lights](https://www.hackerrank.com/challenges/floyd-city-of-blinding-lights) | Hard | Coming Soon! | +| Graph Theory | [Roads in HackerLand](https://www.hackerrank.com/challenges/johnland) | Medium | Coming Soon! | +| Graph Theory | [Kingdom Connectivity](https://www.hackerrank.com/challenges/kingdom-connectivity) | Hard | Coming Soon! | +| Graph Theory | [Computer Game](https://www.hackerrank.com/challenges/computer-game) | Hard | Coming Soon! | +| Graph Theory | [Rust & Murderer](https://www.hackerrank.com/challenges/rust-murderer) | Medium | Coming Soon! | +| Graph Theory | [Problem solving](https://www.hackerrank.com/challenges/problem-solving) | Hard | Coming Soon! | +| Graph Theory | [Journey Scheduling](https://www.hackerrank.com/challenges/journey-scheduling) | Hard | Coming Soon! | +| Graph Theory | [Matrix](https://www.hackerrank.com/challenges/matrix) | Hard | Coming Soon! | +| Graph Theory | [Recording Episodes](https://www.hackerrank.com/challenges/episode-recording) | Hard | Coming Soon! | +| Graph Theory | [Repair Roads](https://www.hackerrank.com/challenges/repair-roads) | Hard | Coming Soon! | +| Graph Theory | [Kth Ancestor](https://www.hackerrank.com/challenges/kth-ancestor) | Hard | Coming Soon! | +| Graph Theory | [ByteLandian Tours](https://www.hackerrank.com/challenges/bytelandian-tours) | Hard | Coming Soon! | +| Graph Theory | [Find the Path](https://www.hackerrank.com/challenges/shortest-path) | Hard | Coming Soon! | +| Graph Theory | [Savita And Friends](https://www.hackerrank.com/challenges/savita-and-friends) | Hard | Coming Soon! | +| Graph Theory | [Liars](https://www.hackerrank.com/challenges/liars) | Advanced | Coming Soon! | +| Graph Theory | [Jumping Rooks](https://www.hackerrank.com/challenges/jumping-rooks) | Advanced | Coming Soon! | +| Graph Theory | [Tripartite Matching](https://www.hackerrank.com/challenges/tripartite-matching) | Hard | Coming Soon! | +| Graph Theory | [Tree Flow](https://www.hackerrank.com/challenges/tree-flow) | Hard | Coming Soon! | +| Graph Theory | [DAG Queries](https://www.hackerrank.com/challenges/dag-queries) | Expert | Coming Soon! | +| Graph Theory | [Favorite sequence](https://www.hackerrank.com/challenges/favourite-sequence) | Advanced | Coming Soon! | +| Graph Theory | [Jogging Cats](https://www.hackerrank.com/challenges/cat-jogging) | Advanced | Coming Soon! | +| Graph Theory | [Quadrant Queries](https://www.hackerrank.com/challenges/quadrant-queries) | Advanced | Coming Soon! | +| Graph Theory | [Hacker Country](https://www.hackerrank.com/challenges/hacker-country) | Hard | Coming Soon! | +| Graph Theory | [HackerX](https://www.hackerrank.com/challenges/missile-defend) | Hard | Coming Soon! | +| Graph Theory | [Huarongdao](https://www.hackerrank.com/challenges/huarongdao) | Expert | Coming Soon! | +| Graph Theory | [Training the army](https://www.hackerrank.com/challenges/training-the-army) | Hard | Coming Soon! | +| Graph Theory | [Jim and his LAN Party](https://www.hackerrank.com/challenges/jim-and-his-lan-party) | Hard | Coming Soon! | +| Graph Theory | [Travel in HackerLand](https://www.hackerrank.com/challenges/travel-in-hackerland) | Hard | Coming Soon! | +| Graph Theory | [Alex vs Fedor](https://www.hackerrank.com/challenges/alex-vs-fedor) | Expert | Coming Soon! | +| Graph Theory | [Vertical Paths](https://www.hackerrank.com/challenges/vertical-paths) | Expert | Coming Soon! | +| Graph Theory | [Drive](https://www.hackerrank.com/challenges/drive) | Expert | Coming Soon! | +| Graph Theory | [Travelling Salesman in a Grid](https://www.hackerrank.com/challenges/tsp-grid) | Expert | Coming Soon! | +| Graph Theory | [Road Network](https://www.hackerrank.com/challenges/road-network) | Expert | Coming Soon! | +| Graph Theory | [Going to the Office](https://www.hackerrank.com/challenges/going-office) | Expert | Coming Soon! | +| Graph Theory | [Tree Splitting](https://www.hackerrank.com/challenges/tree-splitting) | Advanced | Coming Soon! | +| Graph Theory | [Ticket](https://www.hackerrank.com/challenges/ticket) | Expert | Coming Soon! | +| Greedy | [Grid Challenge](https://www.hackerrank.com/challenges/grid-challenge) | Easy | Coming Soon! | +| Greedy | [Luck Balance](https://www.hackerrank.com/challenges/luck-balance) | Easy | Coming Soon! | +| Greedy | [Maximum Perimeter Triangle](https://www.hackerrank.com/challenges/maximum-perimeter-triangle) | Easy | Coming Soon! | +| Greedy | [Beautiful Pairs](https://www.hackerrank.com/challenges/beautiful-pairs) | Easy | Coming Soon! | +| Greedy | [Sherlock and The Beast](https://www.hackerrank.com/challenges/sherlock-and-the-beast) | Easy | Coming Soon! | +| Greedy | [Priyanka and Toys](https://www.hackerrank.com/challenges/priyanka-and-toys) | Easy | Coming Soon! | +| Greedy | [Largest Permutation](https://www.hackerrank.com/challenges/largest-permutation) | Easy | Coming Soon! | +| Greedy | [Mark and Toys](https://www.hackerrank.com/challenges/mark-and-toys) | Easy | Coming Soon! | +| Greedy | [Greedy Florist](https://www.hackerrank.com/challenges/greedy-florist) | Medium | Coming Soon! | +| Greedy | [Max Min](https://www.hackerrank.com/challenges/angry-children) | Medium | Coming Soon! | +| Greedy | [Jim and the Orders](https://www.hackerrank.com/challenges/jim-and-the-orders) | Easy | Coming Soon! | +| Greedy | [Permuting Two Arrays](https://www.hackerrank.com/challenges/two-arrays) | Easy | Coming Soon! | +| Greedy | [Cutting Boards](https://www.hackerrank.com/challenges/board-cutting) | Hard | Coming Soon! | +| Greedy | [Reverse Shuffle Merge](https://www.hackerrank.com/challenges/reverse-shuffle-merge) | Advanced | Coming Soon! | +| Greedy | [Goodland Electricity](https://www.hackerrank.com/challenges/pylons) | Medium | Coming Soon! | +| Greedy | [Chief Hopper](https://www.hackerrank.com/challenges/chief-hopper) | Hard | Coming Soon! | +| Greedy | [Sherlock and MiniMax](https://www.hackerrank.com/challenges/sherlock-and-minimax) | Hard | Coming Soon! | +| Greedy | [Accessory Collection](https://www.hackerrank.com/challenges/accessory-collection) | Hard | Coming Soon! | +| Greedy | [Team Formation](https://www.hackerrank.com/challenges/team-formation) | Advanced | Coming Soon! | +| Greedy | [Fighting Pits](https://www.hackerrank.com/challenges/fighting-pits) | Hard | Coming Soon! | +| Dynamic Programming | [The Coin Change Problem](https://www.hackerrank.com/challenges/coin-change) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Dynamic%20Programming/The%20Coin%20Change%20Problem/Solution.java) | +| Dynamic Programming | [Equal](https://www.hackerrank.com/challenges/equal) | Medium | Coming Soon! | +| Dynamic Programming | [Sherlock and Cost](https://www.hackerrank.com/challenges/sherlock-and-cost) | Medium | Coming Soon! | +| Dynamic Programming | [Vertical Sticks](https://www.hackerrank.com/challenges/vertical-sticks) | Medium | Coming Soon! | +| Dynamic Programming | [Candies](https://www.hackerrank.com/challenges/candies) | Medium | Coming Soon! | +| Dynamic Programming | [Angry Children 2](https://www.hackerrank.com/challenges/angry-children-2) | Hard | Coming Soon! | +| Dynamic Programming | [Sam and sub-strings](https://www.hackerrank.com/challenges/sam-and-substrings) | Medium | Coming Soon! | +| Dynamic Programming | [Fibonacci Modified](https://www.hackerrank.com/challenges/fibonacci-modified) | Medium | Coming Soon! | +| Dynamic Programming | [Abbreviation](https://www.hackerrank.com/challenges/abbr) | Medium | Coming Soon! | +| Dynamic Programming | [The Maximum Subarray](https://www.hackerrank.com/challenges/maxsubarray) | Medium | Coming Soon! | +| Dynamic Programming | [Fair Cut](https://www.hackerrank.com/challenges/fair-cut) | Medium | Coming Soon! | +| Dynamic Programming | [HackerRank City](https://www.hackerrank.com/challenges/hr-city) | Medium | Coming Soon! | +| Dynamic Programming | [Summing Pieces](https://www.hackerrank.com/challenges/summing-pieces) | Medium | Coming Soon! | +| Dynamic Programming | [Mr K marsh](https://www.hackerrank.com/challenges/mr-k-marsh) | Medium | Coming Soon! | +| Dynamic Programming | [Substring Diff](https://www.hackerrank.com/challenges/substring-diff) | Medium | Coming Soon! | +| Dynamic Programming | [Xor and Sum](https://www.hackerrank.com/challenges/xor-and-sum) | Medium | Coming Soon! | +| Dynamic Programming | [Lego Blocks](https://www.hackerrank.com/challenges/lego-blocks) | Medium | Coming Soon! | +| Dynamic Programming | [Brick Tiling](https://www.hackerrank.com/challenges/brick-tiling) | Hard | Coming Soon! | +| Dynamic Programming | [Alien Languages](https://www.hackerrank.com/challenges/alien-languages) | Hard | Coming Soon! | +| Dynamic Programming | [Stock Maximize](https://www.hackerrank.com/challenges/stockmax) | Medium | Coming Soon! | +| Dynamic Programming | [Two Robots](https://www.hackerrank.com/challenges/two-robots) | Medium | Coming Soon! | +| Dynamic Programming | [Cut Tree](https://www.hackerrank.com/challenges/cuttree) | Medium | Coming Soon! | +| Dynamic Programming | [Wet Shark and Two Subsequences](https://www.hackerrank.com/challenges/wet-shark-and-two-subsequences) | Medium | Coming Soon! | +| Dynamic Programming | [Nikita and the Game](https://www.hackerrank.com/challenges/array-splitting) | Medium | Coming Soon! | +| Dynamic Programming | [Mandragora Forest](https://www.hackerrank.com/challenges/mandragora) | Medium | Coming Soon! | +| Dynamic Programming | [Red John is Back](https://www.hackerrank.com/challenges/red-john-is-back) | Medium | Coming Soon! | +| Dynamic Programming | [LCS Returns](https://www.hackerrank.com/challenges/tutzki-and-lcs) | Medium | Coming Soon! | +| Dynamic Programming | [Grid Walking](https://www.hackerrank.com/challenges/grid-walking) | Medium | Coming Soon! | +| Dynamic Programming | [Knapsack](https://www.hackerrank.com/challenges/unbounded-knapsack) | Medium | Coming Soon! | +| Dynamic Programming | [Bricks Game](https://www.hackerrank.com/challenges/play-game) | Medium | Coming Soon! | +| Dynamic Programming | [The Longest Increasing Subsequence](https://www.hackerrank.com/challenges/longest-increasing-subsequent) | Advanced | Coming Soon! | +| Dynamic Programming | [Coin on the Table](https://www.hackerrank.com/challenges/coin-on-the-table) | Medium | Coming Soon! | +| Dynamic Programming | [The Longest Common Subsequence](https://www.hackerrank.com/challenges/dynamic-programming-classics-the-longest-common-subsequence) | Medium | Coming Soon! | +| Dynamic Programming | [Play with words](https://www.hackerrank.com/challenges/strplay) | Medium | Coming Soon! | +| Dynamic Programming | [Black and White Tree](https://www.hackerrank.com/challenges/black-n-white-tree-1) | Hard | Coming Soon! | +| Dynamic Programming | [Counting Special Sub-Cubes](https://www.hackerrank.com/challenges/counting-special-sub-cubes) | Medium | Coming Soon! | +| Dynamic Programming | [Interval Selection](https://www.hackerrank.com/challenges/interval-selection) | Medium | Coming Soon! | +| Dynamic Programming | [String Reduction](https://www.hackerrank.com/challenges/string-reduction) | Hard | Coming Soon! | +| Dynamic Programming | [Far Vertices](https://www.hackerrank.com/challenges/far-vertices) | Hard | Coming Soon! | +| Dynamic Programming | [Superman Celebrates Diwali](https://www.hackerrank.com/challenges/superman-celebrates-diwali) | Hard | Coming Soon! | +| Dynamic Programming | [Hexagonal Grid](https://www.hackerrank.com/challenges/hexagonal-grid) | Medium | Coming Soon! | +| Dynamic Programming | [Queens on Board](https://www.hackerrank.com/challenges/queens-on-board) | Hard | Coming Soon! | +| Dynamic Programming | [Shashank and the Palindromic Strings](https://www.hackerrank.com/challenges/shashank-and-palindromic-strings) | Advanced | Coming Soon! | +| Dynamic Programming | [Points in a Plane](https://www.hackerrank.com/challenges/points-in-a-plane) | Advanced | Coming Soon! | +| Dynamic Programming | [The Indian Job](https://www.hackerrank.com/challenges/the-indian-job) | Medium | Coming Soon! | +| Dynamic Programming | [Requirement](https://www.hackerrank.com/challenges/requirement) | Advanced | Coming Soon! | +| Dynamic Programming | [A Super Hero](https://www.hackerrank.com/challenges/a-super-hero) | Hard | Coming Soon! | +| Dynamic Programming | [Clues on a Binary Path](https://www.hackerrank.com/challenges/clues-on-a-binary-path) | Hard | Coming Soon! | +| Dynamic Programming | [Road Maintenance](https://www.hackerrank.com/challenges/road-maintenance) | Hard | Coming Soon! | +| Dynamic Programming | [Billboards](https://www.hackerrank.com/challenges/billboards) | Advanced | Coming Soon! | +| Dynamic Programming | [Beautiful Strings](https://www.hackerrank.com/challenges/beautiful-string) | Hard | Coming Soon! | +| Dynamic Programming | [Covering the stains](https://www.hackerrank.com/challenges/covering-the-stains) | Hard | Coming Soon! | +| Dynamic Programming | [Fairy Chess](https://www.hackerrank.com/challenges/fairy-chess) | Advanced | Coming Soon! | +| Dynamic Programming | [Travel around the world](https://www.hackerrank.com/challenges/travel-around-the-world) | Medium | Coming Soon! | +| Dynamic Programming | [New Year Present](https://www.hackerrank.com/challenges/newyear-present) | Hard | Coming Soon! | +| Dynamic Programming | [Longest Palindromic Subsequence](https://www.hackerrank.com/challenges/longest-palindromic-subsequence) | Hard | Coming Soon! | +| Dynamic Programming | [Candles Counting](https://www.hackerrank.com/challenges/candles-2) | Medium | Coming Soon! | +| Dynamic Programming | [Hyper Strings](https://www.hackerrank.com/challenges/hyper-strings) | Advanced | Coming Soon! | +| Dynamic Programming | [Swap Permutation](https://www.hackerrank.com/challenges/swappermutation) | Medium | Coming Soon! | +| Dynamic Programming | [Extremum Permutations](https://www.hackerrank.com/challenges/extremum-permutations) | Medium | Coming Soon! | +| Dynamic Programming | [Square Subsequences](https://www.hackerrank.com/challenges/square-subsequences) | Hard | Coming Soon! | +| Dynamic Programming | [Dorsey Thief](https://www.hackerrank.com/challenges/dorsey-thief) | Advanced | Coming Soon! | +| Dynamic Programming | [Mining](https://www.hackerrank.com/challenges/mining) | Advanced | Coming Soon! | +| Dynamic Programming | [Police Operation](https://www.hackerrank.com/challenges/police-operation) | Hard | Coming Soon! | +| Dynamic Programming | [Zurikela's Graph](https://www.hackerrank.com/challenges/zurikela) | Hard | Coming Soon! | +| Dynamic Programming | [Modify The Sequence](https://www.hackerrank.com/challenges/modify-the-sequence) | Advanced | Coming Soon! | +| Dynamic Programming | [Longest Mod Path](https://www.hackerrank.com/challenges/longest-mod-path) | Hard | Coming Soon! | +| Dynamic Programming | [P-sequences](https://www.hackerrank.com/challenges/p-sequences) | Hard | Coming Soon! | +| Dynamic Programming | [Robot](https://www.hackerrank.com/challenges/robot) | Advanced | Coming Soon! | +| Dynamic Programming | [Lucky Numbers](https://www.hackerrank.com/challenges/lucky-numbers) | Expert | Coming Soon! | +| Dynamic Programming | [Unfair Game](https://www.hackerrank.com/challenges/unfair-game) | Advanced | Coming Soon! | +| Dynamic Programming | [Oil Well](https://www.hackerrank.com/challenges/oil-well) | Hard | Coming Soon! | +| Dynamic Programming | [Find the Seed](https://www.hackerrank.com/challenges/find-the-seed) | Advanced | Coming Soon! | +| Dynamic Programming | [The Blacklist](https://www.hackerrank.com/challenges/the-blacklist) | Advanced | Coming Soon! | +| Dynamic Programming | [Tree Pruning](https://www.hackerrank.com/challenges/tree-pruning) | Advanced | Coming Soon! | +| Dynamic Programming | [Ones and Twos](https://www.hackerrank.com/challenges/ones-and-twos) | Hard | Coming Soon! | +| Dynamic Programming | [Count Scorecards](https://www.hackerrank.com/challenges/count-scorecards) | Expert | Coming Soon! | +| Dynamic Programming | [Vim War](https://www.hackerrank.com/challenges/vim-war) | Advanced | Coming Soon! | +| Dynamic Programming | [Best spot](https://www.hackerrank.com/challenges/best-spot) | Advanced | Coming Soon! | +| Dynamic Programming | [Divisible Numbers](https://www.hackerrank.com/challenges/divisible-numbers) | Expert | Coming Soon! | +| Dynamic Programming | [Unique Divide And Conquer](https://www.hackerrank.com/challenges/unique-divide-and-conquer) | Advanced | Coming Soon! | +| Dynamic Programming | [King and Four Sons](https://www.hackerrank.com/challenges/happy-king) | Expert | Coming Soon! | +| Dynamic Programming | [Dortmund Dilemma](https://www.hackerrank.com/challenges/dortmund-dilemma) | Advanced | Coming Soon! | +| Dynamic Programming | [Super Kth LIS](https://www.hackerrank.com/challenges/super-kth-lis) | Advanced | Coming Soon! | +| Dynamic Programming | [Counting the Ways](https://www.hackerrank.com/challenges/count-ways-1) | Expert | Coming Soon! | +| Dynamic Programming | [Hard Disk Drives](https://www.hackerrank.com/challenges/hard-drive-disks) | Expert | Coming Soon! | +| Dynamic Programming | [Separate the chocolate](https://www.hackerrank.com/challenges/separate-the-chocolate) | Expert | Coming Soon! | +| Constructive Algorithms | [Flipping the Matrix](https://www.hackerrank.com/challenges/flipping-the-matrix) | Medium | Coming Soon! | +| Constructive Algorithms | [New Year Chaos](https://www.hackerrank.com/challenges/new-year-chaos) | Medium | Coming Soon! | +| Constructive Algorithms | [Bonetrousle](https://www.hackerrank.com/challenges/bonetrousle) | Medium | Coming Soon! | +| Constructive Algorithms | [Yet Another KMP Problem](https://www.hackerrank.com/challenges/kmp-problem) | Hard | Coming Soon! | +| Constructive Algorithms | [Beautiful 3 Set](https://www.hackerrank.com/challenges/beautiful-3-set) | Hard | Coming Soon! | +| Constructive Algorithms | [Inverse RMQ](https://www.hackerrank.com/challenges/inverse-rmq) | Hard | Coming Soon! | +| Constructive Algorithms | [Lovely Triplets](https://www.hackerrank.com/challenges/lovely-triplets) | Advanced | Coming Soon! | +| Constructive Algorithms | [Array Construction](https://www.hackerrank.com/challenges/array-construction) | Advanced | Coming Soon! | +| Bit Manipulation | [Lonely Integer](https://www.hackerrank.com/challenges/lonely-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Algorithms/Bit%20Manipulation/Lonely%20Integer/Solution.java) | +| Bit Manipulation | [Maximizing XOR](https://www.hackerrank.com/challenges/maximizing-xor) | Easy | Coming Soon! | +| Bit Manipulation | [Counter game](https://www.hackerrank.com/challenges/counter-game) | Medium | Coming Soon! | +| Bit Manipulation | [Xor-sequence](https://www.hackerrank.com/challenges/xor-se) | Medium | Coming Soon! | +| Bit Manipulation | [Sum vs XOR](https://www.hackerrank.com/challenges/sum-vs-xor) | Easy | Coming Soon! | +| Bit Manipulation | [Flipping bits](https://www.hackerrank.com/challenges/flipping-bits) | Easy | Coming Soon! | +| Bit Manipulation | [Yet Another Minimax Problem](https://www.hackerrank.com/challenges/yet-another-minimax-problem) | Medium | Coming Soon! | +| Bit Manipulation | [Sansa and XOR](https://www.hackerrank.com/challenges/sansa-and-xor) | Medium | Coming Soon! | +| Bit Manipulation | [AND Product](https://www.hackerrank.com/challenges/and-product) | Medium | Coming Soon! | +| Bit Manipulation | [Xoring Ninja](https://www.hackerrank.com/challenges/xoring-ninja) | Hard | Coming Soon! | +| Bit Manipulation | [Cipher](https://www.hackerrank.com/challenges/cipher) | Medium | Coming Soon! | +| Bit Manipulation | [XOR Matrix](https://www.hackerrank.com/challenges/xor-matrix) | Hard | Coming Soon! | +| Bit Manipulation | [What's Next](https://www.hackerrank.com/challenges/whats-next) | Medium | Coming Soon! | +| Bit Manipulation | [String Transmission](https://www.hackerrank.com/challenges/string-transmission) | Hard | Coming Soon! | +| Bit Manipulation | [A or B](https://www.hackerrank.com/challenges/aorb) | Medium | Coming Soon! | +| Bit Manipulation | [Manipulative Numbers](https://www.hackerrank.com/challenges/manipulative-numbers) | Hard | Coming Soon! | +| Bit Manipulation | [Stone game](https://www.hackerrank.com/challenges/stonegame) | Hard | Coming Soon! | +| Bit Manipulation | [2's complement](https://www.hackerrank.com/challenges/2s-complement) | Advanced | Coming Soon! | +| Bit Manipulation | [Changing Bits](https://www.hackerrank.com/challenges/changing-bits) | Advanced | Coming Soon! | +| Bit Manipulation | [XOR key](https://www.hackerrank.com/challenges/xor-key) | Advanced | Coming Soon! | +| Bit Manipulation | [Maximizing the Function](https://www.hackerrank.com/challenges/maximizing-the-function) | Hard | Coming Soon! | +| Bit Manipulation | [XOR Subsequences](https://www.hackerrank.com/challenges/xor-subsequence) | Advanced | Coming Soon! | +| Bit Manipulation | [Iterate It](https://www.hackerrank.com/challenges/iterate-it) | Expert | Coming Soon! | +| Bit Manipulation | [Hamming Distance](https://www.hackerrank.com/challenges/hamming-distance) | Expert | Coming Soon! | +| Bit Manipulation | [Mixing proteins](https://www.hackerrank.com/challenges/pmix) | Hard | Coming Soon! | +| Recursion | [Simplified Chess Engine](https://www.hackerrank.com/challenges/simplified-chess-engine) | Medium | Coming Soon! | +| Recursion | [Repetitive K-Sums](https://www.hackerrank.com/challenges/repeat-k-sums) | Advanced | Coming Soon! | +| Game Theory | [Game of Stones](https://www.hackerrank.com/challenges/game-of-stones-1) | Easy | Coming Soon! | +| Game Theory | [Tower Breakers](https://www.hackerrank.com/challenges/tower-breakers-1) | Easy | Coming Soon! | +| Game Theory | [A Chessboard Game](https://www.hackerrank.com/challenges/a-chessboard-game-1) | Easy | Coming Soon! | +| Game Theory | [Introduction to Nim Game](https://www.hackerrank.com/challenges/nim-game-1) | Easy | Coming Soon! | +| Game Theory | [Misere Nim](https://www.hackerrank.com/challenges/misere-nim-1) | Easy | Coming Soon! | +| Game Theory | [Nimble Game](https://www.hackerrank.com/challenges/nimble-game-1) | Easy | Coming Soon! | +| Game Theory | [Poker Nim](https://www.hackerrank.com/challenges/poker-nim-1) | Easy | Coming Soon! | +| Game Theory | [Tower Breakers, Revisited!](https://www.hackerrank.com/challenges/tower-breakers-revisited-1) | Medium | Coming Soon! | +| Game Theory | [Tower Breakers, Again!](https://www.hackerrank.com/challenges/tower-breakers-again-1) | Medium | Coming Soon! | +| Game Theory | [Chessboard Game, Again!](https://www.hackerrank.com/challenges/chessboard-game-again-1) | Medium | Coming Soon! | +| Game Theory | [Digits Square Board](https://www.hackerrank.com/challenges/digits-square-board-1) | Medium | Coming Soon! | +| Game Theory | [Fun Game](https://www.hackerrank.com/challenges/fun-game-1) | Medium | Coming Soon! | +| Game Theory | [Stone Division](https://www.hackerrank.com/challenges/stone-division) | Hard | Coming Soon! | +| Game Theory | [Chocolate in Box](https://www.hackerrank.com/challenges/chocolate-in-box) | Medium | Coming Soon! | +| Game Theory | [Kitty and Katty](https://www.hackerrank.com/challenges/kitty-and-katty) | Medium | Coming Soon! | +| Game Theory | [Powers Game](https://www.hackerrank.com/challenges/powers-game-1) | Medium | Coming Soon! | +| Game Theory | [Deforestation](https://www.hackerrank.com/challenges/deforestation-1) | Medium | Coming Soon! | +| Game Theory | [Bob and Ben](https://www.hackerrank.com/challenges/bob-and-ben) | Medium | Coming Soon! | +| Game Theory | [Tower Breakers - The Final Battle](https://www.hackerrank.com/challenges/tower-breakers-the-final-battle-1) | Medium | Coming Soon! | +| Game Theory | [Simple Game](https://www.hackerrank.com/challenges/simple-game) | Hard | Coming Soon! | +| Game Theory | [Permutation game](https://www.hackerrank.com/challenges/permutation-game) | Medium | Coming Soon! | +| Game Theory | [Move the Coins](https://www.hackerrank.com/challenges/move-the-coins) | Hard | Coming Soon! | +| Game Theory | [Play on benders](https://www.hackerrank.com/challenges/benders-play) | Medium | Coming Soon! | +| Game Theory | [New Year Game](https://www.hackerrank.com/challenges/newyear-game) | Medium | Coming Soon! | +| Game Theory | [Stone Piles](https://www.hackerrank.com/challenges/stone-piles) | Hard | Coming Soon! | +| Game Theory | [Chocolate Game](https://www.hackerrank.com/challenges/chocolate-game) | Hard | Coming Soon! | +| Game Theory | [Manasa and Prime game](https://www.hackerrank.com/challenges/manasa-and-prime-game) | Hard | Coming Soon! | +| Game Theory | [Vertical Rooks](https://www.hackerrank.com/challenges/vertical-rooks) | Medium | Coming Soon! | +| Game Theory | [A stones game](https://www.hackerrank.com/challenges/half) | Medium | Coming Soon! | +| NP Complete | [Walking the Approximate Longest Path](https://www.hackerrank.com/challenges/walking-the-approximate-longest-path) | Hard | Coming Soon! | +| NP Complete | [Spies, Revisited](https://www.hackerrank.com/challenges/spies-revised) | Expert | Coming Soon! | +| NP Complete | [TBS Problem](https://www.hackerrank.com/challenges/tbsp) | Expert | Coming Soon! | ## Cracking the Coding Interview -| Domain | Subdomain | Topic | Challenge | Difficulty | Solution | -|:---------:|:-----------------------------:|:---------------------:|:--------------------------------------------------------------------------------------------------------:|:----------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Tutorials | Cracking the Coding Interview | Data Structures | [Arrays: Left Rotation](https://www.hackerrank.com/challenges/ctci-array-left-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Arrays%20-%20Left%20Rotation/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Strings: Making Anagrams](https://www.hackerrank.com/challenges/ctci-making-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Strings%20-%20Making%20Anagrams/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Hash Tables: Ransom Note](https://www.hackerrank.com/challenges/ctci-ransom-note) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Hash%20Tables%20-%20Ransom%20Note/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Linked Lists: Detect a Cycle](https://www.hackerrank.com/challenges/ctci-linked-list-cycle) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Linked%20Lists%20-%20Detect%20a%20Cycle/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Stacks: Balanced Brackets](https://www.hackerrank.com/challenges/ctci-balanced-brackets) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Stacks%20-%20Balanced%20Brackets/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Queues: A Tale of Two Stacks](https://www.hackerrank.com/challenges/ctci-queue-using-two-stacks) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Queue%20-%20A%20Tale%20of%20Two%20Stacks/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Trees: Is This a Binary Search Tree?](https://www.hackerrank.com/challenges/ctci-is-binary-search-tree) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Trees%20-%20Is%20This%20a%20Binary%20Search%20Tree/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Heaps: Find the Running Median](https://www.hackerrank.com/challenges/ctci-find-the-running-median) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Heaps%20-%20Find%20the%20Running%20Median/Solution.java) | -| Tutorials | Cracking the Coding Interview | Data Structures | [Tries: Contacts](https://www.hackerrank.com/challenges/ctci-contacts) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Tries%20-%20Contacts/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [Sorting: Bubble Sort](https://www.hackerrank.com/challenges/ctci-bubble-sort) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Sorting%20-%20Bubble%20Sort/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [Sorting: Comparator](https://www.hackerrank.com/challenges/ctci-comparator-sorting) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Sorting%20-%20Comparator/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [Merge Sort: Counting Inversions](https://www.hackerrank.com/challenges/ctci-merge-sort) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Merge%20Sort%20-%20Counting%20Inversions/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [Binary Search: Ice Cream Parlor](https://www.hackerrank.com/challenges/ctci-ice-cream-parlor) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Binary%20Search%20-%20Ice%20Cream%20Parlor/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [DFS: Connected Cell in a Grid](https://www.hackerrank.com/challenges/ctci-connected-cell-in-a-grid) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/DFS%20-%20Connected%20Cell%20in%20a%20Grid/Solution.java) | -| Tutorials | Cracking the Coding Interview | Algorithms | [BFS: Shortest Reach in a Graph](https://www.hackerrank.com/challenges/ctci-bfs-shortest-reach) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/BFS%20-%20Shortest%20Reach%20in%20a%20Graph/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [Time Complexity: Primality](https://www.hackerrank.com/challenges/ctci-big-o) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Time%20Complexity%20-%20Primality/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [Recrusion: Fibonacci Numbers](https://www.hackerrank.com/challenges/ctci-fibonacci-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Recursion%20-%20Fibonacci%20Numbers/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [Recursion: Davis' Staircase](https://www.hackerrank.com/challenges/ctci-recursive-staircase) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Recursion%20-%20Davis'%20Staircase/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [DP: Coin Change](https://www.hackerrank.com/challenges/ctci-coin-change) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/DP%20-%20Coin%20Change/Solution.java) | -| Tutorials | Cracking the Coding Interview | Techniques / Concepts | [Bit Manipulation: Lonely Integer](https://www.hackerrank.com/challenges/ctci-lonely-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Bit%20Manipulation%20-%20Lonely%20Integer/Solution.java) | +| Topic | Challenge | Difficulty | Solution | +|:---------------------:|:--------------------------------------------------------------------------------------------------------:|:----------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Data Structures | [Arrays: Left Rotation](https://www.hackerrank.com/challenges/ctci-array-left-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Arrays%20-%20Left%20Rotation/Solution.java) | +| Data Structures | [Strings: Making Anagrams](https://www.hackerrank.com/challenges/ctci-making-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Strings%20-%20Making%20Anagrams/Solution.java) | +| Data Structures | [Hash Tables: Ransom Note](https://www.hackerrank.com/challenges/ctci-ransom-note) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Hash%20Tables%20-%20Ransom%20Note/Solution.java) | +| Data Structures | [Linked Lists: Detect a Cycle](https://www.hackerrank.com/challenges/ctci-linked-list-cycle) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Linked%20Lists%20-%20Detect%20a%20Cycle/Solution.java) | +| Data Structures | [Stacks: Balanced Brackets](https://www.hackerrank.com/challenges/ctci-balanced-brackets) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Stacks%20-%20Balanced%20Brackets/Solution.java) | +| Data Structures | [Queues: A Tale of Two Stacks](https://www.hackerrank.com/challenges/ctci-queue-using-two-stacks) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Queue%20-%20A%20Tale%20of%20Two%20Stacks/Solution.java) | +| Data Structures | [Trees: Is This a Binary Search Tree?](https://www.hackerrank.com/challenges/ctci-is-binary-search-tree) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Trees%20-%20Is%20This%20a%20Binary%20Search%20Tree/Solution.java) | +| Data Structures | [Heaps: Find the Running Median](https://www.hackerrank.com/challenges/ctci-find-the-running-median) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Heaps%20-%20Find%20the%20Running%20Median/Solution.java) | +| Data Structures | [Tries: Contacts](https://www.hackerrank.com/challenges/ctci-contacts) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Data%20Structures/Tries%20-%20Contacts/Solution.java) | +| Algorithms | [Sorting: Bubble Sort](https://www.hackerrank.com/challenges/ctci-bubble-sort) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Sorting%20-%20Bubble%20Sort/Solution.java) | +| Algorithms | [Sorting: Comparator](https://www.hackerrank.com/challenges/ctci-comparator-sorting) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Sorting%20-%20Comparator/Solution.java) | +| Algorithms | [Merge Sort: Counting Inversions](https://www.hackerrank.com/challenges/ctci-merge-sort) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Merge%20Sort%20-%20Counting%20Inversions/Solution.java) | +| Algorithms | [Binary Search: Ice Cream Parlor](https://www.hackerrank.com/challenges/ctci-ice-cream-parlor) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/Binary%20Search%20-%20Ice%20Cream%20Parlor/Solution.java) | +| Algorithms | [DFS: Connected Cell in a Grid](https://www.hackerrank.com/challenges/ctci-connected-cell-in-a-grid) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/DFS%20-%20Connected%20Cell%20in%20a%20Grid/Solution.java) | +| Algorithms | [BFS: Shortest Reach in a Graph](https://www.hackerrank.com/challenges/ctci-bfs-shortest-reach) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Algorithms/BFS%20-%20Shortest%20Reach%20in%20a%20Graph/Solution.java) | +| Techniques / Concepts | [Time Complexity: Primality](https://www.hackerrank.com/challenges/ctci-big-o) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Time%20Complexity%20-%20Primality/Solution.java) | +| Techniques / Concepts | [Recrusion: Fibonacci Numbers](https://www.hackerrank.com/challenges/ctci-fibonacci-numbers) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Recursion%20-%20Fibonacci%20Numbers/Solution.java) | +| Techniques / Concepts | [Recursion: Davis' Staircase](https://www.hackerrank.com/challenges/ctci-recursive-staircase) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Recursion%20-%20Davis'%20Staircase/Solution.java) | +| Techniques / Concepts | [DP: Coin Change](https://www.hackerrank.com/challenges/ctci-coin-change) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/DP%20-%20Coin%20Change/Solution.java) | +| Techniques / Concepts | [Bit Manipulation: Lonely Integer](https://www.hackerrank.com/challenges/ctci-lonely-integer) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Cracking%20the%20Coding%20Interview/Techniques%2C%20Concepts/Bit%20Manipulation%20-%20Lonely%20Integer/Solution.java) | ## Data Structures -| Domain | Subdomain | Challenge | Difficulty | Solution | -|:---------------:|:---------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Data Structures | Arrays | [Arrays - DS](https://www.hackerrank.com/challenges/arrays-ds) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Arrays%20-%20DS/Solution.java) | -| Data Structures | Arrays | [2D Array - DS](https://www.hackerrank.com/challenges/2d-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/2D%20Array%20-%20DS/Solution.java) | -| Data Structures | Arrays | [Dynamic Array](https://www.hackerrank.com/challenges/dynamic-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Dynamic%20Array/Solution.java) | -| Data Structures | Arrays | [Left Rotation](https://www.hackerrank.com/challenges/array-left-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Left%20Rotation/Solution.java) | -| Data Structures | Arrays | [Sparse Arrays](https://www.hackerrank.com/challenges/sparse-arrays) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Sparse%20Arrays/Solution.java) | -| Data Structures | Arrays | [Algorithmic Crush](https://www.hackerrank.com/challenges/crush) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Algorithmic%20Crush/Solution.java) | -| Data Structures | Linked List | [Print the Elements of a Linked List](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Print%20the%20Elements%20of%20a%20Linked%20List/Solution.java) | -| Data Structures | Linked List | [Insert a Node at the Tail of a Linked List](https://www.hackerrank.com/challenges/insert-a-node-at-the-tail-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20Node%20at%20the%20Tail%20of%20a%20Linked%20List/Solution.java) | -| Data Structures | Linked List | [Insert a node at the head of a linked list](https://www.hackerrank.com/challenges/insert-a-node-at-the-head-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20node%20at%20the%20head%20of%20a%20linked%20list/Solution.java) | -| Data Structures | Linked List | [Insert a node at a specific position in a linked list](https://www.hackerrank.com/challenges/insert-a-node-at-a-specific-position-in-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20node%20at%20a%20specific%20position%20in%20a%20linked%20list/Solution.java) | -| Data Structures | Linked List | [Delete a Node](https://www.hackerrank.com/challenges/delete-a-node-from-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Delete%20a%20Node/Solution.java) | -| Data Structures | Linked List | [Print in Reverse](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Print%20in%20Reverse/Solution.java) | -| Data Structures | Linked List | [Reverse a linked list](https://www.hackerrank.com/challenges/reverse-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Reverse%20a%20linked%20list/Solution.java) | -| Data Structures | Linked List | [Compare two linked lists](https://www.hackerrank.com/challenges/compare-two-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Compare%20two%20linked%20lists/Solution.java) | -| Data Structures | Linked List | [Merge two sorted linked lists](https://www.hackerrank.com/challenges/merge-two-sorted-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Merge%20two%20sorted%20linked%20lists/Solution.java) | -| Data Structures | Linked List | [Get Node Value](https://www.hackerrank.com/challenges/get-the-value-of-the-node-at-a-specific-position-from-the-tail) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Get%20Node%20Value/Solution.java) | -| Data Structures | Linked List | [Delete duplicate-value nodes from a sorted linked list](https://www.hackerrank.com/challenges/delete-duplicate-value-nodes-from-a-sorted-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Delete%20duplicate-value%20nodes%20from%20a%20sorted%20linked%20list/Solution.java) | -| Data Structures | Linked List | [Cycle Detection](https://www.hackerrank.com/challenges/detect-whether-a-linked-list-contains-a-cycle) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Cycle%20Detection/Solution.java) | -| Data Structures | Linked List | [Find Merge Point of Two Lists](https://www.hackerrank.com/challenges/find-the-merge-point-of-two-joined-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Find%20Merge%20Point%20of%20Two%20Lists/Solution.java) | -| Data Structures | Linked List | [Inserting a Node Into a Sorted Doubly Linked List](https://www.hackerrank.com/challenges/insert-a-node-into-a-sorted-doubly-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Inserting%20a%20Node%20Into%20a%20Sorted%20Doubly%20Linked%20List/Solution.java) | -| Data Structures | Linked List | [Reverse a doubly linked list](https://www.hackerrank.com/challenges/reverse-a-doubly-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Reverse%20a%20doubly%20linked%20list/Solution.java) | -| Data Structures | Trees | [Tree: Preorder Traversal](https://www.hackerrank.com/challenges/tree-preorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Preorder%20Traversal/Solution.java) | -| Data Structures | Trees | [Tree: Postorder Traversal](https://www.hackerrank.com/challenges/tree-postorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Postorder%20Traversal/Solution.java) | -| Data Structures | Trees | [Tree: Inorder Traversal](https://www.hackerrank.com/challenges/tree-inorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Inorder%20Traversal/Solution.java) | -| Data Structures | Trees | [Tree: Height of a Binary Tree](https://www.hackerrank.com/challenges/tree-height-of-a-binary-tree) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Height%20of%20a%20Binary%20Tree/Solution.java) | -| Data Structures | Trees | [Tree: Top View](https://www.hackerrank.com/challenges/tree-top-view) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Top%20View/Solution.java) | -| Data Structures | Trees | [Tree: Level Order Traversal](https://www.hackerrank.com/challenges/tree-level-order-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Level%20Order%20Traversal/Solution.java) | -| Data Structures | Trees | [Binary Search Tree: Insertion](https://www.hackerrank.com/challenges/binary-search-tree-insertion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Binary%20Search%20Tree%20-%20Insertion/Solution.java) | -| Data Structures | Trees | [Tree: Huffman Decoding](https://www.hackerrank.com/challenges/tree-huffman-decoding) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Huffman%20Decoding/Solution.java) | -| Data Structures | Trees | [Binary Search Tree: Lowest Common Ancestor](https://www.hackerrank.com/challenges/binary-search-tree-lowest-common-ancestor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Binary%20Search%20Tree%20-%20Lowest%20Common%20Ancestor/Solution.java) | -| Data Structures | Trees | [Swap Nodes [Algo]](https://www.hackerrank.com/challenges/swap-nodes-algo) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Swap%20Nodes%20%5BAlgo%5D/Solution.java) | -| Data Structures | Trees | [Is This a Binary Search Tree?](https://www.hackerrank.com/challenges/is-binary-search-tree) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Is%20This%20a%20Binary%20Search%20Tree/Solution.java) | -| Data Structures | Trees | [Square-Ten Tree](https://www.hackerrank.com/challenges/square-ten-tree) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Square-Ten%20Tree/Solution.java) | -| Data Structures | Trees | [Balanced Forest](https://www.hackerrank.com/challenges/balanced-forest) | Hard | Coming Soon! | -| Data Structures | Balanced Trees | [Self Balancing Tree](https://www.hackerrank.com/challenges/self-balancing-tree) | Medium | Coming Soon! | -| Data Structures | Balanced Trees | [Array and simple queries](https://www.hackerrank.com/challenges/array-and-simple-queries) | Hard | Coming Soon! | -| Data Structures | Balanced Trees | [Median Updates](https://www.hackerrank.com/challenges/median) | Hard | Coming Soon! | -| Data Structures | Stacks | [Maximum Element](https://www.hackerrank.com/challenges/maximum-element) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Stacks/Maximum%20Element/Solution.java) | -| Data Structures | Stacks | [Balanced Brackets](https://www.hackerrank.com/challenges/balanced-brackets) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Stacks/Balanced%20Brackets/Solution.java) | -| Data Structures | Stacks | [Largest Rectangle](https://www.hackerrank.com/challenges/largest-rectangle) | Hard | Coming Soon! | -| Data Structures | Stacks | [Simple Text Editor](https://www.hackerrank.com/challenges/simple-text-editor) | Medium | Coming Soon! | -| Data Structures | Stacks | [Equal Stacks](https://www.hackerrank.com/challenges/equal-stacks) | Easy | Coming Soon! | -| Data Structures | Stacks | [Poisonous Plants](https://www.hackerrank.com/challenges/poisonous-plants) | Hard | Coming Soon! | -| Data Structures | Stacks | [AND xor OR](https://www.hackerrank.com/challenges/and-xor-or) | Hard | Coming Soon! | -| Data Structures | Stacks | [Waiter](https://www.hackerrank.com/challenges/waiter) | Medium | Coming Soon! | -| Data Structures | Queues | [Queue using Two Stacks](https://www.hackerrank.com/challenges/queue-using-two-stacks) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Queues/Queue%20using%20Two%20Stacks/Solution.java) | -| Data Structures | Queues | [Castle on the Grid](https://www.hackerrank.com/challenges/castle-on-the-grid) | Medium | Coming Soon! | -| Data Structures | Queues | [Down to Zero II](https://www.hackerrank.com/challenges/down-to-zero-ii) | Medium | Coming Soon! | -| Data Structures | Queues | [Truck Tour](https://www.hackerrank.com/challenges/truck-tour) | Hard | Coming Soon! | -| Data Structures | Queues | [Queries with Fixed Length](https://www.hackerrank.com/challenges/queries-with-fixed-length) | Hard | Coming Soon! | -| Data Structures | Heap | [QHEAP1](https://www.hackerrank.com/challenges/qheap1) | Easy | Coming Soon! | -| Data Structures | Heap | [Jesse and Cookies](https://www.hackerrank.com/challenges/jesse-and-cookies) | Easy | Coming Soon! | -| Data Structures | Heap | [Find the Running Median](https://www.hackerrank.com/challenges/find-the-running-median) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Heap/Find%20the%20Running%20Median/Solution.java) | -| Data Structures | Heap | [Minimum Average Waiting Time](https://www.hackerrank.com/challenges/minimum-average-waiting-time) | Hard | Coming Soon! | -| Data Structures | Disjoint Set | [Merging Communities](https://www.hackerrank.com/challenges/merging-communities) | Hard | Coming Soon! | -| Data Structures | Disjoint Set | [Components in a graph](https://www.hackerrank.com/challenges/components-in-graph) | Medium | Coming Soon! | -| Data Structures | Disjoint Set | [Kundu and Tree](https://www.hackerrank.com/challenges/kundu-and-tree) | Hard | Coming Soon! | -| Data Structures | Disjoint Set | [Super Maximum Cost Queries](https://www.hackerrank.com/challenges/maximum-cost-queries) | Hard | Coming Soon! | -| Data Structures | Multiple Choice | [Data Structures MCQ 1](https://www.hackerrank.com/challenges/how-well-do-you-know-trees) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%201/Solution.java) | -| Data Structures | Multiple Choice | [Data Structures MCQ 2](https://www.hackerrank.com/challenges/are-you-an-expert-on-data-structures) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%202/Solution.java) | -| Data Structures | Multiple Choice | [Data Structures MCQ 3](https://www.hackerrank.com/challenges/are-you-an-expert-on-data-structures-1) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%203/Solution.java) | -| Data Structures | Trie | [Contacts](https://www.hackerrank.com/challenges/contacts) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trie/Contacts/Solution.java) | -| Data Structures | Trie | [No Prefix Set](https://www.hackerrank.com/challenges/no-prefix-set) | Hard | Coming Soon! | -| Data Structures | Advanced | [Kindergarten Adventures](https://www.hackerrank.com/challenges/kindergarten-adventures) | Medium | Coming Soon! | -| Data Structures | Advanced | [Cube Summation](https://www.hackerrank.com/challenges/cube-summation) | Hard | Coming Soon! | -| Data Structures | Advanced | [Mr. X and His Shots](https://www.hackerrank.com/challenges/x-and-his-shots) | Medium | Coming Soon! | -| Data Structures | Advanced | [Direct Connections](https://www.hackerrank.com/challenges/direct-connections) | Hard | Coming Soon! | -| Data Structures | Advanced | [Subsequence Weighting](https://www.hackerrank.com/challenges/subsequence-weighting) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Jim and the Skyscrapers](https://www.hackerrank.com/challenges/jim-and-the-skyscrapers) | Medium | Coming Soon! | -| Data Structures | Advanced | [Counting On a Tree](https://www.hackerrank.com/challenges/counting-on-a-tree) | Expert | Coming Soon! | -| Data Structures | Advanced | [Unique Colors](https://www.hackerrank.com/challenges/unique-colors) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Self-Driving Bus](https://www.hackerrank.com/challenges/self-driving-bus) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Fibonacci Numbers Tree](https://www.hackerrank.com/challenges/fibonacci-numbers-tree) | Expert | Coming Soon! | -| Data Structures | Advanced | [Functional Palindromes](https://www.hackerrank.com/challenges/functional-palindromes) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Lazy White Falcon](https://www.hackerrank.com/challenges/lazy-white-falcon) | Hard | Coming Soon! | -| Data Structures | Advanced | [Ticket to Ride](https://www.hackerrank.com/challenges/ticket-to-ride) | Expert | Coming Soon! | -| Data Structures | Advanced | [Heavy Light White Falcon](https://www.hackerrank.com/challenges/heavy-light-white-falcon) | Hard | Coming Soon! | -| Data Structures | Advanced | [Sum of the Maximums](https://www.hackerrank.com/challenges/little-alexey-and-sum-of-maximums) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Heavy Light 2 White Falcon](https://www.hackerrank.com/challenges/heavy-light-2-white-falcon) | Hard | Coming Soon! | -| Data Structures | Advanced | [Library Query](https://www.hackerrank.com/challenges/library-query) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Starfleet](https://www.hackerrank.com/challenges/starfleet) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Almost Equal - Advanced](https://www.hackerrank.com/challenges/almost-equal-advanced) | Expert | Coming Soon! | -| Data Structures | Advanced | [Almost sorted interval](https://www.hackerrank.com/challenges/almost-sorted-interval) | Expert | Coming Soon! | -| Data Structures | Advanced | [Burger Happiness](https://www.hackerrank.com/challenges/burger-happiness) | Hard | Coming Soon! | -| Data Structures | Advanced | [Roy and alpha-beta trees](https://www.hackerrank.com/challenges/roy-and-alpha-beta-trees) | Hard | Coming Soon! | -| Data Structures | Advanced | [Coloring Tree](https://www.hackerrank.com/challenges/coloring-tree) | Hard | Coming Soon! | -| Data Structures | Advanced | [Recalling Early Days GP with Trees](https://www.hackerrank.com/challenges/recalling-early-days-gp-with-trees) | Hard | Coming Soon! | -| Data Structures | Advanced | [Swaps and Sum](https://www.hackerrank.com/challenges/swaps-and-sum) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Arithmetic Progressions](https://www.hackerrank.com/challenges/arithmetic-progressions) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Coolguy and Two Subsequences](https://www.hackerrank.com/challenges/coolguy-and-two-subsequences) | Advanced | Coming Soon! | -| Data Structures | Advanced | [White Falcon And Tree](https://www.hackerrank.com/challenges/white-falcon-and-tree) | Hard | Coming Soon! | -| Data Structures | Advanced | [Subtrees And Paths](https://www.hackerrank.com/challenges/subtrees-and-paths) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Triplets](https://www.hackerrank.com/challenges/triplets) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Beautiful Segments](https://www.hackerrank.com/challenges/beautiful-segments) | Expert | Coming Soon! | -| Data Structures | Advanced | [Divisibility](https://www.hackerrank.com/challenges/ab0) | Expert | Coming Soon! | -| Data Structures | Advanced | [BST maintenance](https://www.hackerrank.com/challenges/bst-maintenance) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Find Maximum Index Product](https://www.hackerrank.com/challenges/find-maximum-index-product) | Medium | Coming Soon! | -| Data Structures | Advanced | [Taxicab Driver's Problem](https://www.hackerrank.com/challenges/taxicab-drivers-problem) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Jaggu Playing with Balloons](https://www.hackerrank.com/challenges/jagia-playing-with-numbers) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Dynamic Summation](https://www.hackerrank.com/challenges/dynamic-summation) | Hard | Coming Soon! | -| Data Structures | Advanced | [Two Array Problem](https://www.hackerrank.com/challenges/weird-queries) | Hard | Coming Soon! | -| Data Structures | Advanced | [Rooted Tree](https://www.hackerrank.com/challenges/rooted-tree) | Hard | Coming Soon! | -| Data Structures | Advanced | [The crazy helix](https://www.hackerrank.com/challenges/helix) | Advanced | Coming Soon! | -| Data Structures | Advanced | [Network administration](https://www.hackerrank.com/challenges/net-admin) | Hard | Coming Soon! | -| Data Structures | Advanced | [Easy Addition](https://www.hackerrank.com/challenges/easy-addition) | Expert | Coming Soon! | -| Data Structures | Advanced | [Find the permutation](https://www.hackerrank.com/challenges/find-the-permutation) | Expert | Coming Soon! | -| Data Structures | Advanced | [Company Retreat](https://www.hackerrank.com/challenges/company-retreat) | Advanced | Coming Soon! | +| Subdomain | Challenge | Difficulty | Solution | +|:---------------:|:------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Arrays | [Arrays - DS](https://www.hackerrank.com/challenges/arrays-ds) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Arrays%20-%20DS/Solution.java) | +| Arrays | [2D Array - DS](https://www.hackerrank.com/challenges/2d-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/2D%20Array%20-%20DS/Solution.java) | +| Arrays | [Dynamic Array](https://www.hackerrank.com/challenges/dynamic-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Dynamic%20Array/Solution.java) | +| Arrays | [Left Rotation](https://www.hackerrank.com/challenges/array-left-rotation) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Left%20Rotation/Solution.java) | +| Arrays | [Sparse Arrays](https://www.hackerrank.com/challenges/sparse-arrays) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Sparse%20Arrays/Solution.java) | +| Arrays | [Algorithmic Crush](https://www.hackerrank.com/challenges/crush) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Arrays/Algorithmic%20Crush/Solution.java) | +| Linked List | [Print the Elements of a Linked List](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Print%20the%20Elements%20of%20a%20Linked%20List/Solution.java) | +| Linked List | [Insert a Node at the Tail of a Linked List](https://www.hackerrank.com/challenges/insert-a-node-at-the-tail-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20Node%20at%20the%20Tail%20of%20a%20Linked%20List/Solution.java) | +| Linked List | [Insert a node at the head of a linked list](https://www.hackerrank.com/challenges/insert-a-node-at-the-head-of-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20node%20at%20the%20head%20of%20a%20linked%20list/Solution.java) | +| Linked List | [Insert a node at a specific position in a linked list](https://www.hackerrank.com/challenges/insert-a-node-at-a-specific-position-in-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Insert%20a%20node%20at%20a%20specific%20position%20in%20a%20linked%20list/Solution.java) | +| Linked List | [Delete a Node](https://www.hackerrank.com/challenges/delete-a-node-from-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Delete%20a%20Node/Solution.java) | +| Linked List | [Print in Reverse](https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Print%20in%20Reverse/Solution.java) | +| Linked List | [Reverse a linked list](https://www.hackerrank.com/challenges/reverse-a-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Reverse%20a%20linked%20list/Solution.java) | +| Linked List | [Compare two linked lists](https://www.hackerrank.com/challenges/compare-two-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Compare%20two%20linked%20lists/Solution.java) | +| Linked List | [Merge two sorted linked lists](https://www.hackerrank.com/challenges/merge-two-sorted-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Merge%20two%20sorted%20linked%20lists/Solution.java) | +| Linked List | [Get Node Value](https://www.hackerrank.com/challenges/get-the-value-of-the-node-at-a-specific-position-from-the-tail) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Get%20Node%20Value/Solution.java) | +| Linked List | [Delete duplicate-value nodes from a sorted linked list](https://www.hackerrank.com/challenges/delete-duplicate-value-nodes-from-a-sorted-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Delete%20duplicate-value%20nodes%20from%20a%20sorted%20linked%20list/Solution.java) | +| Linked List | [Cycle Detection](https://www.hackerrank.com/challenges/detect-whether-a-linked-list-contains-a-cycle) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Cycle%20Detection/Solution.java) | +| Linked List | [Find Merge Point of Two Lists](https://www.hackerrank.com/challenges/find-the-merge-point-of-two-joined-linked-lists) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Find%20Merge%20Point%20of%20Two%20Lists/Solution.java) | +| Linked List | [Inserting a Node Into a Sorted Doubly Linked List](https://www.hackerrank.com/challenges/insert-a-node-into-a-sorted-doubly-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Inserting%20a%20Node%20Into%20a%20Sorted%20Doubly%20Linked%20List/Solution.java) | +| Linked List | [Reverse a doubly linked list](https://www.hackerrank.com/challenges/reverse-a-doubly-linked-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Linked%20Lists/Reverse%20a%20doubly%20linked%20list/Solution.java) | +| Trees | [Tree: Preorder Traversal](https://www.hackerrank.com/challenges/tree-preorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Preorder%20Traversal/Solution.java) | +| Trees | [Tree: Postorder Traversal](https://www.hackerrank.com/challenges/tree-postorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Postorder%20Traversal/Solution.java) | +| Trees | [Tree: Inorder Traversal](https://www.hackerrank.com/challenges/tree-inorder-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Inorder%20Traversal/Solution.java) | +| Trees | [Tree: Height of a Binary Tree](https://www.hackerrank.com/challenges/tree-height-of-a-binary-tree) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Height%20of%20a%20Binary%20Tree/Solution.java) | +| Trees | [Tree: Top View](https://www.hackerrank.com/challenges/tree-top-view) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Top%20View/Solution.java) | +| Trees | [Tree: Level Order Traversal](https://www.hackerrank.com/challenges/tree-level-order-traversal) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Level%20Order%20Traversal/Solution.java) | +| Trees | [Binary Search Tree: Insertion](https://www.hackerrank.com/challenges/binary-search-tree-insertion) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Binary%20Search%20Tree%20-%20Insertion/Solution.java) | +| Trees | [Tree: Huffman Decoding](https://www.hackerrank.com/challenges/tree-huffman-decoding) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Tree%20-%20Huffman%20Decoding/Solution.java) | +| Trees | [Binary Search Tree: Lowest Common Ancestor](https://www.hackerrank.com/challenges/binary-search-tree-lowest-common-ancestor) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Binary%20Search%20Tree%20-%20Lowest%20Common%20Ancestor/Solution.java) | +| Trees | [Swap Nodes [Algo]](https://www.hackerrank.com/challenges/swap-nodes-algo) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Swap%20Nodes%20%5BAlgo%5D/Solution.java) | +| Trees | [Is This a Binary Search Tree?](https://www.hackerrank.com/challenges/is-binary-search-tree) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Is%20This%20a%20Binary%20Search%20Tree/Solution.java) | +| Trees | [Square-Ten Tree](https://www.hackerrank.com/challenges/square-ten-tree) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trees/Square-Ten%20Tree/Solution.java) | +| Trees | [Balanced Forest](https://www.hackerrank.com/challenges/balanced-forest) | Hard | Coming Soon! | +| Balanced Trees | [Self Balancing Tree](https://www.hackerrank.com/challenges/self-balancing-tree) | Medium | Coming Soon! | +| Balanced Trees | [Array and simple queries](https://www.hackerrank.com/challenges/array-and-simple-queries) | Hard | Coming Soon! | +| Balanced Trees | [Median Updates](https://www.hackerrank.com/challenges/median) | Hard | Coming Soon! | +| Stacks | [Maximum Element](https://www.hackerrank.com/challenges/maximum-element) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Stacks/Maximum%20Element/Solution.java) | +| Stacks | [Balanced Brackets](https://www.hackerrank.com/challenges/balanced-brackets) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Stacks/Balanced%20Brackets/Solution.java) | +| Stacks | [Largest Rectangle](https://www.hackerrank.com/challenges/largest-rectangle) | Hard | Coming Soon! | +| Stacks | [Simple Text Editor](https://www.hackerrank.com/challenges/simple-text-editor) | Medium | Coming Soon! | +| Stacks | [Equal Stacks](https://www.hackerrank.com/challenges/equal-stacks) | Easy | Coming Soon! | +| Stacks | [Poisonous Plants](https://www.hackerrank.com/challenges/poisonous-plants) | Hard | Coming Soon! | +| Stacks | [AND xor OR](https://www.hackerrank.com/challenges/and-xor-or) | Hard | Coming Soon! | +| Stacks | [Waiter](https://www.hackerrank.com/challenges/waiter) | Medium | Coming Soon! | +| Queues | [Queue using Two Stacks](https://www.hackerrank.com/challenges/queue-using-two-stacks) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Queues/Queue%20using%20Two%20Stacks/Solution.java) | +| Queues | [Castle on the Grid](https://www.hackerrank.com/challenges/castle-on-the-grid) | Medium | Coming Soon! | +| Queues | [Down to Zero II](https://www.hackerrank.com/challenges/down-to-zero-ii) | Medium | Coming Soon! | +| Queues | [Truck Tour](https://www.hackerrank.com/challenges/truck-tour) | Hard | Coming Soon! | +| Queues | [Queries with Fixed Length](https://www.hackerrank.com/challenges/queries-with-fixed-length) | Hard | Coming Soon! | +| Heap | [QHEAP1](https://www.hackerrank.com/challenges/qheap1) | Easy | Coming Soon! | +| Heap | [Jesse and Cookies](https://www.hackerrank.com/challenges/jesse-and-cookies) | Easy | Coming Soon! | +| Heap | [Find the Running Median](https://www.hackerrank.com/challenges/find-the-running-median) | Hard | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Heap/Find%20the%20Running%20Median/Solution.java) | +| Heap | [Minimum Average Waiting Time](https://www.hackerrank.com/challenges/minimum-average-waiting-time) | Hard | Coming Soon! | +| Disjoint Set | [Merging Communities](https://www.hackerrank.com/challenges/merging-communities) | Hard | Coming Soon! | +| Disjoint Set | [Components in a graph](https://www.hackerrank.com/challenges/components-in-graph) | Medium | Coming Soon! | +| Disjoint Set | [Kundu and Tree](https://www.hackerrank.com/challenges/kundu-and-tree) | Hard | Coming Soon! | +| Disjoint Set | [Super Maximum Cost Queries](https://www.hackerrank.com/challenges/maximum-cost-queries) | Hard | Coming Soon! | +| Multiple Choice | [Data Structures MCQ 1](https://www.hackerrank.com/challenges/how-well-do-you-know-trees) | Hard | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%201/Solution.txt) | +| Multiple Choice | [Data Structures MCQ 2](https://www.hackerrank.com/challenges/are-you-an-expert-on-data-structures) | Hard | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%202/Solution.txt) | +| Multiple Choice | [Data Structures MCQ 3](https://www.hackerrank.com/challenges/are-you-an-expert-on-data-structures-1) | Hard | [Solution.txt](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Multiple%20Choice/Data%20Structures%20MCQ%203/Solution.txt) | +| Trie | [Contacts](https://www.hackerrank.com/challenges/contacts) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Data%20Structures/Trie/Contacts/Solution.java) | +| Trie | [No Prefix Set](https://www.hackerrank.com/challenges/no-prefix-set) | Hard | Coming Soon! | +| Advanced | [Kindergarten Adventures](https://www.hackerrank.com/challenges/kindergarten-adventures) | Medium | Coming Soon! | +| Advanced | [Cube Summation](https://www.hackerrank.com/challenges/cube-summation) | Hard | Coming Soon! | +| Advanced | [Mr. X and His Shots](https://www.hackerrank.com/challenges/x-and-his-shots) | Medium | Coming Soon! | +| Advanced | [Direct Connections](https://www.hackerrank.com/challenges/direct-connections) | Hard | Coming Soon! | +| Advanced | [Subsequence Weighting](https://www.hackerrank.com/challenges/subsequence-weighting) | Advanced | Coming Soon! | +| Advanced | [Jim and the Skyscrapers](https://www.hackerrank.com/challenges/jim-and-the-skyscrapers) | Medium | Coming Soon! | +| Advanced | [Counting On a Tree](https://www.hackerrank.com/challenges/counting-on-a-tree) | Expert | Coming Soon! | +| Advanced | [Unique Colors](https://www.hackerrank.com/challenges/unique-colors) | Advanced | Coming Soon! | +| Advanced | [Self-Driving Bus](https://www.hackerrank.com/challenges/self-driving-bus) | Advanced | Coming Soon! | +| Advanced | [Fibonacci Numbers Tree](https://www.hackerrank.com/challenges/fibonacci-numbers-tree) | Expert | Coming Soon! | +| Advanced | [Functional Palindromes](https://www.hackerrank.com/challenges/functional-palindromes) | Advanced | Coming Soon! | +| Advanced | [Lazy White Falcon](https://www.hackerrank.com/challenges/lazy-white-falcon) | Hard | Coming Soon! | +| Advanced | [Ticket to Ride](https://www.hackerrank.com/challenges/ticket-to-ride) | Expert | Coming Soon! | +| Advanced | [Heavy Light White Falcon](https://www.hackerrank.com/challenges/heavy-light-white-falcon) | Hard | Coming Soon! | +| Advanced | [Sum of the Maximums](https://www.hackerrank.com/challenges/little-alexey-and-sum-of-maximums) | Advanced | Coming Soon! | +| Advanced | [Heavy Light 2 White Falcon](https://www.hackerrank.com/challenges/heavy-light-2-white-falcon) | Hard | Coming Soon! | +| Advanced | [Library Query](https://www.hackerrank.com/challenges/library-query) | Advanced | Coming Soon! | +| Advanced | [Starfleet](https://www.hackerrank.com/challenges/starfleet) | Advanced | Coming Soon! | +| Advanced | [Almost Equal - Advanced](https://www.hackerrank.com/challenges/almost-equal-advanced) | Expert | Coming Soon! | +| Advanced | [Almost sorted interval](https://www.hackerrank.com/challenges/almost-sorted-interval) | Expert | Coming Soon! | +| Advanced | [Burger Happiness](https://www.hackerrank.com/challenges/burger-happiness) | Hard | Coming Soon! | +| Advanced | [Roy and alpha-beta trees](https://www.hackerrank.com/challenges/roy-and-alpha-beta-trees) | Hard | Coming Soon! | +| Advanced | [Coloring Tree](https://www.hackerrank.com/challenges/coloring-tree) | Hard | Coming Soon! | +| Advanced | [Recalling Early Days GP with Trees](https://www.hackerrank.com/challenges/recalling-early-days-gp-with-trees) | Hard | Coming Soon! | +| Advanced | [Swaps and Sum](https://www.hackerrank.com/challenges/swaps-and-sum) | Advanced | Coming Soon! | +| Advanced | [Arithmetic Progressions](https://www.hackerrank.com/challenges/arithmetic-progressions) | Advanced | Coming Soon! | +| Advanced | [Coolguy and Two Subsequences](https://www.hackerrank.com/challenges/coolguy-and-two-subsequences) | Advanced | Coming Soon! | +| Advanced | [White Falcon And Tree](https://www.hackerrank.com/challenges/white-falcon-and-tree) | Hard | Coming Soon! | +| Advanced | [Subtrees And Paths](https://www.hackerrank.com/challenges/subtrees-and-paths) | Advanced | Coming Soon! | +| Advanced | [Triplets](https://www.hackerrank.com/challenges/triplets) | Advanced | Coming Soon! | +| Advanced | [Beautiful Segments](https://www.hackerrank.com/challenges/beautiful-segments) | Expert | Coming Soon! | +| Advanced | [Divisibility](https://www.hackerrank.com/challenges/ab0) | Expert | Coming Soon! | +| Advanced | [BST maintenance](https://www.hackerrank.com/challenges/bst-maintenance) | Advanced | Coming Soon! | +| Advanced | [Find Maximum Index Product](https://www.hackerrank.com/challenges/find-maximum-index-product) | Medium | Coming Soon! | +| Advanced | [Taxicab Driver's Problem](https://www.hackerrank.com/challenges/taxicab-drivers-problem) | Advanced | Coming Soon! | +| Advanced | [Jaggu Playing with Balloons](https://www.hackerrank.com/challenges/jagia-playing-with-numbers) | Advanced | Coming Soon! | +| Advanced | [Dynamic Summation](https://www.hackerrank.com/challenges/dynamic-summation) | Hard | Coming Soon! | +| Advanced | [Two Array Problem](https://www.hackerrank.com/challenges/weird-queries) | Hard | Coming Soon! | +| Advanced | [Rooted Tree](https://www.hackerrank.com/challenges/rooted-tree) | Hard | Coming Soon! | +| Advanced | [The crazy helix](https://www.hackerrank.com/challenges/helix) | Advanced | Coming Soon! | +| Advanced | [Network administration](https://www.hackerrank.com/challenges/net-admin) | Hard | Coming Soon! | +| Advanced | [Easy Addition](https://www.hackerrank.com/challenges/easy-addition) | Expert | Coming Soon! | +| Advanced | [Find the permutation](https://www.hackerrank.com/challenges/find-the-permutation) | Expert | Coming Soon! | +| Advanced | [Company Retreat](https://www.hackerrank.com/challenges/company-retreat) | Advanced | Coming Soon! | ## Java -| Domain | Subdomain | Challenge | Difficulty | Solution | -|:------:|:---------------------------:|:------------------------------------------------------------------------------------------------------------------------:|:----------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| Java | Introduction | [Welcome to Java!](https://www.hackerrank.com/challenges/welcome-to-java) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Welcome%20to%20Java!/Solution.java) | -| Java | Introduction | [Java Stdin and Stdout I](https://www.hackerrank.com/challenges/java-stdin-and-stdout-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Stdin%20and%20Stdout%20I/Solution.java) | -| Java | Introduction | [Java If-Else](https://www.hackerrank.com/challenges/java-if-else) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20If-Else/Solution.java) | -| Java | Introduction | [Java Stdin and Stdout II](https://www.hackerrank.com/challenges/java-stdin-stdout) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Stdin%20and%20Stdout%20II/Solution.java) | -| Java | Introduction | [Java Output Formatting](https://www.hackerrank.com/challenges/java-output-formatting) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Output%20Formatting/Solution.java) | -| Java | Introduction | [Java Loops I](https://www.hackerrank.com/challenges/java-loops-i) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Loops%20I/Solution.java) | -| Java | Introduction | [Java Loops II](https://www.hackerrank.com/challenges/java-loops) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Loops%20II/Solution.java) | -| Java | Introduction | [Java Datatypes](https://www.hackerrank.com/challenges/java-datatypes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Datatypes/Solution.java) | -| Java | Introduction | [Java End-of-file](https://www.hackerrank.com/challenges/java-end-of-file) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20End-of-file/Solution.java) | -| Java | Introduction | [Java Static Initializer Block](https://www.hackerrank.com/challenges/java-static-initializer-block) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Static%20Initializer%20Block/Solution.java) | -| Java | Introduction | [Java Int to String](https://www.hackerrank.com/challenges/java-int-to-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Int%20to%20String/Solution.java) | -| Java | Introduction | [Java Date and Time](https://www.hackerrank.com/challenges/java-date-and-time) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Date%20and%20Time/Solution.java) | -| Java | Introduction | [Java Currency Formatter](https://www.hackerrank.com/challenges/java-currency-formatter) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Currency%20Formatter/Solution.java) | -| Java | Strings | [Java Strings Introduction](https://www.hackerrank.com/challenges/java-strings-introduction) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Strings%20Introduction/Solution.java) | -| Java | Strings | [Java Substring](https://www.hackerrank.com/challenges/java-substring) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Substring/Solution.java) | -| Java | Strings | [Java String Compare](https://www.hackerrank.com/challenges/java-string-compare) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Compare/Solution.java) | -| Java | Strings | [Java String Reverse](https://www.hackerrank.com/challenges/java-string-reverse) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Reverse/Solution.java) | -| Java | Strings | [Java Anagrams](https://www.hackerrank.com/challenges/java-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Anagrams/Solution.java) | -| Java | Strings | [Java String Tokens](https://www.hackerrank.com/challenges/java-string-tokens) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Tokens/Solution.java) | -| Java | Strings | [Pattern Syntax Checker](https://www.hackerrank.com/challenges/pattern-syntax-checker) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Pattern%20Syntax%20Checker/Solution.java) | -| Java | Strings | [Java Regex](https://www.hackerrank.com/challenges/java-regex) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex/Solution.java) | -| Java | Strings | [Java Regex 2 - Duplicate Words](https://www.hackerrank.com/challenges/duplicate-word) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex%202%20-%20Duplicate%20Words/Solution.java) | -| Java | Strings | [Java Regex 3 - Username Checker](https://www.hackerrank.com/challenges/valid-username-checker) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex%203%20-%20Username%20Checker/Solution.java) | -| Java | Strings | [Tag Content Extractor](https://www.hackerrank.com/challenges/tag-content-extractor) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Tag%20Content%20Extractor/Solution.java) | -| Java | BigNumber | [Java BigInteger](https://www.hackerrank.com/challenges/java-biginteger) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20BigInteger/Solution.java) | -| Java | BigNumber | [Java BigDecimal](https://www.hackerrank.com/challenges/java-bigdecimal) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20BigDecimal/Solution.java) | -| Java | BigNumber | [Java Primality Test](https://www.hackerrank.com/challenges/java-primality-test) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20Primality%20Test/Solution.java) | -| Java | Data Structures | [Java 1D Array](https://www.hackerrank.com/challenges/java-1d-array-introduction) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%201D%20Array/Solution.java) | -| Java | Data Structures | [Java 2D Array](https://www.hackerrank.com/challenges/java-2d-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%202D%20Array/Solution.java) | -| Java | Data Structures | [Java Subarray](https://www.hackerrank.com/challenges/java-negative-subarray) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Subarray/Solution.java) | -| Java | Data Structures | [Java Arraylist](https://www.hackerrank.com/challenges/java-arraylist) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20ArrayList/Solution.java) | -| Java | Data Structures | [Java 1D Array (Part 2)](https://www.hackerrank.com/challenges/java-1d-array) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%201D%20Array%20(Part%202)/Solution.java) | -| Java | Data Structures | [Java List](https://www.hackerrank.com/challenges/java-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20List/Solution.java) | -| Java | Data Structures | [Java Map](https://www.hackerrank.com/challenges/phone-book) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Map/Solution.java) | -| Java | Data Structures | [Java Stack](https://www.hackerrank.com/challenges/java-stack) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Stack/Solution.java) | -| Java | Data Structures | [Java Hashset](https://www.hackerrank.com/challenges/java-hashset) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Hashset/Solution.java) | -| Java | Data Structures | [Java Generics](https://www.hackerrank.com/challenges/java-generics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Generics/Solution.java) | -| Java | Data Structures | [Java Comparator](https://www.hackerrank.com/challenges/java-comparator) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Comparator/Solution.java) | -| Java | Data Structures | [Java Sort](https://www.hackerrank.com/challenges/java-sort) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Sort/Solution.java) | -| Java | Data Structures | [Java Dequeue](https://www.hackerrank.com/challenges/java-dequeue) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Dequeue/Solution.java) | -| Java | Data Structures | [Java BitSet](https://www.hackerrank.com/challenges/java-bitset) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20BitSet/Solution.java) | -| Java | Data Structures | [Java Priority Queue](https://www.hackerrank.com/challenges/java-priority-queue) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Priority%20Queue/Solution.java) | -| Java | Object Oriented Programming | [Java Inheritance I](https://www.hackerrank.com/challenges/java-inheritance-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Inheritance%20I/Solution.java) | -| Java | Object Oriented Programming | [Java Inheritance II](https://www.hackerrank.com/challenges/java-inheritance-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Inheritance%20II/Solution.java) | -| Java | Object Oriented Programming | [Java Abstract Class](https://www.hackerrank.com/challenges/java-abstract-class) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Abstract%20Class/Solution.java) | -| Java | Object Oriented Programming | [Java Interface](https://www.hackerrank.com/challenges/java-interface) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Interface/Solution.java) | -| Java | Object Oriented Programming | [Java Method Overriding](https://www.hackerrank.com/challenges/java-method-overriding) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Method%20Overriding/Solution.java) | -| Java | Object Oriented Programming | [Java Method Overriding 2 (Super Keyword)](https://www.hackerrank.com/challenges/java-method-overriding-2-super-keyword) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Method%20Overriding%202%20(Super%20Keyword)/Solution.java) | -| Java | Object Oriented Programming | [Java Instanceof keyword](https://www.hackerrank.com/challenges/java-instanceof-keyword) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Instanceof%20keyword/Solution.java) | -| Java | Object Oriented Programming | [Java Iterator](https://www.hackerrank.com/challenges/java-iterator) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Iterator/Solution.java) | -| Java | Object Oriented Programming | [Calculating Volume](https://www.hackerrank.com/challenges/calculating-volume) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Calculating%20Volume/Solution.java) | -| Java | Exception Handling | [Java Exception Handling (Try-catch)](https://www.hackerrank.com/challenges/java-exception-handling-try-catch) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Exception%20Handling/Java%20Exception%20Handling%20(Try-catch)/Solution.java) | -| Java | Exception Handling | [Java Exception Handling](https://www.hackerrank.com/challenges/java-exception-handling) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Exception%20Handling/Java%20Exception%20Handling/Solution.java) | -| Java | Advanced | [Java Varargs - Simple Addition](https://www.hackerrank.com/challenges/simple-addition-varargs) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Varargs%20-%20Simple%20Addition/Solution.java) | -| Java | Advanced | [Java Reflection - Attributes](https://www.hackerrank.com/challenges/java-reflection-attributes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Reflection%20-%20Attributes/Solution.java) | -| Java | Advanced | [Can You Access](https://www.hackerrank.com/challenges/can-you-access) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Can%20You%20Access/Solution.java) | -| Java | Advanced | [Prime Checker](https://www.hackerrank.com/challenges/prime-checker) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Prime%20Checker/Solution.java) | -| Java | Advanced | [Java Factory Pattern](https://www.hackerrank.com/challenges/java-factory) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Factory%20Pattern/Solution.java) | -| Java | Advanced | [Java Singleton Pattern](https://www.hackerrank.com/challenges/java-singleton) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Singleton%20Pattern/Solution.java) | -| Java | Advanced | [Java Visitor Pattern](https://www.hackerrank.com/challenges/java-vistor-pattern) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Visitor%20Pattern/Solution.java) | -| Java | Advanced | [Java Annotations](https://www.hackerrank.com/challenges/java-annotations) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Annotations/Solution.java) | -| Java | Advanced | [Covariant Return Types](https://www.hackerrank.com/challenges/java-covariance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Covariant%20Return%20Types/Solution.java) | -| Java | Advanced | [Java Lambda Expressions](https://www.hackerrank.com/challenges/java-lambda-expressions) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Lambda%20Expressions/Solution.java) | -| Java | Advanced | [Java MD5](https://www.hackerrank.com/challenges/java-md5) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20MD5/Solution.java) | -| Java | Advanced | [Java SHA-256](https://www.hackerrank.com/challenges/sha-256) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20SHA-256/Solution.java) | +| Subdomain | Challenge | Difficulty | Solution | +|:---------------------------:|:------------------------------------------------------------------------------------------------------------------------:|:----------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| +| Introduction | [Welcome to Java!](https://www.hackerrank.com/challenges/welcome-to-java) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Welcome%20to%20Java!/Solution.java) | +| Introduction | [Java Stdin and Stdout I](https://www.hackerrank.com/challenges/java-stdin-and-stdout-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Stdin%20and%20Stdout%20I/Solution.java) | +| Introduction | [Java If-Else](https://www.hackerrank.com/challenges/java-if-else) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20If-Else/Solution.java) | +| Introduction | [Java Stdin and Stdout II](https://www.hackerrank.com/challenges/java-stdin-stdout) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Stdin%20and%20Stdout%20II/Solution.java) | +| Introduction | [Java Output Formatting](https://www.hackerrank.com/challenges/java-output-formatting) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Output%20Formatting/Solution.java) | +| Introduction | [Java Loops I](https://www.hackerrank.com/challenges/java-loops-i) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Loops%20I/Solution.java) | +| Introduction | [Java Loops II](https://www.hackerrank.com/challenges/java-loops) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Loops%20II/Solution.java) | +| Introduction | [Java Datatypes](https://www.hackerrank.com/challenges/java-datatypes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Datatypes/Solution.java) | +| Introduction | [Java End-of-file](https://www.hackerrank.com/challenges/java-end-of-file) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20End-of-file/Solution.java) | +| Introduction | [Java Static Initializer Block](https://www.hackerrank.com/challenges/java-static-initializer-block) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Static%20Initializer%20Block/Solution.java) | +| Introduction | [Java Int to String](https://www.hackerrank.com/challenges/java-int-to-string) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Int%20to%20String/Solution.java) | +| Introduction | [Java Date and Time](https://www.hackerrank.com/challenges/java-date-and-time) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Date%20and%20Time/Solution.java) | +| Introduction | [Java Currency Formatter](https://www.hackerrank.com/challenges/java-currency-formatter) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Introduction/Java%20Currency%20Formatter/Solution.java) | +| Strings | [Java Strings Introduction](https://www.hackerrank.com/challenges/java-strings-introduction) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Strings%20Introduction/Solution.java) | +| Strings | [Java Substring](https://www.hackerrank.com/challenges/java-substring) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Substring/Solution.java) | +| Strings | [Java String Compare](https://www.hackerrank.com/challenges/java-string-compare) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Compare/Solution.java) | +| Strings | [Java String Reverse](https://www.hackerrank.com/challenges/java-string-reverse) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Reverse/Solution.java) | +| Strings | [Java Anagrams](https://www.hackerrank.com/challenges/java-anagrams) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Anagrams/Solution.java) | +| Strings | [Java String Tokens](https://www.hackerrank.com/challenges/java-string-tokens) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20String%20Tokens/Solution.java) | +| Strings | [Pattern Syntax Checker](https://www.hackerrank.com/challenges/pattern-syntax-checker) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Pattern%20Syntax%20Checker/Solution.java) | +| Strings | [Java Regex](https://www.hackerrank.com/challenges/java-regex) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex/Solution.java) | +| Strings | [Java Regex 2 - Duplicate Words](https://www.hackerrank.com/challenges/duplicate-word) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex%202%20-%20Duplicate%20Words/Solution.java) | +| Strings | [Java Regex 3 - Username Checker](https://www.hackerrank.com/challenges/valid-username-checker) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Java%20Regex%203%20-%20Username%20Checker/Solution.java) | +| Strings | [Tag Content Extractor](https://www.hackerrank.com/challenges/tag-content-extractor) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Strings/Tag%20Content%20Extractor/Solution.java) | +| BigNumber | [Java BigInteger](https://www.hackerrank.com/challenges/java-biginteger) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20BigInteger/Solution.java) | +| BigNumber | [Java BigDecimal](https://www.hackerrank.com/challenges/java-bigdecimal) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20BigDecimal/Solution.java) | +| BigNumber | [Java Primality Test](https://www.hackerrank.com/challenges/java-primality-test) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/BigNumber/Java%20Primality%20Test/Solution.java) | +| Data Structures | [Java 1D Array](https://www.hackerrank.com/challenges/java-1d-array-introduction) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%201D%20Array/Solution.java) | +| Data Structures | [Java 2D Array](https://www.hackerrank.com/challenges/java-2d-array) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%202D%20Array/Solution.java) | +| Data Structures | [Java Subarray](https://www.hackerrank.com/challenges/java-negative-subarray) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Subarray/Solution.java) | +| Data Structures | [Java Arraylist](https://www.hackerrank.com/challenges/java-arraylist) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20ArrayList/Solution.java) | +| Data Structures | [Java 1D Array (Part 2)](https://www.hackerrank.com/challenges/java-1d-array) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%201D%20Array%20(Part%202)/Solution.java) | +| Data Structures | [Java List](https://www.hackerrank.com/challenges/java-list) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20List/Solution.java) | +| Data Structures | [Java Map](https://www.hackerrank.com/challenges/phone-book) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Map/Solution.java) | +| Data Structures | [Java Stack](https://www.hackerrank.com/challenges/java-stack) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Stack/Solution.java) | +| Data Structures | [Java Hashset](https://www.hackerrank.com/challenges/java-hashset) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Hashset/Solution.java) | +| Data Structures | [Java Generics](https://www.hackerrank.com/challenges/java-generics) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Generics/Solution.java) | +| Data Structures | [Java Comparator](https://www.hackerrank.com/challenges/java-comparator) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Comparator/Solution.java) | +| Data Structures | [Java Sort](https://www.hackerrank.com/challenges/java-sort) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Sort/Solution.java) | +| Data Structures | [Java Dequeue](https://www.hackerrank.com/challenges/java-dequeue) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Dequeue/Solution.java) | +| Data Structures | [Java BitSet](https://www.hackerrank.com/challenges/java-bitset) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20BitSet/Solution.java) | +| Data Structures | [Java Priority Queue](https://www.hackerrank.com/challenges/java-priority-queue) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Data%20Structures/Java%20Priority%20Queue/Solution.java) | +| Object Oriented Programming | [Java Inheritance I](https://www.hackerrank.com/challenges/java-inheritance-1) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Inheritance%20I/Solution.java) | +| Object Oriented Programming | [Java Inheritance II](https://www.hackerrank.com/challenges/java-inheritance-2) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Inheritance%20II/Solution.java) | +| Object Oriented Programming | [Java Abstract Class](https://www.hackerrank.com/challenges/java-abstract-class) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Abstract%20Class/Solution.java) | +| Object Oriented Programming | [Java Interface](https://www.hackerrank.com/challenges/java-interface) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Interface/Solution.java) | +| Object Oriented Programming | [Java Method Overriding](https://www.hackerrank.com/challenges/java-method-overriding) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Method%20Overriding/Solution.java) | +| Object Oriented Programming | [Java Method Overriding 2 (Super Keyword)](https://www.hackerrank.com/challenges/java-method-overriding-2-super-keyword) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Method%20Overriding%202%20(Super%20Keyword)/Solution.java) | +| Object Oriented Programming | [Java Instanceof keyword](https://www.hackerrank.com/challenges/java-instanceof-keyword) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Instanceof%20keyword/Solution.java) | +| Object Oriented Programming | [Java Iterator](https://www.hackerrank.com/challenges/java-iterator) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Java%20Iterator/Solution.java) | +| Object Oriented Programming | [Calculating Volume](https://www.hackerrank.com/challenges/calculating-volume) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Object%20Oriented%20Programming/Calculating%20Volume/Solution.java) | +| Exception Handling | [Java Exception Handling (Try-catch)](https://www.hackerrank.com/challenges/java-exception-handling-try-catch) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Exception%20Handling/Java%20Exception%20Handling%20(Try-catch)/Solution.java) | +| Exception Handling | [Java Exception Handling](https://www.hackerrank.com/challenges/java-exception-handling) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Exception%20Handling/Java%20Exception%20Handling/Solution.java) | +| Advanced | [Java Varargs - Simple Addition](https://www.hackerrank.com/challenges/simple-addition-varargs) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Varargs%20-%20Simple%20Addition/Solution.java) | +| Advanced | [Java Reflection - Attributes](https://www.hackerrank.com/challenges/java-reflection-attributes) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Reflection%20-%20Attributes/Solution.java) | +| Advanced | [Can You Access](https://www.hackerrank.com/challenges/can-you-access) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Can%20You%20Access/Solution.java) | +| Advanced | [Prime Checker](https://www.hackerrank.com/challenges/prime-checker) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Prime%20Checker/Solution.java) | +| Advanced | [Java Factory Pattern](https://www.hackerrank.com/challenges/java-factory) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Factory%20Pattern/Solution.java) | +| Advanced | [Java Singleton Pattern](https://www.hackerrank.com/challenges/java-singleton) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Singleton%20Pattern/Solution.java) | +| Advanced | [Java Visitor Pattern](https://www.hackerrank.com/challenges/java-vistor-pattern) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Visitor%20Pattern/Solution.java) | +| Advanced | [Java Annotations](https://www.hackerrank.com/challenges/java-annotations) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Annotations/Solution.java) | +| Advanced | [Covariant Return Types](https://www.hackerrank.com/challenges/java-covariance) | Easy | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Covariant%20Return%20Types/Solution.java) | +| Advanced | [Java Lambda Expressions](https://www.hackerrank.com/challenges/java-lambda-expressions) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20Lambda%20Expressions/Solution.java) | +| Advanced | [Java MD5](https://www.hackerrank.com/challenges/java-md5) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20MD5/Solution.java) | +| Advanced | [Java SHA-256](https://www.hackerrank.com/challenges/sha-256) | Medium | [Solution.java](https://github.com/rshaghoulian/HackerRank-solutions/blob/master/Java/Advanced/Java%20SHA-256/Solution.java) |