Topic List | Page List: 1 |
---|---|
Topic | I know what a Linked List is |
warlock7735 12/11/22 2:31:35 AM #17: | [LFAQs-redacted-quote] Best i can think of in that scenario is double iteration wit a worst case of nsquared. Iterate forwards so you don't check for a combination you've already checked. Technically the run time would be something along the lines of nC2, but setting that up would still quirk out to about nsquared. --- CE Mafia Archive https://www.dropbox.com/sh/u3gaka98zsp3m0e/AADYBrilDyGYhlAbpEnac5d_a?dl=0 ... Copied to Clipboard! |
Topic List | Page List: 1 |