3 ms·
Great questions. Well off the top of my head, you could just post multiple solutions to the same problem specification. Just like you can have multiple (valid)
by cloogshicer 6y ago
Great questions. Well off the top of my head, you could just post multiple solutions to the same problem specification. Just like you can have multiple (valid) answers to the same StackOverflow question.
That's why it would be awesome if you also added performance/memory characteristics to each solution you posted - then you could easily see which one is better for your situation.
Actually, even better - the memory/performance constraints could/should arguably be part of the problem formulation in the first place.