Godrej Capital interview question

Data structures - stacks, strings,etc