KHTangent@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoSwapping integers in Pythonlemmy.worldimagemessage-square8fedilinkarrow-up168arrow-down11cross-posted to: python@programming.dev
arrow-up167arrow-down1imageSwapping integers in Pythonlemmy.worldKHTangent@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square8fedilinkcross-posted to: python@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