Arrays
Comes up in: Recruiter screen, DSA
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
- creating, indexing,
length push/pop/shift/unshiftslicevssplicemap,filter,reduce,find,some,every,includes,sort(with comparator!)- mutating vs non-mutating
Words you will know
What you will practise
- shopping list operations
sortnumbers trap
Interview questions this answers
- Why does
[10, 1, 2].sort()give[1, 10, 2]?