A repo for storing solutions to code based interview questions
- digitalClock.js
- Accept an array of minutes, return strings in
XX:XX
format
- Accept an array of minutes, return strings in
- interviewArrays.js
- Accept a non-fixed length of nested arrays, and return the array with each name capitalized.
- Example input: `let names = ['paul', ['george', ['ringo', ['john', ['yoko']]]]]
- Example output
['Paul', ['George', ['Ringo', ['John', ['Yoko']]]]]
- repeat.js
- Accept 2 inputs, the value and the number of times to repeat the value
- Output the repeated value, with an empty string outputted for a negative repeat value