Siemens interview question

I have been asked about my projects, and program to print patterns, Reversing a string, Finding Size of a string, Implementation of stack and one Logical Puzzle.