We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
He's definitely wrong each loop runs n times he has 6 loops that's already O(n^4) + the O(n^2) also for each loop he's using a linear approach which also kills his time complexity
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 11: 2D Arrays
You are viewing a single comment's thread. Return to all comments →
He's definitely wrong each loop runs n times he has 6 loops that's already O(n^4) + the O(n^2) also for each loop he's using a linear approach which also kills his time complexity