Home

Awesome

HackerRank Java Domain Solutions

problems-solved cp

HackerRank is an online platform that offers programmers the ability to test their sills, practice and learn something new. The problem sets on HackerRank are divided in Domains & Tutorials, and the following are the domains & tutorials on HackerRank:

<details> <summary><b>Domains</b></summary> <ul> <li><a href="https://www.hackerrank.com/domains/algorithms">Algorithms</a></li> <li><a href="https://www.hackerrank.com/domains/data-structures">Data Structures</a></li> <li><a href="https://www.hackerrank.com/domains/mathematics">Mathematics</a></li> <li><a href="https://www.hackerrank.com/domains/c">C</a></li> <li><a href="https://www.hackerrank.com/domains/cpp">C++</a></li> <li><a href="https://www.hackerrank.com/domains/java">Java</a></li> <li><a href="https://www.hackerrank.com/domains/python">Python</a></li> <li><a href="https://www.hackerrank.com/domains/ruby">Ruby</a></li> <li><a href="https://www.hackerrank.com/domains/shell">Linux Shell</a></li> <li><a href="https://www.hackerrank.com/domains/fp">Functional Programming</a></li> <li><a href="https://www.hackerrank.com/domains/ai">Artificial Intelligence</a></li> <li><a href="https://www.hackerrank.com/domains/sql">SQL</a></li> <li><a href="https://www.hackerrank.com/domains/databases">Databases</a></li> <li><a href="https://www.hackerrank.com/domains/regex">Regex</a></li> </ul> </details> <details> <summary><b>Tutorials</b></summary> <ul> <li><a href="https://www.hackerrank.com/interview">Interview Preparation Kit</a></li> <li><a href="https://www.hackerrank.com/domains/tutorials/30-days-of-code">30 Days of Code</a></li> <li><a href="https://www.hackerrank.com/domains/tutorials/10-days-of-statistics">10 Days of Statistics</a></li> <li><a href="https://www.hackerrank.com/domains/tutorials/10-days-of-javascript">10 Days of JavaScript</a></li> </ul> </details>

This repository contains solutions to the Java Domain part of HackerRank. My HackerRank profile can be viewed here.

I have also solved other domains on HackerRank that can be viewed at:

DomainSolutions Repository Link
AlgorithmsSolutions Repository
Data StructuresSolutions Repository
PythonSolutions Repository
Interview Preparation KitSolutions Repository

The Java Domain is further Divided into the following sub-domains.

Sub Domains & Problems (+Solutions) in the Java Domain

Quick Links ⚡ : Java Introduction | Java Strings | Java Object Oriented Programming | Java BigDecimal | Java BigNumber | Java Data Structures | Java exception Handling | Java Advanced |

Java Introduction 👆

ProblemSolution Link
Welcome to JavaSolution
Java StdIn and StdOutSolution
Java StdIn and StdOut IISolution
Java If ElseSolution
Java Output FormattingSolution
Java Loops ISolution
Java Loops IISolution
Java Data typesSolution
Java End of FileSolution
Java Static Initializer BlockSolution
Java into to StringSolution
Java Date and TimeSolution
Java Currency FormatterSolution

Java Strings 👆

ProblemSolution LinkDifficulty
Java Strings IntroductionSolutionEasy
Java SubstringSolutionEasy
Java Substring ComparisonsSolutionEasy
Java String ReverseSolutionEasy
Java AnagramsSolutionEasy
Java String TokensSolutionEasy
Pattern Syntax CheckerSolutionEasy
Java RegexSolutionEasy
Java Regex II - Duplicate WordsSolutionMedium
Valid Username Regular ExpressionSolutionEasy
Tag Content ExtractorSolutionMedium

Java Object Oriented Programming 👆

ProblemSolution LinkDifficulty
Java Inheritance ISolutionEasy
Java Inheritance IISolutionEasy
Java Abstract ClassSolutionEasy
Java InterfaceSolutionEasy
Java Method OverridingSolutionEasy
Java Method Overriding II (Super Keyword)SolutionEasy
Java IteratorSolutionEasy
Java instanceof KeywordSolutionEasy

Java BigDecimal 👆

ProblemSolution LinkDifficulty
Java BigDecimalSolutionMedium

Java BigNumber 👆

ProblemSolution LinkDifficulty
Java Primality TestSolutionEasy
Java Big IntegerSolutionEasy
Java BigDecimalSolutionMedium

Java Data Structures 👆

ProblemSolution LinkDifficulty
Java 1D ArraySolutionEasy
Java 2D ArraySolutionEasy
Java SubarraySolutionEasy
Java Data Structures ArraySolutionEasy
Java Sub ArraySolutionEasy
Java ArraylistSolutionEasy
Java Priority QueueSolutionMedium
Java 1D Array (Part 2)SolutionMedium
Java ListSolutionEasy
Java MapSolutionEasy
Java StackSolutionMedium
Java HashsetSolutionEasy
Java GenericsSolutionEasy
Java ComparatorSolutionMedium
Java SortSolutionEasy
Java DequeueSolutionMedium
Java BitSetSolutionEasy
Java Priority QueueSolutionMedium

Java Exception Handling 👆

ProblemSolution LinkDifficulty
Java Exception HandlingSolutionEasy
Java Exception Handling (try-catch)SolutionEasy

Java Advanced 👆

ProblemSolution LinkDifficulty
Java VarArgs - Simple AdditionSolutionEasy
Java Reflection - AttributesSolutionEasy
Can You Access?SolutionMedium
Prime CheckerSolutionMedium
Java Factory PatternSolutionEasy
Java Singleton PatternSolutionEasy
Java Visitor PatternSolutionMedium
Java AnnotationsSolutionMedium
Covariant Return TypesSolutionEasy
Java Lambda ExpressionsSolutionMedium
Java MD5SolutionMedium
Java SHA-256SolutionMedium