Skip to content

This a solution for ReverseArray(a) that takes and array of integers and reverses it #e.g [1,4,5,6,9,8]->[8,9,6,5,4,1]

Notifications You must be signed in to change notification settings

mercymugambi/ReverseArray-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

ReverseArray-Challenge Challenge quest - easy category - leetcode

Write a Function/method ReverseArray(a) that takes and array of integers and reverses it

e.g [1,4,5,6,9,8]->[8,9,6,5,4,1]

Solution

a = [1,4,5,6,9,8]

x = a.reverse()

print(a)

About

This a solution for ReverseArray(a) that takes and array of integers and reverses it #e.g [1,4,5,6,9,8]->[8,9,6,5,4,1]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages