lil_shi@programming.dev to Programming@programming.dev · 15 days agoWhat are some cool and obscure data structure you know of?message-squaremessage-square33fedilinkarrow-up1127arrow-down10
arrow-up1127arrow-down1message-squareWhat are some cool and obscure data structure you know of?lil_shi@programming.dev to Programming@programming.dev · 15 days agomessage-square33fedilink
minus-squarejxk@sh.itjust.workslinkfedilinkarrow-up2·12 days agoOh yeah that’s a good one And also, if you’re representing a 0/1 matrix, you can just do away with the first column altogether.
minus-squareGobbel2000@programming.devlinkfedilinkarrow-up1·12 days agoRight, which occurs in particular when dealing with graphs, which are basically matrices and usually sparse. Large graphs are what I used this format for, however I also needed edge weights, so the first column was still required for that.
Oh yeah that’s a good one
And also, if you’re representing a 0/1 matrix, you can just do away with the first column altogether.
Right, which occurs in particular when dealing with graphs, which are basically matrices and usually sparse. Large graphs are what I used this format for, however I also needed edge weights, so the first column was still required for that.