QuinnyCoded@sh.itjust.works to Programmer Humor@programming.dev · 18 days agoa bit of advicesh.itjust.worksimagemessage-square25fedilinkarrow-up1858arrow-down15
arrow-up1853arrow-down1imagea bit of advicesh.itjust.worksQuinnyCoded@sh.itjust.works to Programmer Humor@programming.dev · 18 days agomessage-square25fedilink
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up98·18 days agoYes, people some times live up to 120 years. You should start at 60.
minus-squareSanctimoniousApe@lemmings.worldlinkfedilinkarrow-up59·edit-218 days agoWith the limits of longevity still being pushed, I’d suggest sticking with the OP binary search theme and start at 64.
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up25·18 days agoWell, round numbers will indeed make the math easier.
minus-squareFuglyDuck@lemmy.worldlinkfedilinkEnglisharrow-up25·18 days agoIf you like round numbers, 69 is all curves.
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up2·17 days agoSo 64 is absolutely perfect being 1000000 in binary, then all you need to do is go one bit a time for a binary search.
minus-squareGoodeye8@piefed.sociallinkfedilinkEnglisharrow-up7·18 days agoAnd for obvious reasons I think the minimum age has to be 18 so really you should start at 69 (heh, nice).
Yes, people some times live up to 120 years. You should start at 60.
With the limits of longevity still being pushed, I’d suggest sticking with the OP binary search theme and start at 64.
Well, round numbers will indeed make the math easier.
If you like round numbers, 69 is all curves.
So 64 is absolutely perfect being 1000000 in binary, then all you need to do is go one bit a time for a binary search.
And for obvious reasons I think the minimum age has to be 18 so really you should start at 69 (heh, nice).
Nice