nostr:npub1flslgfa98hecfvqeaqqa924fdrpnx3qwyktglfzuv0gy6t73walqpfsgsw Pretty sure I ended up with O(n^3) by legitimate laziness. I've had O(n!) and O(n^n) but those were combinatorial problems where there legitimately might not be a faster way.