A neat approximation algorithm · HackerTrans