Mac@programming.dev to Advent Of Code@programming.dev · 1 year ago[2023 Day 6] No optimization neededprogramming.devimagemessage-square11fedilinkarrow-up14arrow-down10
arrow-up14arrow-down1image[2023 Day 6] No optimization neededprogramming.devMac@programming.dev to Advent Of Code@programming.dev · 1 year agomessage-square11fedilink
minus-squareDiplomjodler@feddit.delinkfedilinkarrow-up0·1 year agoJust use dictionaries in Python. Never worry about search performance any more.
minus-squarebob_lemon@feddit.delinkfedilinkarrow-up2·edit-21 year agoI mean, that literally failed just yesterday. Also I’m not sure where in today’s problem you would even use a dictionary
minus-squareSpaghetti_Hitchens@kbin.sociallinkfedilinkarrow-up1·1 year agoIf you don’t know the meaning of a word, you can literally Google “{The word you don’t know} definition.” Google.com is a really handy and easily-accessed dictionary.
Just use dictionaries in Python. Never worry about search performance any more.
I mean, that literally failed just yesterday.
Also I’m not sure where in today’s problem you would even use a dictionary
If you don’t know the meaning of a word, you can literally Google “{The word you don’t know} definition.” Google.com is a really handy and easily-accessed dictionary.