LINE interview question

Some difficult algorithm questions