Question d’entretien chez Wipro

Reverse a string without using reverse function, Remove special characters from string. Find the second highest salary