@[email protected] to [email protected]English • 9 hours agoRulelemmy.blahaj.zoneimagemessage-square31fedilinkarrow-up1216arrow-down13
arrow-up1213arrow-down1imageRulelemmy.blahaj.zone@[email protected] to [email protected]English • 9 hours agomessage-square31fedilink
minus-square@[email protected]linkfedilink12•9 hours agoWhen you sacrifice memory for an O(1) algorithm. In this case still O(n)
When you sacrifice memory for an O(1) algorithm.
In this case still O(n)
Smh this is literally what switch statements are for