---
title: "Discussion on \"10 Days of HackeRank's challenges -Day 8\" | Hashnode"
description: "Discussion on \"10 Days of HackeRank's challenges -Day 8\". Problem statement: Array reverse\nThe question requires us to write a function that accepts an array as argument and returns a reverse of the array.\nfunction reverseArray(a){\nlet newArray=[];\nfor(let i=a.length-1;i>=0;i--){\nnewArray.push(a[i])\n}\nretur..."
url: "https://hashnode.com/posts/10-days-of-hackeranks-challenges-day-8/6429d680ffe39cc23387f5e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [10 Days of HackeRank's challenges -Day 8](https://beri28.hashnode.dev/10-days-of-hackeranks-challenges-day-8?utm_source=hashnode&utm_medium=feed)

Problem statement: Array reverse The question requires us to write a function that accepts an array as argument and returns a reverse of the array. function reverseArray(a){ let newArray=\[\]; for(let i=a.length-1;i>=0;i--){ newArray.push(a\[i\]) } retur...

Apr 2, 2023 · 1 min read · beri28.hashnode.dev  
Read the article

-   [#hackerrank](https://hashnode.com/tag/hackerrank)
-   [#competitive-programming](https://hashnode.com/tag/competitive-programming)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Berinyuy Cletus](https://hashnode.com/@Beri28)

@Beri28 · Buea,Cameroon

  
[View profile](https://hashnode.com/@Beri28)

Software Engineering student | Web developer

I am a Web developer and a software engineering student of the Faculty of Engineering and Technology (FET) University of Buea. I am interested in innovative projects, open source and anything related to software development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
