DP World Frontend Interview Experience
I recently interviewed with DP World, and here is the information I can provide.
Flatten an array
const arr = [1,2,[1,1,[34,67,5,1,1,1,[{a: 1}]]]];
const b = [[1,2],0,0,0,[3,[4,5]],[6,7,[[[8],9]]],10];
let newArr = [];
const flatten = (arr) => {
...
palakbansal.hashnode.dev2 min read
Mandeep singh
Frontend Developer
Hey can you please tell me from where I can practice more about this kind of questions as a FE dev I can build websites but recently when I start giving the interview I found difficulties to solve this kind of a question although these questions are the easy or medium level.