Dialpad Interview Question

String based Stack based question System design easy