Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

O(N^2) is the time you need to write down the correct answer, provided that it takes 0 time to calculate each cell in resulting matrix


Provided it takes O(1) time not 0.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: