We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This problem is easy to solve by bitwise, we can use hashmap to optimize the solution