CircleCI Codecov OpenJDK Python React

Let's grind HackerRank!

The project logo.

Solutions and visual explanations to HackerRank problems, fully tested using official sample test cases that are not locked behind a paywall.

Problems

Legend

Unofficial listing

Meta Coursework

Visit problem set

Official listing

Algorithms Data Structures
  • Solve Me First
  • Simple Array Sum
  • Compare the Triplets
  • A Very Big Sum
  • Diagonal Difference
  • Plus Minus
  • Staircase
  • Mini-Max Sum
  • Birthday Cake Candles
  • Time Conversion
  • Grading Students
  • Apple and Orange
  • Number Line Jumps
  • Between Two Sets
  • Breaking the Records
  • Subarray Division
  • Divisible Sum Pairs
  • Migratory Birds
  • Day of the Programmer
  • Bill Division
  • Sales by Match
  • Drawing Book
  • Counting Valleys
  • Electronic Shop
  • Cats and a Mouse
  • Forming a Magic Square
  • Picking Numbers
  • Climbing the Leaderboard
  • The Hurdle Race
  • Designer PDF Viewer
  • Utopian Tree
  • Angry Professor
  • Beautiful Days at the Movies
  • Viral Advertising
  • Save the Prisoner!
  • Circular Array Rotation
  • Sequence Equation
  • Jumping on the Clouds: Revisited
  • Find Digits
  • Extra Long Factorials
  • Append and Delete
  • Sherlock and Squares
  • Library Fine
  • Cut the Sticks
  • Non-Divisible Subset
  • Repeated String
  • Jumping on the Clouds
  • Equalize the Array
  • Queen's Attack II
  • ACM ICPC Team
  • Taum and B'day
  • Organizing Containers of Balls
  • Encryption
  • Bigger is Greater
  • Modified Kaprekar Numbers
  • Beautiful Triplets
  • Minimum Distances
  • Halloween Sale
  • The Time in Words
  • Chocolate Feast
  • Service Lane
  • Lisa's Workbook
  • Flatland Space Stations
  • Fair Rations
  • Cavity Map
  • Manasa and Stones
  • The Grid Search
  • Happy Ladybugs
  • Strange Counter
  • 3D Surface Area
  • Absolute Permutation
  • The Bomberman Game
  • Ema's Supercomputer
  • Larry's Array
  • Almost Sorted
  • Matrix Layer Rotation
  • Big Sorting
  • Super Reduced String
  • Intro to Tutorial Challenges
  • CamelCase
  • Insertion Sort - Part 1
  • Strong Password
  • Two Characters
  • Insertion Sort - Part 2
  • Correctness and the Loop Invariant
  • Caesar Cipher
  • Mars Exploration
  • Running Time of Algorithms
  • HackerRank in a String!
  • Quicksort 1 - Partition
  • Pangrams
  • Weighted Uniform Strings
  • Separate the Numbers
  • Funny String
  • Counting Sort 1
  • Counting Sort 2
  • Gemstones
  • Alternating Characters
  • The Full Counting Sort
  • Beautiful Binary String
  • Closest Numbers
  • The Love-Letter Mystery
  • Find the Median
  • Determining DNA Health
  • Insertion Sort Advanced Analysis
  • Palindrome Index
  • Fraudulent Activity Notifications
  • Anagram
  • Making Anagrams
  • Lily's Homework
  • Game of Thrones - I
  • Two Strings
  • String Construction
  • Sherlock and the Valid String
  • Highest Value Palindrome
  • Maximum Palindromes
  • Sherlock and Anagrams
  • Common Child
  • Bear and Steady Gene
  • Morgan and a String
  • Count Strings
  • String Function Calculation
  • Build a Palindrome
  • Build a String
  • Gridland Provinces
  • Cards Permutation
  • Ashton and String
  • String Similarity
  • Super Functional Strings
  • Circular Palindromes
  • Similar Strings
  • Save Humanity
  • Find Strings
  • Palindromic Border
  • Two Two
  • Two Strings Game
  • Letter Islands
  • Pseudo-Isomorphic Substrings
  • How Many Substrings?
  • Hackerland Radio Transmitters
  • Gridland Metro
  • Ice Cream Parlor

Java

Python

React