You are viewing a single comment's thread. Return to all comments →
anyway the time complexity is O(n+n+n) = O(n)
Seems like cookies are disabled on this browser, please enable them to open this website
Birthday Cake Candles
You are viewing a single comment's thread. Return to all comments →
anyway the time complexity is O(n+n+n) = O(n)