1.givena an array rotate a matrix
2. hoisting
3. closures
4. var let const difference
5. react life cycle
6. class vs hooks
7. pure component
8. redux
9. middle ware
10. redux thunk
11. why we use middle ware
12. get the output of below
(function(){
setTimeout(()=> console.log(1),2000);
console.log(2);
setTimeout(()=> console.log(3),0);
console.log(4);…