Skip to content

alatas/HackerRank

Repository files navigation

HackerRank Solutions

My solutions to HackerRank challenges


Included Challenges

Algorithms

Greedy
  • Maximum Perimeter Triangle (Score: 20)
Implementation
  • Apple and Orange (Score: 10)
  • Between Two Sets (Score: 10)
  • Bon Appétit (Score: 10)
  • Breaking the Records (Score: 10)
  • Divisible Sum Pairs (Score: 10)
  • Grading Students (Score: 10)
  • Kangaroo (Score: 10)
  • Sock Merchant (Score: 10)
  • Jumping on the Clouds: Revisited (Score: 15)
  • Library Fine (Score: 15)
  • Save the Prisoner! (Score: 15)
  • Viral Advertising (Score: 15)
  • Angry Professor (Score: 20)
  • Beautiful Triplets (Score: 20)
  • Circular Array Rotation (Score: 20)
  • Jumping on the Clouds (Score: 20)
  • Minimum Distances (Score: 20)
  • Non-Divisible Subset (Score: 20)
  • Repeated String (Score: 20)
  • Service Lane (Score: 20)
  • Sherlock and Squares (Score: 20)
  • Utopian Tree (Score: 20)
  • Chocolate Feast (Score: 25)
  • Cut the sticks (Score: 25)
  • Fair Rations (Score: 25)
  • Find Digits (Score: 25)
  • Flatland Space Stations (Score: 25)
  • Lisa's Workbook (Score: 25)
  • Cavity Map (Score: 30)
  • Happy Ladybugs (Score: 30)
  • Manasa and Stones (Score: 30)
  • Strange Counter (Score: 30)
  • The Grid Search (Score: 30)
  • Bigger is Greater (Score: 35)
  • Absolute Permutation (Score: 40)
  • Ema's Supercomputer (Score: 40)
  • Larry's Array (Score: 40)
  • The Bomberman Game (Score: 40)
  • Almost Sorted (Score: 50)
Strings
  • Ashton and String (Score: 100)
  • Morgan and a String (Score: 100)
  • Sherlock and Valid String (Score: 100)
  • Two Two (Score: 150)
Warmup
  • A Very Big Sum (Score: 10)
  • Birthday Cake Candles (Score: 10)
  • Compare the Triplets (Score: 10)
  • Diagonal Difference (Score: 10)
  • Mini-Max Sum (Score: 10)
  • Plus Minus (Score: 10)
  • Simple Array Sum (Score: 10)
  • Staircase (Score: 10)
  • Time Conversion (Score: 15)

Regex

Applications
  • Detect HTML links (Score: 10)
  • Detect the Domain Name (Score: 15)
  • Detect the Email Addresses (Score: 15)
  • Find a Word (Score: 15)
  • Building a Smart IDE: Identifying comments (Score: 20)
  • Detecting Valid Latitude and Longitude Pairs (Score: 20)
  • Building a Smart IDE: Programming Language Detection (Score: 30)

Directory Structure

Item Description
UnitTest.vb Unit tests main
Challenges\ Root folder for challenges
Challenges\Challenges.xml Definition file for challenges
Challenges\ChallengeId\ Challenge folder
Challenges\ChallengeId\Code.vb Challenge specific solution code
Challenges\ChallengeId\In\ Challenge specific inputs
Challenges\ChallengeId\Out\ Challenge specific expected outputs

Version History

Releases

No releases published

Packages

No packages published