Skip to content

Instantly share code, notes, and snippets.

@chadwithuhc
Last active June 29, 2018 21:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save chadwithuhc/5681aac485b8b477f4c12a2945d83a20 to your computer and use it in GitHub Desktop.
Save chadwithuhc/5681aac485b8b477f4c12a2945d83a20 to your computer and use it in GitHub Desktop.
Whiteboarding Questions
Build the following triangle in code
*
* *
* * *
* * * *
* * * * *
We could call it with `printTriangle(5)` where `5` is the number of rows to make
* Notice there are spaces between each star
# Whiteboarding
Palindrome (with native functions)
Reverse a string
FizzBuzz
factoralize
Flatten
Recursion
currying
FILO
LILO
https://github.com/gSchool/sample-whiteboard-questions
Basic
Loops https://www.freecodecamp.org/challenges/repeat-a-string-repeat-a-string
Factoralize https://www.freecodecamp.org/challenges/factorialize-a-number
Split https://www.freecodecamp.org/challenges/title-case-a-sentence
Nested Loops https://www.freecodecamp.org/challenges/return-largest-numbers-in-arrays
while loop https://www.freecodecamp.org/challenges/chunky-monkey
splice https://www.freecodecamp.org/challenges/drop-it
data map https://www.codewars.com/kata/5862e0db4f7ab47bed0000e5
data map https://www.codewars.com/kata/545cedaa9943f7fe7b000048/train/javascript
split accumulation https://www.codewars.com/kata/55bf01e5a717a0d57e0000ec/train/javascript
pangram loops https://www.codewars.com/kata/545cedaa9943f7fe7b000048/train/javascript
nested loop https://www.codewars.com/kata/5432fd1c913a65b28f000342/train/javascript
modulus https://www.codewars.com/kata/58223370aef9fc03fd000071/train/javascript
Mid
Diff Array https://www.freecodecamp.org/challenges/diff-two-arrays
recursion https://www.codewars.com/kata/persistent-bugger/train/javascript
currying, reduce https://www.codewars.com/kata/54ca3e777120b56cb6000710/train/javascript
Hard
Flatten, recursion https://www.freecodecamp.org/challenges/steamroller
while, FILO, https://www.codewars.com/kata/57b06f90e298a7b53d000a86/train/javascript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment