Search:

Type: Posts; User: MariaNiku

Search: Search took 0.16 seconds.

  1. Re: How to improve this algorithm's efficiency?

    Sorry for being imprecise there. The exercises are submitted via a system which checks it, testing the speed, then gives ok or else an error message. In this case the message said the code took too...
  2. How to improve this algorithm's efficiency?

    Hi all,

    This is to do with the time and space complexity of the code below, an exercise on an algorithms course. It asks the user to choose integer n, then give integers between 1 and n minus one...
Results 1 to 2 of 2