Data Structure is my weakness and I want to get a deeper understanding on it. would appreciate some clarification here.
sandwiches = [["cheese", "ham"], ["avocado", "bacon"], ["tomato","pesto","cheese","mayo"], ["egg"], ["turkey", "ketchup", "mustard"]]
Please correct me if I am wrong. thanks!
Inside sandwiches, there is 1 array. Inside the sub-sandwiches array, there are 5 arrays.
But I'm stuck on understanding how many elements there are in the sandwiches array and the sub sandwiches array.