https://foxstack.blogspot.com/2022/04/bitwise-and-problem-solving.html