Javascript objective interview practice question on arrays. In these objective questions i covered mostly used javascript array methods such push,pop,slice,shift,sort etc.
-
Related Posts (YARPP)
-
Topics
-
-
Javascript objective interview practice question on arrays. In these objective questions i covered mostly used javascript array methods such push,pop,slice,shift,sort etc.
What’s the difference between an undefined and null value in Javascript. If you are new to Javascript, probably you will find difficulty in understanding the difference between undefined and null value. How to check whether a variable is undefined or null.
In this post, i am going to discuss a puzzle minimum time to cross bridge by four people using torch.
Four people need to cross a bridge at night and they have one torch. The bridge can handle the load of only two people at a time. Person A can take 10 minutes, B takes 7 minutes, C takes 2 minutes and D takes 1 minute to cross the bridge. When two people cross the bridge together, they must move at the slower person’s pace. What’s the minimum time taken by four of them to cross the bridge.