FTD, LLC interview question

1. can you construct a stack using n queues 2. write a program to sum all the digits in given number