You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: js3.html
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -434,6 +434,13 @@ <h3>algorithm related Question (will some future blog)</h3>
434
434
</ul>
435
435
<h3>Medium level question for js3</h3>
436
436
<ul>
437
+
<li>Define a function that returns n lines of Pascal’s Triangle. (this question was the entire interview)</li>
438
+
<li>Define a function that takes an array of strings, and returns the most commonly occurring string that array (this question came with an execution time limit)</li>
439
+
<li>Use recursion to log a fibonacci sequence of n length.</li>
440
+
<li>Explain the use cases for, and differences between — bind, apply and call.</li>
441
+
<li>What is the event loop?</li>
442
+
<li>Which new JavaScript / browser features are you most excited about and why?</li>
443
+
<li>What are the differences between functional and imperative programming styles, and explain your preference, if any.</li>
437
444
<li>what is same origin policy with regards to JS</li>
438
445
<li>~~3.14 ?? what and why. <ahref="http://stackoverflow.com/questions/5971645/what-is-the-double-tilde-operator-in-javascript">answer here</a> or <ahref="http://www.joezimjs.com/javascript/great-mystery-of-the-tilde/">great mystery of tilde</a></li>
439
446
<li>difference between cookies, sessionStorage and local storage</li>
0 commit comments