abhisek247767 / LeetCode2024-6Companies30Days

Make your first Pull Request on Hacktoberfest 2024. Don't forget to spread love and if you like give us a ⭐️
40 stars 64 forks source link

πŸ“ƒ: 122.Best Time to Buy and Sell Stock II(Leetcode) #148

Closed TejasGupta-27 closed 1 month ago

TejasGupta-27 commented 1 month ago

🟒 Title :Best Time to Buy and Sell Stock II 🟒 Programming language :C++ 🟒 Objective :Efficient Solution 🟒 Summary : You are given an integer array prices where prices[i] is the price of a given stock on the ith day.

On each day, you may decide to buy and/or sell the stock. You can only hold at most one share of the stock at any time. However, you can buy it then immediately sell it on the same day.

Find and return the maximum profit you can achieve.


βœ… Details to Include When Taking the Issue: Name :Tejas


Happy Contributing! πŸš€

Wishing you all the best on your open source journey😍. Enjoy! 😎

github-actions[bot] commented 1 month ago

πŸ‘‹ Thanks for opening this issue! First please star the repository and follow me in github. We appreciate your feedback and will look into it as soon as possible.

TejasGupta-27 commented 1 month ago

pls check pr #152

github-actions[bot] commented 1 month ago

Hello @TejasGupta-27! Your issue #148 has been successfully closed. βœ… Thank you for your contribution and helping us improve the project! If you have any more ideas or run into other issues, feel free to open a new one. Happy coding! πŸš€