Potential Interview Questions Flashcards

1
Q

Event delegation/Event bubbling

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Big-O Notation

A

The time complexity (not amount of time for completion) of an algorithm

  • 0(1) = constant time (the fastest time possible), the number of operations never grows as the input grows in size
  • 0(n) = linear time, each input value is operated on once, example: using a loop to iterate over every element in an array, object, or string
  • 0(n^2) = quadratic time, number of operations multiplied by 4 for each doubling of the input size n, example: nested loop
  • 0(2^n) = exponential time, extremely slow, the number of operations doubles for each additional input, example: brute-force password search
  • 0(n!) = factorial time, slowest time ever
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

AJAX

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DOM

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Scope

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Reference vs Primitive Data Types

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Closures

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Callbacks

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Asynchronous vs Synchronous

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Event Loop

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

API

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

REPL

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

REST

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Prototypal Inheritance

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly