Skip to content

Optimize Quick Sort, N-Sum, and fix bug in Is Palindrome#2745

Open
DhruvrajSinhZala24 wants to merge 2 commits intokeon:mainfrom
DhruvrajSinhZala24:main
Open

Optimize Quick Sort, N-Sum, and fix bug in Is Palindrome#2745
DhruvrajSinhZala24 wants to merge 2 commits intokeon:mainfrom
DhruvrajSinhZala24:main

Conversation

@DhruvrajSinhZala24
Copy link
Copy Markdown

  1. Quick Sort: Added Median-of-Three pivot selection and Insertion Sort for small subarrays.\n2. N-Sum: Refactored to reduce redundant sorts and copies using recursion with indices.\n3. Is Palindrome: Fixed potential IndexError and improved efficiency.

1. Quick Sort: Added Median-of-Three pivot selection and Insertion Sort for small subarrays.\n2. N-Sum: Refactored to reduce redundant sorts and copies using recursion with indices.\n3. Is Palindrome: Fixed potential IndexError and improved efficiency.
…thms

Optimize Quick Sort, N-Sum, and fix bug in Is Palindrome
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.

1 participant