This repository holds solutions in various languages for challenges on HackerRank. I'll happily accept any pull requests if you want to add a valid solution.
If you find any issues with the solutions in the repository, open an issue and I will take a look.
My HackerRank profile is at https://www.hackerrank.com/jdupont.
- Solve Me First
- Simple Array Sum
- Compare the Triplets
- A Very Big Sum
- Diagonal Difference
- Plus Minus
- Staircase
- Mini-Max Sum
- Time Conversion
- Birthday Cake Candles
- Grading Students
- Apple and Orange
- Kangaroo
- Between Two Sets
- Divisible Sum Pairs
- Breaking the Records
- Migratory Birds
- Bon Appetit
- Sock Merchant
- Drawing Book
- Cats and a Mouse
- 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
- Encryption
- Bigger is Greater
- Modified Kaprekar Numbers
- Beautiful Triplets
- Minimum Distances
- 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
- Larry's Array
- Matrix Layer Rotation
- Super Reduced String
- CamelCase
- Two Characters
- Caesar Cipher
- Mars Exploration
- HackerRank in a String!
- Pangrams
- Weighted Uniform Strings
- Funny String
- Gemstones
- Alternating Characters
- Beautiful Binary String
- The Love-Letter Mystery
- Anagram
- Making Anagrams
- Game of Thrones - I
- Two Strings
- String Construction
- Sherlock and Valid String
- Common Child
- Bear and Steady Gene
- Intro to Tutorial Challenges
- Insertion Sort - Part 1
- Insertion Sort - Part 2
- Correctness and the Loop Invariant
- Running Time of Algorithms
- Quicksort 1 - Partition
- Quicksort 2 - Sortning
- Quicksort In-Place
- Running Time of Quicksort
- Counting Sort 1
- Counting Sort 2
- Counting Sort 3
- The Full Counting Sort
- Closest Numbers
- Find the Median
- Hackerland Radio Transmitters
- Missing Numbers
- Pairs
- Sherlock and Array
- Breadth First Search: Shortest Reach
- Minimum Absolute Difference in an Array
- Marc's Cakewalk
- Luck Balance
- Maximum Perimeter Triangle
- Sherlock and The Beast
- Fibonacci Modified
- Gaming Array
- New Year Chaos
- Lonely Integer
- Maximizing XOR
- Counter game
- Xor-sequence
- Sum vs XOR
- Flipping bits
- Sansa and XOR
- Cipher
- A or B
- Alice and Bob's Silly Game