lil_shi@programming.dev to Programming@programming.dev · 6 days agoWhat are some cool and obscure data structure you know of?message-squaremessage-square59fedilinkarrow-up1150arrow-down10
arrow-up1150arrow-down1message-squareWhat are some cool and obscure data structure you know of?lil_shi@programming.dev to Programming@programming.dev · 6 days agomessage-square59fedilink
minus-squarejxk@sh.itjust.workslinkfedilinkarrow-up2·4 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·4 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.