Sabina Akter
3 min readDec 13, 2022

--

How to make your life easier using ChatGPT

In this article I would like to share my experience on how can you get solution for Leetcode problems, how to fix errors/bugs on code. Excited, correct? Hmm I am talking about OpenAI, ChatGPT.

OpenAI: According to the OpenAI, ChatGPT interacts in a conversational way. It answers questions (including follow-up questions), admits mistakes, challenges incorrect premises and rejects inappropriate requests. It’s also capable of writing articles and blog posts.

❓Is Chatgtp free?

The software is currently free as it sits in its research phase, though there are plans to eventually charge.

Benefits?

  • You can get rid of LeetCode subscription fees 😄
  • You can save your time on researching, on how to fix bugs on your code.

Let’s get started!!

Step 1:

Go to the website https://chat.openai.com/ and signup using your name, email address and create a password. Then verify your account from your email address. Cool!!

Step 2:

Go to the Leetcode website and copy your exercise that you need help, lets see if I need help with the attached exercise:

LeetCode problem for Two Sum

Now I will copy the exercise and go to the website https://chat.openai.com/ and sign in using my user name and password. If you follow me if will see the following page attached. Now do you see the bottom bar? You can paste your leetcode problem there. Wait for a second, you need to specify the programming language, that you want the solution.

https://chat.openai.com/ UI

For the above mentioned exercise, I put python solution leetcode problem, then paste the problem like the attached screenshoot:

Paste the problem on ChatGP

My findings:

Solution of Leetcode problem

🆒. Now what else you need as an IT person? Hmm, 😅 how to fix error or bugs on cli or code, correct? I am thinking about Quora or StackOverflow. Let’s see how the ChatGPT works.

I had an issue on my macOS that pip is not found on macOS cli. I put a note on the search bar on the bottom of the page ChatGPT, slackoverflow solution pip not found in macOS. My findings are attached here:

solution for pip

😃. I just 💌💌💌💌love this ChatGPT , it has pretty much everything you need.

Thank you everyone 😃, for reading my blog!!

Stay Tuned for my next article!!

👏👏👏👏 Happy Learning!!

If you think, this article is helpful 😄, please give me a clap 👏👏 to inspire and follow me on Medium.

You can connect me on linkedin 👎

https://www.linkedin.com/in/aktersabina122/

Please follow me on Medium and Twitter 👎:

https://aktersabina122.medium.com/

https://twitter.com/aktersabina122

--

--