First Round: Explain the event loop, Architecutre of Nodejs
Qus 1: Evaluate the sum of the nested array [1, 2, 3, [1, 2, 3, [1, 2, 3]]];
Qus 2: let a = [1,1,1,2,2,2,3,3,3,3,4,4,4,5,5,6,6]
// output = [1,2,3,4,5,6,1,1,2,2,3,3,3,4,4,5,6]
// swap all the unique elements at the beginning of the array
Second Round:
Custom promise.all with batch processing.