In C#, a flags enum lets you mix multiple enum values using bitwise operations, it's a unique form of enum.
Bitwise technique is somewhat familiar with who participate in competitive programming. But the iota part I haven't known yet, great post btw.
Nice! I had not considered using left shift to emulate Flags, so this article was very insightful.
Bitwise technique is somewhat familiar with who participate in competitive programming. But the iota part I haven't known yet, great post btw.
Nice! I had not considered using left shift to emulate Flags, so this article was very insightful.