Skip to content

Latest commit

 

History

History
138 lines (126 loc) · 26 KB

README.md

File metadata and controls

138 lines (126 loc) · 26 KB

alt text

There are my solutions of HackerRank challenges.


If it is useful for you - I am happy. Please, press star.
If you know, how to make my solution better - please, text me.

Problem solving

Algorithms

#Warmup

Easy
  1. Solve Me First | Problem | Solution | Score: 1
  2. Simple Array | Problem | Solution | Score: 10
  3. Compare the Triplets | Problem | Solution | Score: 10
  4. A Very Big Sum | Problem | Solution | Score: 10
  5. Diagonal Difference | Problem | Solution | Score: 10
  6. Plus Minus | Problem | Solution | Score: 10
  7. Staircase | Problem | Solution | Score: 10
  8. Mini-Max Sum | Problem | Solution | Score: 10
  9. Birthday Cake Candles | Problem | Solution | Score: 10
  10. Time Conversion | Problem | Solution | Score: 15

#Implementation

Easy
  1. Grading Students | Problem | Solution | Score: 10
  2. Apple and Orange | Problem | Solution | Score: 10
  3. Number Line Jumps | Problem | Solution | Score: 10
  4. Between Two Sets | Problem | Solution | Score: 10
  5. Breaking the Records | Problem | Solution | Score: 10
  6. Sub-array Division | Problem | Solution | Score: 10
  7. Divisible Sum Pairs | Problem | Solution | Score: 10
  8. Migratory Birds | Problem | Solution | Score: 10
  9. Day of the Programmer | Problem | Solution | Score: 15
  10. Bill Division | Problem | Solution | Score: 10
  11. Sales by Match | Problem | Solution | Score: 10
  12. Drawing Book | Problem | Solution | Score: 10
  13. Counting Valleys | Problem | Solution | Score: 15
  14. Electronics Shop | Problem | Solution | Score: 15
  15. Cats and a Mouse | Problem | Solution | Score: 15
  16. Picking Numbers | Problem | Solution | Score: 20
  17. The Hurdle Race | Problem | Solution | Score: 15
  18. Designer PDF Viewer | Problem | Solution | Score: 20
  19. Utopian Tree | Problem | Solution | Score: 20
  20. Angry Professor | Problem | Solution | Score: 20
  21. Beautiful Days at the Movies | Problem | Solution | Score: 15
  22. Viral Advertising | Problem | Solution | Score: 15
  23. Save the Prisoner | Problem | Solution | Score: 15
  24. Circular Array Rotation | Problem | Solution | Score: 20
  25. Sequence Equation | Problem | Solution | Score: 20
  26. Jumping on the Clouds: Revisited | Problem | Solution | Score: 15
  27. Find Digits | Problem | Solution | Score: 25
  28. Append and Delete | Problem | Solution | Score: 20
  29. Sherlock and Squares | Problem | Solution | Score: 20
  30. Library Fine | Problem | Solution | Score: 15
  31. Cut the sticks | Problem | Solution | Score: 25
  32. Repeated String | Problem | Solution | Score: 20
  33. Jumping on the Clouds | Problem | Solution | Score: 20
  34. Equalize the Array | Problem | Solution | Score: 20
  35. ACM ICPC Team | Problem | Solution | Score: 25
  36. Taum and B'day | Problem | Solution | Score: 25
  37. Modified Kaprekar Numbers | Problem | Solution | Score: 30
  38. Beautiful Triplets | Problem | Solution | Score: 20
  39. Minimum Distances | Problem | Solution | Score: 20
  40. Halloween Sale | Problem | Solution | Score: 20
  41. Chocolate Feast | Problem | Solution | Score: 25
  42. Service Lane | Problem | Solution | Score: 20
  43. Lisa's Workbook | Problem | Solution | Score: 25
  44. Flatland Space Stations | Problem | Solution | Score: 25
  45. Fair Rations | Problem | Solution | Score: 25
  46. Cavity Map | Problem | Solution | Score: 30
  47. Manasa and Stones | Problem | Solution | Score: 30
  48. Happy Ladybugs | Problem | Solution | Score: 30
  49. Strange Counter | Problem | Solution | Score: 30

#Strings

Easy
  1. Super Reduced String | Problem | Solution | Score: 10
  2. CamelCase | Problem | Solution | Score: 15
  3. Strong Password | Problem | Solution | Score: 15
  4. Two Characters | Problem | Solution | Score: 20
  5. Caesar Cipher | Problem | Solution | Score: 15
  6. Mars Exploration | Problem | Solution | Score: 15
  7. HackerRank in a String! | Problem | Solution | Score: 20
  8. Pangrams | Problem | Solution | Score: 20
  9. Weighted Uniform Strings | Problem | Solution | Score: 20
  10. Separate the Numbers | Problem | Solution | Score: 20
  11. Funny String | Problem | Solution | Score: 25
  12. Gemstones | Problem | Solution | Score: 20
  13. Alternating Characters | Problem | Solution | Score: 20
  14. Beautiful Binary String | Problem | Solution | Score: 20
  15. The Love-Letter Mystery | Problem | Solution | Score: 20
  16. Palindrome Index | Problem | Solution | Score: 25
  17. Anagram | Problem | Solution | Score: 25
  18. Making Anagrams | Problem | Solution | Score: 30
  19. Game of Thrones - I | Problem | Solution | Score: 30
  20. Two Strings | Problem | Solution | Score: 25
  21. String Construction | Problem | Solution | Score: 25

#Sorting

Easy
  1. Big Sorting | Problem | Solution | Score: 20
  2. Intro to Tutorial Challenges | Problem | Solution | Score: 30
  3. Insertion Sort - Part 1 | Problem | Solution | Score: 30
  4. Insertion Sort - Part 2 | Problem | Solution | Score: 30
  5. Correctness and the Loop Invariant | Problem | Solution | Score: 30
  6. Running Time of Algorithms | Problem | Solution | Score: 30
  7. Quicksort 1 - Partition | Problem | Solution | Score: 10
  8. Counting Sort 1 | Problem | Solution | Score: 30
  9. Counting Sort 2 | Problem | Solution | Score: 30
  10. Closest Numbers | Problem | Solution | Score: 35
  11. Find the Median | Problem | Solution | Score: 35

#Search

Easy
  1. Ice Cream Parlor | Problem | Solution | Score: 30
  2. Missing Numbers | Problem | Solution | Score: 45
  3. Sherlock and Array | Problem | Solution | Score: 40

#Greedy

Easy
  1. Beautiful Pairs | Problem | [Solution] | Score: 30
  2. Priyanka and Toys | Problem | Solution | Score: 30
  3. Largest Permutation | Problem | [Solution] | Score: 30
  4. Minimum Absolute Difference in an Array | Problem | Solution | Score: 15
  5. Marc's Cakewalk | Problem | Solution | Score: 15
  6. Grid Challenge | Problem | Solution | Score: 20
  7. Luck Balance | Problem | Solution | Score: 20
  8. Maximum Perimeter Triangle | Problem | Solution | Score: 20
  9. Sherlock and The Beast | Problem | Solution | Score: 30
  10. Mark and Toys | Problem | Solution | Score: 35
  11. Jim and the Orders | Problem | Solution | Score: 40
  12. Permuting Two Arrays | Problem | Solution | Score: 40