You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though this was not the hardest problem and everybody can find the solution themselves, it seems like there may be a better solution when you see a small logical step in this problem.
Instead of looping over every value between 0 and 126, note that you can just find your second value by subtraction.
(I did something quickly in python for demonstration purposes):
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Even though this was not the hardest problem and everybody can find the solution themselves, it seems like there may be a better solution when you see a small logical step in this problem.
Instead of looping over every value between 0 and 126, note that you can just find your second value by subtraction.
(I did something quickly in python for demonstration purposes):
Beta Was this translation helpful? Give feedback.
All reactions