angryziber / kotlin-puzzlers

A collection of Kotlin Puzzlers
419 stars 58 forks source link

Add bitwise shift puzzler #80

Open Marcono1234 opened 2 years ago

Marcono1234 commented 2 years ago

Adds a puzzler for the shl bitwise operator, exploiting the fact that, like Java's bitwise operators, only the lowest 5 bits of the shift distance are considered.

TWiStErRob commented 2 years ago

Evil 👏