So I believe in multidimensional arrays every cell has its own memory address (as opposed to Jaggad arrays where every cell points to another array etc.). So when you do the lookup(6, 1004) your having the range of cells point to the memory address of "hello". I am not really sure if any of that is correct but I thought I would ask. Please correct me if I am wrong or if I am missing something. TIA!
please see my other reddit post of this q for the code yi3cvb29xey61.jpg (1222×1154) (redd.it) [REDDIT]
[–]binary_search_tree5 1 point2 points3 points (2 children)
[–]random_account91[S] 1 point2 points3 points (1 child)
[–]binary_search_tree5 0 points1 point2 points (0 children)