/code_challenges

Some javascript solutions from Hackerrank and Leetcode

Primary LanguageJavaScript

Code Challenge Solutions

(Still in progress)

Solutions to problems on HackerRank and Leetcode.

Solutions are written in Javascript

Algorithm Prompt Source Level Solution
Angry Professor HackerRank Easy solution
Beautiful Days at the Movies HackerRank Easy solution
Between Two Sets HackerRank Easy solution
Birthday Cake Candles HackerRank Easy solution
Bon Appetit HackerRank Easy solution
Birthday Chocolate HackerRank Easy solution
Breaking Best and Worst Records HackerRank Easy solution
Camel Case HackerRank Easy solution
Cats and a Mouse HackerRank Easy solution
Container with Most Water LeetCode Medium solution
Circular Array Rotation HackerRank Easy solution
Compare the Triplets HackerRank Easy solution
Counting Valleys HackerRank Easy solution
Cut the Sticks HackerRank Easy solution
Day of the Programmer HackerRank Easy solution
Designer PDF Viewer HackerRank Easy solution
Diagonal Difference HackerRank Easy solution
Divisible Sum Pair HackerRank Easy solution
Drawing Book HackerRank Easy solution
Encryption HackerRank Medium solution
Electronics Shop HackerRank Easy solution
Equality in Arrays HackerRank solution
Extra Long Factorials HackerRank Medium solution
Find Digits HackerRank Easy solution
Grading Students HackerRank Easy solution
Halloween Sale HackerRank Easy solution
Hurdle Race HackerRank Easy solution
Integer To Roman LeetCode Medium solution
Jumping on the Clouds HackerRank Easy solution
Kangaroo HackerRank Easy solution
Left Rotation HackerRank Easy solution
Longest Palindromic Substring LeetCode Medium solution
Longest Substring Without Repeating Characters LeetCode Medium solution
Mark and Toys HackerRank Easy solution
Median of Two Sorted Arrays LeetCode Hard solution
Migratory Birds HackerRank Easy solution
Mini Max Sum HackerRank Easy solution
Minimum Distances HackerRank Easy solution
New Year Chaos HackerRank Easy solution
Palindrome Number LeetCode Easy solution
Plus Minus HackerRank Easy solution
Repeated String HackerRank Easy solution
Save The Prisoner HackerRank Easy solution
Service Lane HackerRank Easy solution
Sherlock and the Valid String HackerRank Medium solution
Sock Merchant HackerRank Easy solution
Staircase HackerRank Easy solution
Strange Advertising HackerRank solution
Time Conversion HackerRank Easy solution
Two Sum LeetCode Easy solution
Utopian Tree HackerRank Easy solution
Viral Advertising HackerRank Easy solution