JenilGajjar20 / Competitive-Programming_problems

This repository contains a collection of problems from platforms like CodeChef, LeetCode, HackerRank, etc, which are solved by our contributors.
19 stars 83 forks source link

Python solution added for Search in rotated sorted array #138

Closed sadhiin closed 1 year ago

sadhiin commented 1 year ago

Pull Request: Added Search in rotated sorted array | Cpp & Python solution

Description: āœØ This PR adds the "Search in rotated sorted array" problem to the repository. It includes a List data structure implementation, making it a valuable addition to the collection of DSA and algorithmic implementations in the repository.

Changes Made: āž• Added the "Search in rotated sorted array" problem description to a new problem.md file. Included examples and constraints in the problem description. Provided a Cpp and Python solution in a new solution.cpp & solution.py file with descriptive variable names and detailed comments for clarity.

Usage: šŸ‘©ā€šŸ’» Developers can access the problem statement in the problem.md file. A sample solution is provided in the solution.py file, making it easier to understand the problem's implementation.

Problem

image

Solution

image

Checklist

sadhiin commented 1 year ago

Hi @JenilGajjar20 , I fixed the file name, and I am sorry for the inconvenience.

JenilGajjar20 commented 1 year ago

It's alright @sadhiin. Don't be sorry. šŸ™‚