backtracking, I'm not sure about the complexity.

Greetings.

On 10/31/06, Karthik Rathinavelu <[EMAIL PROTECTED] > wrote:
Question: Given n, find the numbers in the range of 0...n which CAN'T be represented in the form of sum of squares of 3 non-negative numbers.

If anyone could possibly give a solution better than O(n^3), it will be good.

Thanks,
R.Karthik





--
Jair Cazarin Villanueva
http://slipvayne.googlepages.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups-beta.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to