-
-
Notifications
You must be signed in to change notification settings - Fork 38
Add fast_arrayrev
Function for Efficient List Reversal
#90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…on with proper docstring explaination.
@extinctsion Thank you! |
Hi @sadhiin thank you for participating in hacktoberfest! I appreciate you for contributing to the open-source community. I will mark this PR as hacktoberfest-accepted and please sit back and relax while we review this PR. Have a good day! Happy coding! |
@sadhiin can you pls check why this pr is failing test cases? can you fix it? |
The error is causing after running this |
@extinctsion |
Hi @sadhiin, the github workflows are still getting failed. pls check. |
Hi buddy, recently we have fixed the checks issue, I would recommend you to pls take pull from main branch and merge it with you branch and then again push. This would resolve the pipeline issue. I'll then merge your code after review |
Sure |
Adding new updated code for github action and this branch code
Update done. |
PR Title: Add
fast_arrayrev
Function for Efficient List ReversalDescription:
This PR introduces the
fast_arrayrev
function, which efficiently reverses the elements of a given list using Python's slicing feature.Changes Made:
fast_arrayrev
function that:array[::-1]
) for optimal performance.Benefits:
Notes:
Source: https://www.geeksforgeeks.org/python-reversed-vs-1-which-one-is-faster/