- Tell me about yourself.
- What types of development environments have you used in the past?
class: center middle
Currying is the process by which a function of N arguments is implemented as N single-argument functions such that first of them takes in the first argument and returns a function which takes in the 2nd argument and so on, until the Nth single-argument function finally returns the value of the multi-argument function being implemented.
January 2020 - Present
You are given an array of integers and a target integer. Write a function that moves all instances of the target integer in the array to the end of the array. The order of the non-target integers in the array should be maintained.
Example
- Input: ([2, 1, 2, 2, 2, 3, 4, 2], 2)
- Output: [1, 3, 4, 2, 2, 2, 2, 2]