Sai Reddy

Sai Reddy

  • NA
  • 214
  • 28.4k

Reverse the column values

May 13 2018 10:30 AM
 Hi, I have faced the following question. Can you give me the solution?
 
Question 1:
Input:
 
Id Name
1 A
2 B
3 C
4 D
5 E
6 F
 
Output:
 
Id Name
1 F
2 E
3 D
4 C
5 B
6 A
 
Question 2:
 
String: NETXCELLE
 
How many times 'E' repeated in the above string?

Answers (1)