Skip to content

adding a code for reversal of array in Python #47

Open
Coder00sharma wants to merge 80 commits into
add-code-of-conduct-1from
main
Open

adding a code for reversal of array in Python #47
Coder00sharma wants to merge 80 commits into
add-code-of-conduct-1from
main

Conversation

@Coder00sharma

Copy link
Copy Markdown

Let's array is arr[5] = [10, 20, 30, 40, 50] n = 5
i = 0, j = 4
As (0 is less than 4) swap(arr[0],arr[4])
arr[0]=50 and arr[4]=10, i++(i.,e i=1) and j--(i.e, j=3)
Again (1 is less than 3) swap(arr[1],arr[3])
arr[1]=40 and arr[3]=20, i++(i.,e i=2) and j--(i.e, j=2)

Burnout-Devil and others added 30 commits October 17, 2022 22:18
Signed-off-by: Akash <107811139+Akash1437@users.noreply.github.com>
Created merge sort in python
Signed-off-by: Akash <107811139+Akash1437@users.noreply.github.com>
Please accept my PR with all necessary hacktoberfest labels

Signed-off-by: amanydv72 <89766177+amanydv72@users.noreply.github.com>
Signed-off-by: Akash <107811139+Akash1437@users.noreply.github.com>
Signed-off-by: Akash <107811139+Akash1437@users.noreply.github.com>
All Operations of Linked list in c
Signed-off-by: Akash <107811139+Akash1437@users.noreply.github.com>
Signed-off-by: Akash <107811139+Akash1437@users.noreply.github.com>
Create sieve_of_eratosthenes.cpp
hacktoberfest
hacktoberfest2022

Signed-off-by: GO V IND <govind123.ga@gmail.com>
Signed-off-by: GO V IND <govind123.ga@gmail.com>
Signed-off-by: LostHeart-Gaming <116107285+LostHeart-Gaming@users.noreply.github.com>
Signed-off-by: LostHeart-Gaming <116107285+LostHeart-Gaming@users.noreply.github.com>
Signed-off-by: LostHeart-Gaming <116107285+LostHeart-Gaming@users.noreply.github.com>
Created binary Search Algorithm
Signed-off-by: LostHeart-Gaming <116107285+LostHeart-Gaming@users.noreply.github.com>
Signed-off-by: Razor-5 <116114456+Razor-5@users.noreply.github.com>
Signed-off-by: Razor-5 <116114456+Razor-5@users.noreply.github.com>
Signed-off-by: Razor-5 <116114456+Razor-5@users.noreply.github.com>
Signed-off-by: Razor-5 <116114456+Razor-5@users.noreply.github.com>
Burnout-Devil and others added 14 commits October 21, 2022 20:33
Create Balanced_Paranthesis.c
Signed-off-by: Manoj Thapa <109368904+itsmanojthapa@users.noreply.github.com>
Added code for Longest Common Subsequence (issue #70)
Signed-off-by: YashBANSAL4 <116385252+YashBANSAL4@users.noreply.github.com>
Created Reverse Path in Java
Signed-off-by: YashBANSAL4 <116385252+YashBANSAL4@users.noreply.github.com>
Left view Binary Tree in Java
Signed-off-by: YashBANSAL4 <116385252+YashBANSAL4@users.noreply.github.com>
Signed-off-by: YashBANSAL4 <116385252+YashBANSAL4@users.noreply.github.com>
Signed-off-by: Punit Soni <109447990+punitsoni22@users.noreply.github.com>
Burnout-Devil and others added 14 commits October 23, 2022 21:55
added python bubble sort algorithm

Signed-off-by: adipurnamk <muhammad.adipurna.k@gmail.com>
Signed-off-by: Tanya Bansal <91904607+22tanyabansal@users.noreply.github.com>
Signed-off-by: Tanya Bansal <91904607+22tanyabansal@users.noreply.github.com>
Signed-off-by: utkarshaskumbhar <utkarsha.kumbhar@cumminscollege.in>
Signed-off-by: Tanya Bansal <91904607+22tanyabansal@users.noreply.github.com>
Signed-off-by: Burnout-Devil <116019692+Burnout-Devil@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.