Varonis Systems interview question

find max element on a Stack