ChatGPT Prompt Guide for LeetCode questions

  Рет қаралды 2,307

AlgoMonster

AlgoMonster

Күн бұрын

Пікірлер: 3
@yanikjayaram
@yanikjayaram Жыл бұрын
2:39 - you say it's O(n^2) without explaining 'why' it's O(n^2). Perhaps it's obvious to you, but for an audience who came here to learn this, it isn't. Looking at that code, I'm not seeing a nested loop - rather I'm seeing one loop, implying to me the runtime would be O(n).
@algo.monster
@algo.monster Жыл бұрын
thanks for the comment! there is a nested loop, the outer one is "for i in range(1, n+1)" and the inner one is "for i in banned"?
@yanikjayaram
@yanikjayaram Жыл бұрын
@@algo.monster ah got it thanks! do you tutor by chance?
10X Your Code with ChatGPT:  How to Use it Effectively
17:14
Dave's Garage
Рет қаралды 345 М.
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 2,8 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 166 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 31 МЛН
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 300 М.
ChatGPT Will TRANSFORM How You Learn to Code
10:56
Andy Sterkowitz
Рет қаралды 85 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 3,7 МЛН
Google Coding Interview With A Facebook Software Engineer
49:59
Clément Mihailescu
Рет қаралды 945 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,7 МЛН
Google Coding Interview With A Competitive Programmer
54:17
Clément Mihailescu
Рет қаралды 2,5 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33