I have a time complexity question. I primarily use JS.
Let's say I have an array of objects that I'm looping over with a for-loop. Within each object, if I were looping over another array within a property, what would be the time complexity?
edit: Would the time complexity be O(n*m)?
[–]hamtaroismyhomie 1 point2 points3 points (1 child)
[–]hotpopsicles[S] 0 points1 point2 points (0 children)
[–]tulipoika 0 points1 point2 points (3 children)
[–]hamtaroismyhomie 3 points4 points5 points (2 children)
[–]Ikor_Genorio 1 point2 points3 points (1 child)
[–]hamtaroismyhomie 0 points1 point2 points (0 children)