Skip to content

Solution #35 - Abdul Wahab - 14/07/2025 #62

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AbdulWahab938
Copy link
Contributor

@AbdulWahab938 AbdulWahab938 commented Jul 14, 2025

This PR adds a solution for Leetcode Problem: Search Insert Position.
The goal is to determine the index at which a given target value should be inserted in a sorted integer array.
If the target already exists in the array, its index is returned. Otherwise, the method returns the correct insertion point to maintain the array's sorted order.
An efficient O(logN) solution is implemented using binary search, which finds either the target or its lower bound position.

@AbdulWahab938 AbdulWahab938 changed the title Search Insert position 14-07 #3 - Search Insert position - Easy Jul 17, 2025
Copy link
Member

@JRS296 JRS296 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly use the template and fix the naming of the files (examplanation.md and file name)

@AbdulWahab938 AbdulWahab938 changed the title #3 - Search Insert position - Easy Solution #35 - Search Insert position - Easy Jul 19, 2025
@AbdulWahab938 AbdulWahab938 force-pushed the feature/search-insert-position branch from e171717 to c892599 Compare July 19, 2025 10:57
@AbdulWahab938 AbdulWahab938 changed the title Solution #35 - Search Insert position - Easy Solution #35 - Abdul Wahab - 14/07/2025 Jul 19, 2025
@AbdulWahab938 AbdulWahab938 force-pushed the feature/search-insert-position branch from c892599 to 04c43fa Compare July 19, 2025 10:58
@AbdulWahab938
Copy link
Contributor Author

Kindly use the template and fix the naming of the files (examplanation.md and file name)

Done Jonathan, i have made the changes could you please re-review it again.

@AbdulWahab938 AbdulWahab938 requested a review from JRS296 July 19, 2025 11:00
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.

2 participants