lil_shi@programming.dev to Programming@programming.dev · 17 days agoWhat are some cool and obscure data structure you know of?message-squaremessage-square59linkfedilinkarrow-up1152
arrow-up1152message-squareWhat are some cool and obscure data structure you know of?lil_shi@programming.dev to Programming@programming.dev · 17 days agomessage-square59linkfedilink
minus-squarejxk@sh.itjust.workslinkfedilinkarrow-up2·15 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·15 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.