UTSAVS26 / PyVerse

PyVerse is an open-source collection of diverse Python projects, tools, and scripts, ranging from beginner to advanced, across various domains like machine learning, web development, and automation.
https://sites.google.com/view/pyverse-python-universe/
MIT License
72 stars 197 forks source link

[Code Addition Request]: Add Reverse Array #1001

Open tanishqkolhatkar93 opened 2 hours ago

tanishqkolhatkar93 commented 2 hours ago

Have you completed your first issue?

Guidelines

Latest Merged PR Link

N/A

Project Description

Reversing an array involves changing the order of elements so that the first element becomes the last, the second becomes the second-last, and so on. This process creates a new sequence where elements are mirrored around the center. Reversing can be achieved by swapping elements from the start with elements from the end, moving towards the middle, until the entire array is reversed. This operation is useful in various applications, such as reversing data for processing or adjusting display order. The complexity is typically O(n), where n is the number of elements in the array.

Full Name

Tanishq Kolhatkar

Participant Role

GSSOC , Hacktoberfest

github-actions[bot] commented 2 hours ago

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!