UTSAVS26 / PySnippets

Collection of reusable Python code snippets for all.
https://sites.google.com/view/pysnippets/
MIT License
27 stars 77 forks source link

[Feature Request]: Add Linear Search with Comparison Matrix in searching algorithms #464

Open k-harpreet opened 2 days ago

k-harpreet commented 2 days ago

Is there an existing issue for this?

Feature Description

Linear Search with Comparison Matrix: When we do a Linear Search, we go through the list one by one and check if the number we're looking for is at that position. We can keep track of each step we take, which is called a comparison matrix. It helps us see what values were checked and at which position, and it shows all the steps the algorithm took to find (or not find) the number. Why use a comparison matrix? It helps you understand how the algorithm is working, step by step. It shows exactly which items were checked, which is useful for learning how the algorithm works or debugging it.

Record

Full Name

harpreet kaur

Participant Role

GSOC

github-actions[bot] commented 2 days ago

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!