Supposed to be implemented using some bitmap operations.
Supposed to be implemented using some bitmap operations.