Indexing and Slicing
0 questions
Basic slicing hands back a view onto the same memory; fancy and boolean indexing hand back a copy. Interviewers ask which is which, because mutating a view you thought was a copy corrupts the original array.
questions
0 questions