nope, the array returns the number of index the should choose the specific character in the hardcoded string. For instance, let's look at (~~(85/10))
85 / 10 = 8.5
~8.5 = -9 (rounding 8 to nine and giving minus ahead of it)
~(-9) = 8 (-9 + 1 and giving the opposite sign)
Finally we got 8, so 'DDDDDDCCBAS'[8] = 'B'
thanks, man
always like to see your ways of realization. It teaches a lot. Thank you, dude
nope, the array returns the number of index the should choose the specific character in the hardcoded string. For instance, let's look at (~~(85/10))
85 / 10 = 8.5
~8.5 = -9 (rounding 8 to nine and giving minus ahead of it)
~(-9) = 8 (-9 + 1 and giving the opposite sign)
Finally we got 8, so 'DDDDDDCCBAS'[8] = 'B'