Acurus interview question

Rev a string , Armstrong number, switch case