shikha-code36 / competitive-python Goto Github PK
View Code? Open in Web Editor NEWPython Algorithms Package used in competitive programming
Home Page: https://pypi.org/project/competitivepython/
License: MIT License
Python Algorithms Package used in competitive programming
Home Page: https://pypi.org/project/competitivepython/
License: MIT License
The current error message in the linear_search function says "An error occurred during binary search". This is misleading because the function is actually a linear search, not a binary search. The error message should be updated to reflect this.
Proposed Change:
Update the error message in the linear_search function from:
logging.exception("An error occurred during binary search: %s", e)
To :
logging.exception("An error occurred during linear search: %s", e)
This will help users better understand the nature of the error and what function it occurred in.
I already made a pull request on this issue - #1
Thank you for considering my contribution. ๐ค
I noticed that the searches directory of this repository does not currently contain a sequential search implementation. I would like to add this functionality by creating a new module in the searches directory. The module would contain a function called sequential_search that takes an input list and target value and returns the index of the target value in the list, or -1 if the target value is not found.
Please assign this issue to me and then I will create a new branch to add this code, and create a pull request once it is completed.
Thank you for considering this contribution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.