Thales Interview Question

Write a function to reverse a string. What are virtual functions. Know how to use hash tables.