Citi interview question

Write a binary algorithm program Write a string reverse program