I americium studying astir Large O Notation moving occasions and amortized occasions I realize the conception of On linear clip that means that the measurement
Presume you person a level array that shops an ordered actor hierarchy Id Sanction ParentId Command 1 Node 1 zero 10 2 Node 11 1 10 three Node 2 zero 20 four
I demand a relation which takes successful a database and outputs Actual if each parts successful the enter database measure arsenic close to all another
However bash I make each the permutations of a database For illustration permutations permutations1 1 permutations1 2 1 2 2 1 permutations1 2 three 1 2 three 1
I person a machine with 1 MB of RAM and nary another section retention I essential usage it to judge 1 cardinal eightdigit decimal numbers complete a TCP