Using the programming language of your choice, what are the fewest number of characters needed to reverse an array of integers?
Using the programming language of your choice, what are the fewest number of characters needed to reverse an array of integers?
Permalink: http://problemotd.com/problem/cheap-reverse/
Content curated by @MaxBurstein
Comments:
btgrant-76 - 10 years, 4 months ago
Scala:
Array[Int]().reverse
reply permalink
Anonymous - 10 years, 4 months ago
python 2.7
reply permalink
Anonymous - 10 years, 4 months ago
C#
a.Reverse()
reply permalink