Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Hacking the Front-End Interview: Module 3

Freddy Rangel
March 14, 2017
27

Hacking the Front-End Interview: Module 3

Freddy Rangel

March 14, 2017
Tweet

Transcript

  1. • Write the code on paper • Test your code

    on paper • Type your paper code into your editor How to Prepare? ForwardJS Hacking the Front End Interview
  2. • Linked Lists • Trees, Tries, and Graphs • Stacks

    & Queues • Heaps • Hash Tables CS Questions: Data Structures ForwardJS Hacking the Front End Interview
  3. • Breadth-First Search • Deep-First Search • Binary Search •

    Merge Sort • Quick Sort CS Questions: Algorithms ForwardJS Hacking the Front End Interview
  4. • Memory (Stack vs Heap) • Recursion • Big O

    • Object Oriented Programing • Functional Programming CS Questions: Concepts ForwardJS Hacking the Front End Interview
  5. • Semantic Markup • CSS Animations • CSS Sprites •

    Pseudo Classes • Grid Systems HTML & CSS Question Topics ForwardJS Hacking the Front End Interview
  6. • Prototypal inheritance • Scoping • Closures • The event

    loop • Event bubbling • Apply, call, and bind • Callbacks and promises • Variable and function hoisting • Currying JavaScript Question Topics ForwardJS Hacking the Front End Interview
  7. • Listen • Example • Brute Force • Optimize •

    Walk Through • Implement • Test Approaching a Problem ForwardJS Hacking the Front End Interview
  8. Approaching a Problem: Listen ForwardJS Hacking the Front End Interview

    • Pay close attention to the problem • Ask questions to make sure you understand the problem • Pay attention to unique information
  9. • Walk up to the whiteboard and draw an example

    • Make it specific: use real numbers or strings • Don’t worry about drawing edge cases Approaching a Problem: Draw an Example ForwardJS Hacking the Front End Interview
  10. • Even if obvious to you, say it out loud.

    You don’t want the interviewer to think you’re struggling to see the easy solution • Explain the space and time complexity is for this solution Approaching a Problem: State a Brute Force Solution ForwardJS Hacking the Front End Interview
  11. • BUD Optimization • Bottlenecks • Unnecessary work • Duplicate

    work Approaching a Problem: Optimize ForwardJS Hacking the Front End Interview
  12. • Take a moment to make sure you understand the

    solution • This is a good place to do a bit of pseudocode but keep it super basic Approaching a Problem: Walk Through ForwardJS Hacking the Front End Interview
  13. • Always start at the top left corner of the

    white board. You’ll need the space • Error checks: a good compromise is to write “Todo” just to show you’re thinking about errors. Approaching a Problem: Implement ForwardJS Hacking the Front End Interview
  14. • Run through the code will small test cases •

    Run the code through edge cases • Think of this like a code review • Look for missing base bases in recursion • Integer division • etc. Approaching a Problem: Test ForwardJS Hacking the Front End Interview