Problem 42421. Reverse a string
Reverse the given string.
Example
input = 'reverse' output = 'esrever'
Solution Stats
Problem Comments
- 
		5 Comments
		    Show
		    2 older comments
		  
		  
		Jean-Marie Sainthillier
    	on 26 Jun 2015
	
	
  	Why choose a palindrome in your example ?
		James
    	on 29 Jun 2015
	
	
  	Palindromes are so oserasemordnilap
		vaibhav hosur
    	on 30 Jun 2015
	
	
  	whats the problem if its palindrome?still it works
		Jean-Marie Sainthillier
    	on 30 Jun 2015
	
	
  	Because it works even if you don't reverse anything...
		Azhar
    	on 18 Aug 2015
	
	
  	boss tht is also palindrome
Solution Comments
Show commentsProblem Recent Solvers211
Suggested Problems
- 
         
         20297 Solvers 
- 
         
         356 Solvers 
- 
         
         422 Solvers 
- 
         Sum of odd numbers in a matrix 603 Solvers 
- 
         Test Problem; Create a 5x5 array containing all ones 395 Solvers 
More from this Author4
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!