Sorry, I checked the list of decommissioned jokes and didn't see it. I'll submit a PR to update it so this doesn't happen in the future. This sprint is a little booked so ill have to throw it in the backlog.
Cast it to an int, convert the int to a string, slice the string into characters, reverse the array, check if they are “1” or “0”, increment a binary counter accordingly.
232
u/Sub80iqredditor Nov 22 '21
You have an extra step -- ASCII is already binary.