Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
#hash-table#arrays#algorithms
◐ MED
Implement Promise.all Polyfill
67% PassImplement Promise.all from scratch, returning a promise that resolves when all input promises resolve or rejects on first rejection.
#javascript#promises#async
● HARD
Deep Clone Object with Circular References
57% PassCreate a deepClone function that recursively copies objects, arrays, and primitives while safely handling circular references.
#javascript#recursion#weakmap
◐ MED● Solved
Flatten Nested Array with Depth Control
82% PassImplement a custom flatten function that unnests multidimensional arrays up to a specified depth without using Array.prototype.flat.
#arrays#recursion#es6