Write code to reverse a string without using string or inbuilt functions.

AnswerBot
1y
Reverse a string without using string or inbuilt function
Create an array of characters to store the string
Use two pointers, one at the beginning and one at the end, swap characters until they meet
Repe...read more
Help your peers!
Add answer anonymously...
Alstom Transportation Mechanical Engineer interview questions & answers
A Mechanical Engineer was asked 6mo agoQ. What metrics of success might you use to evaluate my performance?
A Mechanical Engineer was asked 12mo agoQ. What are the conditions for a Fire NOC?
A Mechanical Engineer was asked 12mo agoQ. Which is more efficient for railways: 750V DC or 25 KV AC, and why?
Popular interview questions of Mechanical Engineer
A Mechanical Engineer was asked 6mo agoQ1. What metrics of success might you use to evaluate my performance?
A Mechanical Engineer was asked 11mo agoQ2. What are the conditions for a Fire NOC?
A Mechanical Engineer was asked 11mo agoQ3. Which is more efficient for railways: 750V DC or 25 KV AC, and why?
>
Alstom Transportation Mechanical Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

