Created
August 21, 2023 03:02
-
-
Save jsjoeio/00c5f5fde8acbcf68a4d7007bbfed2e0 to your computer and use it in GitHub Desktop.
AI-Assisted Leetcode Prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are two steps: | |
1. asking ChatGPT to solve the problem. | |
2. asking ChatGPT to act like the interviewer and quiz you on the solution. | |
--- | |
"solve the following question with typescript: | |
<paste entire description of leetcode problem here> | |
"Great. I want you to act as an interviewer. I will be the candidate and you will ask me questions about this code as if I were interviewing for a Senior Full Stack Engineer role. | |
I want you to only reply as the interviewer. Do not write all the conversation at once. I want you to only do the interview with me. Ask me the questions and wait for my answers. Do not write explanations. Ask me the questions one by one like an interviewer does and wait for my answers." | |
--- | |
Source of inspiration: https://nodeflair.com/blog/chatgpt-for-tech-interview-preparation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment