I was given an array of nested JS objects with multiple properties. I needed to write a recursive function to loop throw the array to access each object and verify the value and delete the object if the value was negative. But remember that its a nested object, so its not just the outer array you're looping through
Senior Full Stack Developer Interview Questions
1,159 senior full stack developer interview questions shared by candidates
What is a closure for javascript?
Experiencias en frameworks java script incidiendo en angular
It was online test. So there were many MCQs and few coding questions too.
What's a left join in SQL?
Implement movie search consuming data from Movie DB
Do you know CAB Process?
What is the printing order? function guess() { console. log('a') setTimeout(() => {console.log('b')}, 2000) setTimeout(() => {console.log('c')}, 0) new Promise((resolve, reject) => {console.log('d') }); } guess()
Guys most of the questions are above, here I'm gonna share the question I failed, as I promised the interviewer that I'm gonna solve it, I just needed more time. The most difficult question is the following: we have this array: $input = [ 'item/id' => 'my_id', 'item/title' => 'my_title', 'item/group1/val1' => 'my_val1', 'item/group1/val2' => 'my_val2', 'summary' => 'xyz', 'item/group1/val3' => 'my_val3', ]; We need to convert it to : Array ( [item] => Array ( [id] => my_id [title] => my_title [group1] => Array ( [val1] => my_val1 [val2] => my_val2 [val3] => my_val3 ) ) [summary] => xyz ) This is using PHP.
Merge k sorted Array lists
Viewing 51 - 60 interview questions