Skip to content

My Solutions for HackerRank problems written in Java

Notifications You must be signed in to change notification settings

sapayth/HackerRank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My HackerRank Solutions

Solutions for HackerRank problems written in Java

HackerRank

Java

Introduction

Topic Challange Solution
Introduction Welcome to Java! WelcomeToJava.java
Introduction Stdin and Stdout I StdinAndStdoutI.java
Introduction If-Else IfAndElse.java
Introduction Stdin and Stdout II StdinAndStdoutII.java
Introduction Output Formatting OutputFormatting.java
Introduction Loops I LoopsI.java
Introduction Loops II LoopsII.java
Introduction Datatypes Datatypes.java
Introduction End-of-file EndOfFile.java
Introduction Static Initializer Block StaticInitializerBlock.java
Introduction Int to String IntToString.java
Introduction Date and Time DateAndTime.java
Introduction Currency Formatter CurrencyFormatter.java

Strings

Topic Challange Solution
Strings Strings Introduction StringsIntroduction.java
Strings Substring Substring.java
Strings Substring Comparisons SubstringComparisons.java
Strings String Reverse StringReverse.java
Strings Anagrams Anagrams.java
Strings String Tokens StringTokens.java
Strings Pattern Syntax Checker PatternSyntaxChecker.java
Strings Regex JavaRegex.java
Strings Regex 2 - Duplicate Words JavaRegex2_DuplicateWords.java
Strings Valid Username Regular Expression ValidUsernameRegularExpression.java
Strings Tag Content Extractor TagContentExtractor.java

BigNumber

Topic Challange Solution
BigNumber Java BigInteger JavaBigInteger.java
BigNumber Java BigDecimal JavaBigDecimal.java
BigNumber Java Primality Test JavaPrimalityTest.java

30 Days of Code Challenges

Some class name changes for conflicting issue. Ex. "Person" classname changed to "Person1" or "Person2", "Node" classname changed to "Node1" or "Node2" etc.

Day Challange Solution
Day 0 Hello, World. Day0_HelloWorld.java
Day 1 Data Types Day1_DataTypes.java
Day 2 Operators Day2_Operators.java
Day 3 Intro to Conditional Statements Day3_IntroToConditionalStatements.java
Day 4 Class vs. Instance Day4_ClassVSInstance.java
Day 5 Loops Day5_Loops.java
Day 6 Let's Review Day6_LetsReview.java
Day 7 Arrays Day7_Arrays.java
Day 8 Dictionaries and Maps Day8_DictionariesAndMaps.java
Day 9 Recursion Day9_Recursion.java
Day 10 Binary Numbers Day10_BinaryNumbers.java
Day 11 2D Arrays Day11_2DArrays.java
Day 12 Inheritance Day12_Inheritance.java
Day 13 Abstract Classes Day13_AbstractClasses.java
Day 14 Scope Day14_Scope.java
Day 15 Linked List Day15_LinkedList.java
Day 16 Exceptions - String to Integer Day16_ExceptionsStringToInteger.java
Day 17 More Exceptions Day17_MoreExceptions.java
Day 18 Queues and Stacks Day18_QueuesAndStacks.java
Day 19 Interfaces Day19_Interfaces.java
Day 20 Sorting Day20_Sorting.java
Day 21 Generics Day21_Generics.java
Day 22 Binary Search Trees Day22_BinarySearchTrees.java
Day 23 BST Level-Order Traversal Day23_BSTLevelOrderTraversal.java
Day 24 More Linked Lists Day24_MoreLinkedLists.java
Day 25 Running Time and Complexity Day25_RunningTimeAndComplexity.java
Day 26 Nested Logic Day26_NestedLogic.java
Day 27 Testing Day27_Testing.java
Day 28 RegEx, Patterns, and Intro to Databases Day28_RegExPatternsAndIntroToDatabases.java
Day 29 Bitwise AND Day29_BitwiseAND.java

About

My Solutions for HackerRank problems written in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages