My solutions to exercises at https://hackerrank.com.
This is my profile there: https://www.hackerrank.com/jonasraoni :)
These are my own implementations, everything should be running fast enough to pass through all tests. As I enjoy small and concise codes, whatever doesn't fit in this rule means that I've suffered or didn't have enough knowledge 😂
Note: Few codes were solved in C# (I've written them a long time ago), I'll convert to JS when I get some free time, just to keep the repository uniform.
- Greedy Florist
- Luck Balance
- Max Min
- Mark And Toys
- Minimum Absolute Difference In An Array
- Reverse Shuffle Merge
- Sherlock and The Beast
- Alternating Characters
- Circular Palindromes
- Common Child
- Sherlock And The Valid String
- Sherlock And Anagrams
- Two Strings
- A Very Big Sum
- Birthday Cake Candles
- Compare The Triplets
- Diagonal Difference
- Mini-Max Sum
- Plus Minus
- Simple Array Sum
- Staircase
- Time Conversion
- Count Triplets
- Frequency Queries
- Friend Circle Queries
- Max Array Sum
- Minimum Swaps 2
- Minimum Time Required
- Special String Again
- Triple Sum
- Find Merge Point Of Two Lists
- Insert A Node At A Specific Position In A Linked List
- Inserting a Node Into a Sorted Doubly Linked List
- Reverse A Doubly Linked List
- Army Game
- Best Divisor
- Connecting Towns
- Cutting Paper Squares
- Sherlock and Divisors
- Filling Jars
- Find the Point
- Halloween Party
- Handshake
- Is Fibo
- Leonardo's Prime Factors
- Maximum Draws
- Minimum Height Triangle
- Most Distant
- Restaurant
- Reverse Game
- Sherlock and Moving Tiles
- Sumar and the Floating Rocks
- Summing the N Series
- Strange Grid