Oracle interview question

Implement a Stack using Array, reverse a string , Anagram of String