Finding indexes of elements in nested arrays
I have an array arr = [[[1, 2], [3, 4]], [5, 6]]. I am looking for a function f that returns me the indexes of the elements also in the nested array given only arr as input. For example, function(arr, 2) -> (0, 0, 1) Has some library implemented it? Of course it’s not a… Read More Finding indexes of elements in nested arrays