3 ms·
From my understanding it would be roughly: https://gist.github.com/bpicolo/32a7fc775ce1810c88a0 https://gist.github.com/bpicolo/32a7fc775ce1810c88a0
by bpicolo 11y ago
From my understanding it would be roughly:
https://gist.github.com/bpicolo/32a7fc775ce1810c88a0 https://gist.github.com/bpicolo/32a7fc775ce1810c88a0
- mmozeiko 11y agoI won't be array of arrays. It will be just one array.
- bpicolo 11y agowe decompose an array of size 35 into: an array of size 1 followed by arrays of sizes 4, 9, 16, 5 Then again, maybe he means `mentally decompose` in terms of pretending they're separate arrays? I interpreted it as `visualize this data structure`.
- sethammons 11y agoThat is the way I took it too
- dubroff 11y agoI also originally thought he had an array of arrays, but now I I think the run-times he mentioned for insertion and deletion would only work for a single array, not an array of arrays.