KHTangent@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoSwapping integers in Pythonlemmy.worldimagemessage-square7fedilinkarrow-up162cross-posted to: bumba@boomer.casinopython@programming.dev
arrow-up162imageSwapping integers in Pythonlemmy.worldKHTangent@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square7fedilinkcross-posted to: bumba@boomer.casinopython@programming.dev
minus-square1stTime4MeInMCU@mander.xyzlinkfedilinkEnglisharrow-up1·1 year agoThat’s like the canonical “swap two pointers” trick
That’s like the canonical “swap two pointers” trick