Trend Micro Inc. Interview Question

How to solve rubies cube?