Stamping the sequence | leetcode 936 | java solution

Published --