4 ms·
A bit offtopic -- what O(n^4) naive algorithm have you in mind? I cannot really think of any -- just implementing the definition gives you O(n^3).
by xyzzyz 15y ago
A bit offtopic -- what O(n^4) naive algorithm have you in mind? I cannot really think of any -- just implementing the definition gives you O(n^3).
- Daniel_Newby 15y agoOops. Thanks for the correction.