Awesome Open Source
Awesome Open Source

This repository contains efficient hackerrank solutions for most of the hackerrank challenges including video tutorials. If you are looking for anyone of these things -

hackerrank solutions java GitHub | hackerrank tutorial in java | hackerrank 30 days of code solutions | hackerrank algorithms solution | hackerrank cracking the coding interview solutions | hackerrank general programming solutions | hackerrank implementation solutions | hackerrank data structures solutions in java | hackerrank algorithm solution in java | hackerrank challenges solution | hackerrank practices solution | hackerrank coding challenges solutions | hackerrank questions | hackerrank problems | how to solve hackerrank practice problem in java | problem solving | coding interview | coding | programming | hackerrank interview preparation kit solution in java | problem solving with java | JAVAAID | hackerank solution | Kanahaiya Gupta

then you are at the right place. :)


Day Challenge Solution Video Explaination
0 Hello, World
1 Data Types
2 Operators
3 Intro to Conditional Statements
4 Class vs. Instance
5 Loops
6 Let's Review
7 Arrays
8 Dictionaries and Maps
9 Recursion
10 Binary Numbers
11 2D Arrays
12 Inheritance
13 Abstract Classes
14 Scope
15 Linked List
16 Exceptions - String to Integer
17 MoreExceptions
18 QueuesAndStacks
19 Interfaces
20 Sorting
21 Generics
22 BinarySearchTrees
23 BSTLevelOrderTraversal
24 MoreLinkedLists
25 RunningTimeAndComplexity
26 Nested Logic
27 Day 27: Testing
28 RegEx,Patterns,and Intro to Databases
29 Bitwise AND


Subdomain Challenge Solution Video Explaination
Introduction Welcome to Java!
Introduction Java Stdin and Stdout I
Introduction Java If-Else
Introduction Java Stdin and Stdout II
Introduction Java Output Formatting
Introduction Java Loops I
Introduction Java Loops II
Introduction Java Datatypes
Introduction Java End-of-file
Introduction Java Static Initializer Block
Introduction Java Int to String
Introduction Java Date and Time
Introduction Java Currency Formatter
Strings Java Strings Introduction
Strings Java Substring
Strings Java Substring Comparisons
Strings Java String Reverse
Strings Java Anagrams
Strings Java String Tokens
Strings Pattern Syntax Checker
Strings Valid Username Regular Expression
Strings Tag Content Extractor
Strings Java Regex
Strings Java Regex 2 - Duplicate Words
BigInteger Java BigInteger
BigInteger Java BigDecimal
BigInteger Java Primality Test
Data Structures Java 1D Array
Data Structures Java 2D Array
Data Structures Java Subarray
Data Structures Java Arraylist
Data Structures Java Map
Data Structures Java Hashset
Data Structures Java Comparator
Data Structures Java Sort
Data Structures Java List
Data Structures Java Generics
Data Structures Java Stack
Data Structures Java Dequeue
Data Structures Java BitSet
Data Structures Java Priority Queue
Data Structures Java 1D Array (Part 2)
Object Oriented Programming Java Inheritance I
Object Oriented Programming Java Inheritance II
Object Oriented Programming Java Abstract Class
Object Oriented Programming Java Interface
Object Oriented Programming Java Method Overriding
Object Oriented Programming Java Method Overriding 2(Super Keyword)
Object Oriented Programming Java Instanceof keyword
Object Oriented Programming Java Iterator
Exception Handling Java Exception Handling (Try-catch)
Exception Handling Java Exception Handling
Advanced Java Varargs - Simple Addition
Advanced Java Reflection - Attributes
Advanced Can You Access?
Advanced Java Factory Pattern
Advanced Java Singleton Pattern
Advanced Covariant Return Types
Advanced Prime Checker
Advanced Java Annotations
Advanced Java Lambda Expressions
Advanced Java MD5
Advanced Java SHA-256
Advanced Java Visitor Pattern


Subdomain Challenge Solution Video Explaination
Sorting Quicksort 1 - Partition
Sorting Marc's Cakewalk
Sorting Minimum Absolute Difference in an Array
Sorting Luck Balance
Sorting Climbing the Leaderboard Tutorial
Sorting Big Sorting
Sorting Insertion Sort - Part 1
Sorting Insertion Sort - Part 2
Sorting Correctness and the Loop Invariant
Sorting Running Time of Algorithms
Sorting Counting Sort 1
Sorting Counting Sort 2
Sorting Counting Sort 3
Sorting Intro to Tutorial Challenges
Sorting Find the Median
Sorting Closest Numbers
Sorting Mark and Toys
Sorting Jim and the Orders
search Lonely Integer Tutorial
search Bit Manipulation: Lonely Integer Tutorial
search Ice Cream Parlor Tutorial
search HashTables: IceCreamParlor Tutorial
search Minimum Loss
search Sherlock and Array Tutorial
Greedy Algorithms Marc's Cakewalk
Greedy Algorithms Luck Balance
Greedy Algorithms Equal Stacks Tutorial
Greedy Algorithms Mark and Toys
Greedy Algorithms Jim and the Orders
Greedy Algorithms Priyanka and Toys
Graph Theory Kruskal (MST): Really Special Subtree
Graph Theory Breadth First Search: Shortest Reach
Graph Theory Prim's (MST) : Special Subtree
Strings Super Reduced String
Strings Caesar Cipher
Strings Mars Exploration
Strings CamelCase
Strings Gemstones
Strings The Love-Letter Mystery
Strings Pangrams
Strings Alternating Characters
Strings Beautiful Binary String
Strings Big Sorting
Strings Anagram
Strings Two Strings
Strings Funny String
Strings String Construction
Strings Strings: Making Anagrams
Strings Making Anagrams
Strings Caesar Cipher: Encryption
Strings Game of Thrones - I
Strings Sherlock and the Valid String
Strings Separate the Numbers Tutorial
Strings PalindromeIndex Tutorial
Strings Common Child Tutorial
Recursion Recursive Digit Sum
Dynamic Programming Fibonacci Modified
Dynamic Programming The Maximum Subarray
Bit Manipulation Lonely Integer Tutorial
Bit Manipulation Bit Manipulation: Lonely Integer Tutorial
Bit Manipulation Sum vs XOR
Bit Manipulation Maximizing XOR
Bit Manipulation Sansa and XOR
Constructive Algorithms New Year Chaos Tutorial


Topic Challenge Solution Video Explaination
Techniques / Concepts Time Complexity: Primality
Techniques / Concepts Recursion: Fibonacci Numbers
Techniques / Concepts Recursion: Davis' Staircase
Techniques / Concepts Bit Manipulation: Lonely Integer Tutorial
Techniques / Concepts DP: Coin Change
Data Structures Arrays: Left Rotation Tutorial
Data Structures Strings: Making Anagrams
Data Structures Hash Tables: Ransom Note
Data Structures Linked Lists: Detect a Cycle
Data Structures Stacks: Balanced Brackets
Data Structures Trees: Is This a Binary Search Tree?
Data Structures Heaps: Find the Running Median
Data Structures Tries: Contacts
Algorithms Sorting: Bubble Sort
Algorithms Sorting: Comparator
Algorithms Hash Tables: Ice Cream Parlor
Algorithms BFS: Shortest Reach in a Graph


Subdomain Challenge Solution Video Explaination
Arrays Arrays - DS Tutorial
Arrays 2D Array - DS
Arrays Dynamic Array Tutorial
Arrays Left Rotation Tutorial
Arrays Big Sorting
Arrays Sparse Arrays Tutorial
Arrays Array Manipulation Tutorial
Stacks Maximum Element Tutorial
Stacks Balanced Brackets
Stacks Equal Stacks Tutorial
Stacks Largest Rectangle
Stacks Simple Text Editor
Trees Preorder Traversal
Trees Inorder Traversal
Trees Postorder Traversal
Trees Height of a Binary Tree
Trees Level Order Traversal
Trees Huffman Decoding
Trees Top View
Linked List Print the Elements of a Linked List
Linked List Insert a node at the head of a linked list
Linked List Insert a Node at the Tail of a Linked List
Linked List Insert a node at a specific position in a linked list
Linked List Delete a Node
Linked List Print in Reverse
Linked List Reverse a linked list
Linked List Compare two linked lists
Linked List Merge two sorted linked lists
Linked List Get Node Value
Linked List Delete duplicate-value nodes from a sorted linked list
Linked List Cycle Detection
Linked List Find Merge Point of Two Lists
Linked List Inserting a Node Into a Sorted Doubly Linked List
Linked List Reverse a doubly linked list
Tries Contacts
Tries No Prefix Set
Queues Queue using Two Stacks
Heaps QHEAP1
Heaps Jesse and Cookies
Heaps Find the Running Median
Disjoint Set Merging Communities
Disjoint Set Components in a graph


Subdomain Challenge Solution Video Explaination
Basic Programming Solve Me First Tutorial
Basic Programming Staircase Tutorial
Basic Programming Plus Minus Tutorial
Basic Programming Diagonal Difference Tutorial
Basic Programming A Very Big Sum Tutorial
Basic Programming Simple Array Sum Tutorial
Basic Programming Compare the Triplets Tutorial
Basic Programming Divisible Sum Pairs
Basic Programming Kangaroo Tutorial
Basic Programming Drawing Book Tutorial
Basic Programming Birthday Cake Candles Tutorial
Basic Programming Bon Appétit BonAppé
Basic Programming Sock Merchant Tutorial
Basic Programming Apple and Orange
Basic Programming Between Two Sets
Basic Programming Mini-Max Sum Tutorial
Basic Programming Grading Students
Basic Programming Breaking the Records
Basic Programming Migratory Birds
Basic Programming Birthday Chocolate
Basic Programming Time Conversion Tutorial
Basic Programming Library Fine
Basic Programming Save the Prisoner! Tutorial
Basic Programming Jumping on the Clouds: Revisited
Basic Programming Counting Valleys Tutorial
Basic Programming Viral Advertising
Basic Programming Beautiful Days at the Movies
Basic Programming Electronics Shop
Basic Programming Cats and a Mouse Tutorial
Basic Programming Day of the Programmer
Basic Programming The Hurdle Race
Basic Programming Utopian Tree Tutorial
Basic Programming Service Lane
Basic Programming Circular Array Rotation
Basic Programming Sherlock and Squares
Basic Programming Angry Professor Tutorial
Basic Programming Extra Long Factorials
Basic Programming Minimum Distances Tutorial
Basic Programming Non-Divisible Subset
Basic Programming Beautiful Triplets
Basic Programming Jumping on the Clouds Tutorial
Basic Programming Equalize the Array Tutorial
Basic Programming Designer PDF Viewer
Basic Programming Forming a Magic Square
Basic Programming Repeated String Tutorial
Basic Programming Bitwise AND
Basic Programming Divisible Pairs Sum
Basic Programming Append and Delete
Basic Programming Picking Numbers Tutorial
Basic Programming Climbing the Leaderboard Tutorial
Basic Programming Sequence Equation
Basic Programming Find Digits Tutorial
Basic Programming Chocolate Feast
Basic Programming Cut the sticks
Basic Programming ACM ICPC Team Tutorial
Basic Programming Taum and B'day
Basic Programming The Time in Words
Basic Programming Flatland Space Stations
Basic Programming Lisa's Workbook
Basic Programming Fair Rations
Basic Programming Manasa and Stones
Basic Programming Cavity Map
Basic Programming The Grid Search
Basic Programming Happy Ladybugs
Basic Programming Strange Counter
Basic Programming Consecutive 1's in Binary Numbers Tutorial
Basic Programming Bigger is Greater Tutorial


Subdomain Challenge Solution Video Explaination
Brute Force Day of the Programmer
Brute Force Pangrams
Brute Force Climbing the Leaderboard Tutorial
Brute Force Strings: Making Anagrams
Brute Force Encryption
Brute Force Making Anagrams


Subdomain Challenge Solution Video Explaination
Dictionaries and Hashmaps Count Triplets Tutorial
Search Triple sum Tutorial
String Manipulation Common Child Tutorial


1) Cracking the Coding Interview

2) Algorithms Hardcover

3) The Algorithm Design Manual

4) Data Structures & Algorithms in Java

5) Data Structures and Algorithms Made Easy

6) Grokking Algorithms

7) Dynamic Programming for Coding Interviews

8) Introduction to Algorithms

9) Elements of Programming Interviews in Java

10) Programming Interviews Exposed

DISCLAIMER: This above mentioned resources have affiliate links, which means if you buy one of the product from my links, I’ll receive a small commission. This helps support the channel and allows us to continue to add more tutorial. Thank you for the support!

*NOTE: All above shared learning resources are best of my knowledge as I have personally read all except one Introduction to Algorithms.

Alternatives To Hackerrank Solutions
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (385,046
String (42,486
Structure (10,198
Interview (5,131
Hackerrank (1,152
Algorithms And Data Structures (670
Coding Challenge (556
Algorithm Challenges (276
Hackerrank Solutions (274
Data Structures And Algorithms (200
Cracking The Coding Interview (76
30daysofcode (70
Hackerrank Challenges (43
Hackerrank Algorithms Solutions (33
Hackerrank Java (22
Hackerrank Problem Solving (5
Hackerrank Problem Solutions (4
Hackerrank All Solutions (3
Hackerrank Practice (3
Hackerrank Solutions Github (3