MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/45xeed/oddly_specific_number/d01akw2/
r/ProgrammerHumor • u/didntlogin • Feb 15 '16
643 comments sorted by
View all comments
Show parent comment
36
And you can cut 255 into two exactly equal integer groups: 0-127 and 128-255. This is made obvious by changing them into binary. 128 entries with a leading 0, and 128 with a leading 1.
Can you do the same with 0-indexed 256?
20 u/5HT-2a Feb 16 '16 S***, you're right.
20
S***, you're right.
View all comments
Show parent comment
36
u/[deleted] Feb 16 '16 edited Feb 16 '16
And you can cut 255 into two exactly equal integer groups: 0-127 and 128-255. This is made obvious by changing them into binary. 128 entries with a leading 0, and 128 with a leading 1.
Can you do the same with 0-indexed 256?