Back

codekata array problem

Created 2 years ago
431 Views
2 Comments
saravana1qRSP1
@saravana1qRSP1
saravana1qRSP1
@saravana1qRSP1Profile is locked. Login

You are a software engineer at an MNC. You are given the task of sorting the employees in your company based on their salary. Perform the task so that the employees, including yourself, will get a bonus from the management.

CONSTRAINT:

0<=salary<=1000000

 

Input Description:
Number of employees followed by their name and salary

Output Description:
Sorted list of employee names

Sample Input :
3
Karthik 23000 rohan 81734 varshini 12343
Sample Output :
varshini
Karthik
Rohan
Comments (2)
Please login to comment.