Rakuten Interview Question

Leetcode question like linked-list, decode string