Here are the answers in JS and Python for some exercises that I've been doing in Code Signal for an interview
The current list of exercise solved are:
- Merge String
- Alternating Sort
- Bounded Ratio
- Hash Map
- Mean Groups
- Count Ways to Split
- Sort Matrix By Occurrences
- Subarrays Count By Sum
- Adjacent Elements Product
- Almost Increasing Sequence
- Century From Year
- Check Palindrome
- Make Array Consecutive 2
- Matrix Elements Sum
- Shape Area
- Is ZigZag
- Binary Pattern Matching
- All Longest Strings
- Common Character Count
- Is Lucky
- Sort by Height
- Reverse in Parentheses
- Alternating Sums
- Add Border
- Are Similar?
- Array Change
- Palindrome Rearranging
- Are Equally Strong
- Array Maximal Adjacent Difference
- Avoid Obstacles
- Sums Divisible by K
- Palindrome Cutting