downpunxx@fedia.io to Lemmy Shitpost@lemmy.world · 5 months agogotdamnfedia.ioimagemessage-square206fedilinkarrow-up11.22Karrow-down125cross-posted to: [email protected]
arrow-up11.2Karrow-down1imagegotdamnfedia.iodownpunxx@fedia.io to Lemmy Shitpost@lemmy.world · 5 months agomessage-square206fedilinkcross-posted to: [email protected]
minus-squarespujb@lemmy.cafelinkfedilinkEnglisharrow-up7·edit-25 months ago@[email protected] if you assign a number 1-4 from top to bottom, reading order is then the indices 3, 2, 4, 1 alternatively, if you assign 4, 2, 1, 3 to each element top to bottom, reading order is then 1, 2, 3, 4 different algorithms, same result. i had chatgpt help me out with some fancy ass notation for those interested:
minus-squareikidd@lemmy.worldlinkfedilinkEnglisharrow-up3·5 months agoInstructions unclear, dick caught in semi-colon.
I don’t understand
@[email protected]
if you assign a number 1-4 from top to bottom, reading order is then the indices 3, 2, 4, 1
alternatively, if you assign 4, 2, 1, 3 to each element top to bottom, reading order is then 1, 2, 3, 4
different algorithms, same result. i had chatgpt help me out with some fancy ass notation for those interested:
Instructions unclear, dick caught in semi-colon.