KHTangent@lemmy.world to Programmer HumorEnglish · 1 年前Swapping integers in Pythonlemmy.worldimagemessage-square16fedilinkarrow-up1168arrow-down1-1cross-posted to: bumba@boomer.casinopython@programming.dev
arrow-up1169arrow-down1imageSwapping integers in Pythonlemmy.worldKHTangent@lemmy.world to Programmer HumorEnglish · 1 年前message-square16fedilinkcross-posted to: bumba@boomer.casinopython@programming.dev
minus-square1stTime4MeInMCU@mander.xyzlinkfedilinkEnglisharrow-up1·1 年前That’s like the canonical “swap two pointers” trick
That’s like the canonical “swap two pointers” trick