Amazon Interview Question

Create a unique id generator with progressing difficulty