
please wait
|
|
True constant time is an unusual requirement |
|
|
|
|
Of course, the point was to avoid trivial looping solutions that anyone can come up with in five minutes. |
helios wrote: |
---|
and he [Duthomhas] didn't realize he could use the array for both functions. |
|
|
|
|
|
|