Skip to main content
added 77 characters in body
Source Link
user64494
  • 3.5k
  • 14
  • 22

How about brute force? This consists of $O(n^3)$ steps (the verification of positive integers $x,\, y,\, z\, $ s. t. $x+y+z \le n$) in your case.

How about brute force? This consists of $O(n^3)$ steps in your case.

How about brute force? This consists of $O(n^3)$ steps (the verification of positive integers $x,\, y,\, z\, $ s. t. $x+y+z \le n$) in your case.

Source Link
user64494
  • 3.5k
  • 14
  • 22

How about brute force? This consists of $O(n^3)$ steps in your case.