I had a problem while I was reading the "Meet in the Middle" part of "Competitive Programmer\'s Handbook" (by Antti Laaksonen).
The book states an