CPU Intensive Calculation Examples?

Viewed 27501

I need a few easily implementable single cpu and memory intensive calculations that I can write in java for a test thread scheduler.

They should be slightly time consuming, but more importantly resource consuming.

Any ideas?

7 Answers
  • Calculate nth term of the fibonacci series, where n is greater than 70. (time consuming)

  • Calculate factorials of large numbers. (time consuming)

  • Find all possible paths between two nodes, in a graph. (memory consuming)

Related