MY ULTIMATE LEETCODE TRICKS

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • 📝 PK'S LEETCODE CHEAT SHEET 👉 piratekingdom.com/leetcode
    ▶️ How to Prepare LeetCode Effectively 👉 • How to Use LeetCode Ef...
    👑 FOR YOU 👑
    🎖️ $1000 OFF ANY Online Tech Bootcamps. See if you qualify for the JOB GUARANTEE! 👉 piratekingdom.com/deals/sprin...
    🤖 PK's AI-powered quiz app 👉 piratekingdom.com + click "AI"
    ⬆️ 100% FREE until you're hired! 1-on-1 career mentorship from top-notch professionals at FAANG 👉 piratekingdom.com/deals/pathrise
    ⚛️ Get promotions and pay raises faster! 👉 piratekingdom.com/deals/taro
    ⚡️ Get Elite REMOTE US software jobs from your HOME COUNTRY WITHOUT needing a VISA! 👉 piratekingdom.com/deals/turing
    🤑 FREE Stuff + Great Deals 👉 piratekingdom.com/deals
    📖 FREE Software Development CURRICULUM 👉 piratekingdom.com/curriculum/...
    📝 My ULTIMATE LeetCode Cheat Sheet 👉 piratekingdom.com/leetcode
    📄 Download PK's ULTIMATE FAANG Resume 👉 piratekingdom.com/resume
    ⚙️ My UA-cam & Couch Setups 👉 piratekingdom.com/tech
    📖 Recommended Courses (Full List 👉 www.piratekingdom.com/courses...)
    - Python for Everybody Specialization by U of Michigan: imp.i384100.net/NKgqzK
    - Introduction to Programming with Python and Java Specialization by U Penn: imp.i384100.net/7m4Nby
    - Meta Front-End Developer Professional Certificate: imp.i384100.net/156NGd
    - Meta Back-End Developer Professional Certificate: imp.i384100.net/QOBQKA
    - IBM DevOps and Software Engineering Professional Certificate: imp.i384100.net/yRz1r2
    - Algorithms Specialization by Stanford: imp.i384100.net/P0oDaY
    📚 Recommended Books (Full List 👉 piratekingdom.com/books/coding)
    Starters
    - Python Crash Course: amzn.to/3w9S8BL
    - A Smarter Way to Learn JavaScript: amzn.to/3X48APA
    - Java: Learn Java in One Day: amzn.to/3w2Gf0m
    - Web Design with HTML, CSS, JavaScript: amzn.to/3XpNRph
    DSA
    - Grokking Algorithms (Beginner): amzn.to/3Xq3zAQ
    - A Common-Sense Guide to Data Structures and Algorithms (Beginner-Intermediate): amzn.to/3k68OHk
    - Data Structures and Algorithms Made Easy (Intermediate): amzn.to/3CI815K
    Coding
    - Python the Bible: Beginner-Intermediate-Advanced: amzn.to/3ipq8Xk
    - JavaScript: Master the World's Most-Used Programming Language: amzn.to/3QFLXyK
    Software Engineering
    - Clean Code: amzn.to/3H1atH4
    - Software Engineering at Google: amzn.to/3GD277d
    Coding Interviews
    - Cracking the Coding Interview: amzn.to/3Qz22WN
    - Elements of Programming Interviews in Python: amzn.to/3CFTyHI
    Projects
    - Automate boring stuff with Python: amzn.to/3k5yW50
    - Build a Website, App & Game (HTML, CSS, JavaScript): amzn.to/3X6gTu9
    System Design & Architecture
    - System Design Interview: amzn.to/3H1ayKS
    - Fundamentals of Software Architecture: amzn.to/3GFetvK
    Some of these are affiliate links, and I may earn commissions from qualifying purchases.
    Using these links is the best way to support me at no cost to you!
    👑 FOR YOU 👑
    📝 My ULTIMATE LeetCode Cheat Sheet 👉 piratekingdom.com/leetcode
    📄 My ULTIMATE FAANG Resume 👉 piratekingdom.com/resume
    🖼 You can also read the video script on my blog! 👉 piratekingdom.com/blog
    💸 Check out all DEALS on the products that I use myself! 👉 piratekingdom.com/deals
    🎁 Bootcamp DISCOUNT: Get $1,000 off ANY course when you use the discount code PIRATEKING during enrollment 👉 piratekingdom.com/deals/sprin...
    ⚙️ My UA-cam & Couch Setups 👉 www.piratekingdom.com/tech
    🎥 Relevant Videos 🎥
    ▶️ I Rejected a $360k Google Offer 👉 • I rejected a $360k Goo...
    ▶️ How to Prepare LeetCode Effectively 👉 • How to Use LeetCode Ef...
    ▶️ Best Programming Languages for LeetCode 👉 • Best Programming Langu...
    🚀 BE MY FRIEND 🚀
    🌐 Website - piratekingdom.com
    📷 Instagram - piratekingdom.com/instagram
    🎮 Discord - piratekingdom.com/discord
    💼 LinkedIn - piratekingdom.com/linkedin
    🐦 Twitter - piratekingdom.com/twitter
    ⏳ Timeline ⏳
    0:00 Intro
    0:56 1. Leftmost Binary Search
    2:17 2. Deque
    3:04 3. String Concatenation
    4:08 4. Inorder Traversal of a Binary Search Tree
    4:34 5. Helper Pointers in a Linked List
    4:49 6. Quick Select
    6:26 LeetCode Cheat Sheet
    7:35 Outro
    📝 DESCRIPTION 📝
    Check out the LeetCode tricks, formulas, and templates that I used to crack the FAANG interview! Get your hands on the comprehensive collection of my LeetCode cheat sheet, study guide, tricks, and more for FREE! 👉 piratekingdom.com/leetcode
    ☠️ PIRATE KING 👑
    👑 Software Engineer | Entertainment | Tech Life | Career Advice
    🏴‍☠️ Software Engineer Entertainment
    🏴‍☠️ Tips and tricks on how to land a successful career in tech
    🏴‍☠️ Join my Discord for *FREE* career advice/guide/consultation
    ❗️ All opinions are my own and not my employer's.
    #leetcode #coding #tricks
    #codinginterview #tipsandtricks #pirateking

КОМЕНТАРІ • 215

  • @PIRATEKINGDOM
    @PIRATEKINGDOM  Рік тому +29

    📝 PK'S LEETCODE CHEAT SHEET 👉 piratekingdom.com/leetcode
    ▶ How to Use LeetCode Effectively 👉 ua-cam.com/video/a-thH9a9_XE/v-deo.html

    • @thedevguild7525
      @thedevguild7525 Рік тому +2

      Wow you even have your own site! What tech stack you code it with?

    • @PIRATEKINGDOM
      @PIRATEKINGDOM  Рік тому +2

      @@thedevguild7525 squarespace website builder! ;)

    • @mrKnown01
      @mrKnown01 Рік тому

      Hey bro well I wanted to know if you intentionally put this channel name as Pirate King because basically Pirates have a CAPTAIN.

    • @devstuff2576
      @devstuff2576 Рік тому

      Awesome man. You are awesome

    • @PIRATEKINGDOM
      @PIRATEKINGDOM  Рік тому +2

      @Anonymous I'm a One Piece fan

  • @TonyDiCroce
    @TonyDiCroce Рік тому +20

    C++ has deque too. Also leftmost binary search is lower_bound() in c++.

  • @shotime3241
    @shotime3241 Рік тому +52

    FYI “leftmost binary search” is actually called a left bisection. Python actually offers a library that does both left and right bisection - though you might not be allowed to use it during an interview

    • @bossysmaxx3327
      @bossysmaxx3327 Рік тому

      I just wrote tets randomly on his video and the guy just replied to it, tf

    • @RuturajZadbuke
      @RuturajZadbuke Рік тому +7

      I have interviewed in almost all FAANG companies and many others and am ex FAANG. I assure you that you can use bisect no matter what given you can explain what bisect does and how it does it properly to the interviewing engineer. Same with deque, doesn't matter if the engineer doesn't know what a deque is as long as you can give a 2 to 5 minute overview on deck and why using a deque would be suitable for that specific problem. Interviews are equally about communicating your solutions properly to even folks with non-technical background as you might be required to do this at your real world SWE job.

  • @mr.fabulous5165
    @mr.fabulous5165 Рік тому +6

    Hey Daniel, thank you for you advice, I tried ask people online, more specifically on Stack overflow. It takes me a little bit time to figure out the right format of how to post a question a stack overflow. But once i did it just blow my mind that how fast other programer replied me and literally faster than asking my classmate or tutors! Thank you for letting me to pick your brain again! Really happy to have such strong tool in my toolbox now and you deserve 1 million subs!

  • @leoncvetkovski4679
    @leoncvetkovski4679 Рік тому +8

    Amazing, thank you so much! I really felt like summaries of the DS&A concepts were missing in the online education space. Super helpful.

  • @thedevguild7525
    @thedevguild7525 Рік тому +30

    Wow, this channel also include educational content, sweet! The explanations not only nail it, but it is also concise and makes tough concept easy to pick up! Though I am not on the lookout for job, been practicing DSA to improve my skillset and at the same time seek some excitement in life!

    • @bossysmaxx3327
      @bossysmaxx3327 Рік тому

      I just wrote tets randomly on his video and the guy just replied to it, tf

  • @philbert5838
    @philbert5838 Рік тому +15

    Your study guide is very timely for me, I was trying to look for something that will help me after failing my interviews. You really inspire me pk! Thanks a lot!

    • @bossysmaxx3327
      @bossysmaxx3327 Рік тому

      I just wrote tets randomly on his video and the guy just replied to it, tf

  • @darkdudironaji
    @darkdudironaji Рік тому +7

    I am about to graduate and needed this so bad. Thank you so much!

  • @david-hasselhoff7483
    @david-hasselhoff7483 Рік тому +4

    Dude, this is the absolute gold of gold. You're the man, thank you so much!!

  • @khoaanh7375
    @khoaanh7375 Рік тому +4

    That is a rly nice edit, thanks for your effort in this community.

  • @videolosss
    @videolosss Рік тому +2

    Great advice. Thanks for your generosity. Your humour an added bonus.

  • @mmm-ie5ws
    @mmm-ie5ws 3 місяці тому +2

    amazing video, thanks. I subbed so quickly.

  • @keshavakumar9828
    @keshavakumar9828 Рік тому +6

    I have been following your advice for practising leetcode for the last 4 months, and it's working wonderfully for me. Thank you for this short-hand guide, will use it for future problem solving.

  • @nikeshsingh4787
    @nikeshsingh4787 Рік тому +3

    Love the channel name. Glad to connect with fellow pirates!!

  • @ethical-hack
    @ethical-hack Рік тому +8

    Thank you for the wonderful Video PK!!!

  • @Onigirii
    @Onigirii Рік тому +4

    Thank you! This is exactly what I need right now

  • @carlosx7777
    @carlosx7777 Рік тому +4

    you are great!!!! i think this will help me a lot, is way more structured than just reading Cracking the coding interview or going without a plan on leetCode

  • @stanleylinsy98
    @stanleylinsy98 Рік тому +4

    amazing video. I will be taking data structure and algorithm class in the next 6 months. Content like this will be of great help. Thank you

  • @oanaghicajanucristina
    @oanaghicajanucristina 3 місяці тому +2

    OMG, SUBSCRIBED. the best video ever, and also your website is so useful, with your resources i have hope that i will be accepted to one of the internships i am applying. THANK YOU A LOT!

  • @taco564
    @taco564 Рік тому +3

    Thanks for the cheat sheet. It's very helpful!

  • @cunghocthuattoan7869
    @cunghocthuattoan7869 Рік тому +3

    Thank you so much!! Appreciate your help!

  • @ladyv890
    @ladyv890 Рік тому +2

    Thank you! for the lc help! Also like your sweater :-)

  • @joshhitech
    @joshhitech Рік тому +1

    I really appreciate the effort you put into this. Thanks a lot!

  • @candichiu7850
    @candichiu7850 Рік тому +2

    Thank you! This is really helpful.

  • @HuGzHa
    @HuGzHa Рік тому +3

    this is extremely useful, thanks pk ❤

  • @faisalalghamdi2066
    @faisalalghamdi2066 Рік тому +4

    Thank you so much sir! This is extremely useful.

  • @Whatthetrash
    @Whatthetrash Рік тому +2

    This is awesome! Thank you for this! :)

  • @lazybot71
    @lazybot71 Рік тому +3

    It's really good PK! ❤❤

  • @AniruddhaShende-zy7op
    @AniruddhaShende-zy7op Рік тому +1

    great video and i am happy that he didn't give false hope to beginners by saying that this is enough for interviews instead he said that this can be kept handy and can be used by a beginner to boost his/her journey of leetcoding !!!!!

  • @english51
    @english51 Рік тому +2

    Thanks, hopefully will have cpp template soon

  • @surya8985
    @surya8985 Рік тому +1

    Thanks pk 😊 most of the tips u told,I faced them recently and they are very interesting

  • @mjmikaelson
    @mjmikaelson Рік тому +1

    Thank you for sharing!

  • @sw6273
    @sw6273 Рік тому +3

    ありがとうございます!大変助かります!

  • @leliarubiano6392
    @leliarubiano6392 Рік тому +2

    You should make a course for interview's questions you are amazing at explaining complicated things.

  • @flocela
    @flocela Місяць тому

    I love your hair.

  • @nobugaming
    @nobugaming Рік тому +7

    You can adapt leftmost to after leftmost by changing m to (l+r+1)//2 and updating l to l=m and updating r to r=m-1. This is useful for finding the first element that fails some condition

    • @bossysmaxx3327
      @bossysmaxx3327 Рік тому +1

      I just wrote tets randomly on his video and the guy just replied to it, tf

    • @sushenjamwal
      @sushenjamwal Рік тому

      can you pls explain with example?

  • @hibashi.-.4784
    @hibashi.-.4784 Рік тому +2

    You are just awesome !!! Thankkk uuu soooo muchhh for sharing this cheatsheet . i'm a second year computer science student , few weeks ago i started to leetcode because of your advices and now am getting better at coding :)

  • @arturschaefer
    @arturschaefer 6 місяців тому

    Amazing tips! 🚀

  • @user-pk3jr1ng6h
    @user-pk3jr1ng6h Рік тому +2

    Maaan that's really amazing.Thanks a lot for all!👏🏻👏🏻👏🏻🆒️😃

  • @21doyourthing
    @21doyourthing Рік тому +1

    nice! please do more of these

  • @chrisw9597
    @chrisw9597 Рік тому +2

    this is not a gold mine, this is a diamond mine!! Thanks for the cheat sheet!

  • @SidTrip
    @SidTrip Рік тому +1

    Nice video! Subscribed!

  • @zahaanmahajan1606
    @zahaanmahajan1606 Рік тому +1

    get this man a medal.

  • @tilekzholdoshbek726
    @tilekzholdoshbek726 Рік тому +1

    okay nice start with providing website, im subscribing

  • @SAI-kg6bb
    @SAI-kg6bb Рік тому +1

    I agree bro, you reflected me in few points.

  • @michaeltruong405
    @michaeltruong405 Рік тому +1

    Super helpful thanks!

  • @user-yv3ry6ep6w
    @user-yv3ry6ep6w Рік тому +1

    영상에 삼색스웻셔츠 보고 혹시 한국인,,? 했는데 맞으시네용! 좋은 정보공유 너무 감사드립니다!

  • @Tom4tom199e
    @Tom4tom199e Рік тому +1

    TYVMMM it's so neet thanks for the work :3

  • @brajagopalmukherjee1588
    @brajagopalmukherjee1588 Рік тому +1

    Thanks for this man

  • @Shawn.Tanaka
    @Shawn.Tanaka Рік тому +1

    Thank you for teaching! Off topic: what brand is that long sleeve? It’s nice!

  • @a23956491z
    @a23956491z Рік тому +2

    This video is too good to be like a cheat for preparing leetcode. So many information compress in such one video. Love it.

    • @bossysmaxx3327
      @bossysmaxx3327 Рік тому

      I just wrote tets randomly on his video and the guy just replied to it, tf

  • @fraction37
    @fraction37 Рік тому +5

    You're a good teacher! You should make more videos like this one!

  • @devika041
    @devika041 6 місяців тому

    yoooo you're the best

  • @jayono7ciwa
    @jayono7ciwa Рік тому +1

    Appreciate this Video dude 🔥

  • @vincent3311
    @vincent3311 Рік тому +1

    Thanks senpai, im very grateful the person like you is exist lol

  • @tkr_kun
    @tkr_kun Рік тому +1

    Super helpful video 🔥🔥🔥

  • @jaybhukhanwala
    @jaybhukhanwala Рік тому +1

    Thanks!

  • @bhagyeshgaikwad6964
    @bhagyeshgaikwad6964 Рік тому +1

    Amazing dude!

  • @mjmikaelson
    @mjmikaelson Рік тому +1

    Very nice!

  • @aaronstark171
    @aaronstark171 Рік тому +1

    thanks bro!

  • @SandraPlamenats
    @SandraPlamenats Рік тому +1

    Thank you! You have earned your place in heaven!

  • @huytranquang6230
    @huytranquang6230 Рік тому +2

    Great works

  • @user-nj8lu8ld9e
    @user-nj8lu8ld9e 3 місяці тому

    it's good to know what data structure to use when, but that's just the beginning and only gets you passing like 1/4 of the test cases. A lot of these hard questions require familiarity with implementation and clever tricks that most people wouldn't think of in an interview. You have to be familiar with the syntax of your language and all its functions and datatypes, etc.

  • @arno.claude
    @arno.claude Рік тому +1

    Wow, thank you!

  • @douglascheng9794
    @douglascheng9794 Рік тому +1

    appreciate this!

  • @dawkaka
    @dawkaka Рік тому

    I clicked on this video thinking it's just another click bait, but it's actually good very helpful.

  • @ranielnascimentoferreira8808
    @ranielnascimentoferreira8808 Рік тому +1

    "No email" "No bullshit like that" won me, I mean I already love your content but it's good to hear that.

  • @dr4ks
    @dr4ks Рік тому +1

    Just Excellent

  • @brijendrasai1513
    @brijendrasai1513 Рік тому +1

    You're god among men for creating that website

  • @DeepakJadiwal
    @DeepakJadiwal Рік тому +1

    Good, I also start making this type of video 😊😊😊😊

  • @kahvelikod6377
    @kahvelikod6377 Рік тому

    useful share. thanks👍

  • @egoworks5611
    @egoworks5611 Рік тому +1

    Great content Sir

  • @schan263
    @schan263 Рік тому +1

    I am not looking for a job now but I still do leetcode almost everyday. Today is Christmas day and I did 1 hard and 1 medium. I like to do leetcode before I play video games. Will do more if I have time later tonight after I played video games.

  • @genjimccorkle5518
    @genjimccorkle5518 Рік тому +4

    Mmmm. Log time. I am taking DS&A at school right now so this video was perfectly timed.
    But seriously, you are the best youtube tutor thus far. Your coding tips in this video alone are phenomenal.
    I hope to see more complex subjects broken down into simple terms (plus good practice tips!) as most videos on youtube just cover the basic stuff and not even explain them like you have.
    Your video was only eight minutes but I came away with a much better understanding of DS&A after watching it! Plus I mainly use Python, Java, and Javascript so thats even more convenient that your code is in Python and Java.

    • @bossysmaxx3327
      @bossysmaxx3327 Рік тому

      I just wrote tets randomly on his video and the guy just replied to it, tf

  • @mikhailglazkov6075
    @mikhailglazkov6075 Рік тому +2

    its my first sem learning dsa with java hope all goes well till end and i get placed at MAANG

  • @zongxun7118
    @zongxun7118 Рік тому +1

    Amazing video 😍😍

  • @isma5627
    @isma5627 Рік тому +1

    The GOAT itself.

  • @areebshahid5201
    @areebshahid5201 Рік тому +1

    The real goat

  • @mengisi
    @mengisi Рік тому +1

    Request ya, create video approach of TDD (when use and when TDD is bad).

  • @ashok-bezwada
    @ashok-bezwada Рік тому +1

    Thanks

  • @mememomo9911
    @mememomo9911 Рік тому +1

    Thank you

  • @chilly2171
    @chilly2171 Рік тому +1

    c++ has deque as well. I recommend c++

  • @Dhruvkuku
    @Dhruvkuku Рік тому +2

    Your t-shirt look cool pk

  • @thomashaury6651
    @thomashaury6651 Рік тому +1

    In a world of swe UA-camrs that are greedy get rich quick scheme pitchers trying to sell you their leetClones (How many algoSomethings are there?) You are a breathe of fresh air. Stay awesome.

  • @hoangnguyendinh1107
    @hoangnguyendinh1107 Рік тому +1

    Can you give some tips on writing Java code short and clean and less bug? I always find my code buggy when doing hard problems like having a lot complex logic

  • @dsa2441
    @dsa2441 Рік тому +1

    Thanks for the tips, very interesting. Btw what about C++

  • @orcaorka
    @orcaorka Рік тому +4

    Great video! Quick question though, doesn't a linked list represent all three data structures easily already? Personally I just use append()/insert(0) and pop() for stacks, queues and linkedlists, so I don't really understand why using a deque is better.

    • @PIRATEKINGDOM
      @PIRATEKINGDOM  Рік тому +4

      Time-complexity wise, no difference. Performance-wise, ArrayDeque is better; I use ArrayDeque personally. Also, for me, the interfaces of a deque, add/remove first/last are easier to remember than append(0), insert, pop, etc. See stackoverflow.com/questions/6163166/why-is-arraydeque-better-than-linkedlist

  • @sagestudy
    @sagestudy Рік тому +6

    Please Teach DSA using Python 3, with your editing it will be fun to learn and grasp the concept.
    And this video is really helpful.

  • @Whatthetrash
    @Whatthetrash Рік тому +1

    PK, I had a question. I'm using your technique of using a deque for a stack (append, pop), queue (append, popleft) and linked list (append, pop, appendleft, popleft). I'm a bit confused, though. Stack and queue have certain operations associated with them (stack has push, pop and peek and queue has enqueue and dequeue ) -- but what do linked lists have? I haven't been able to find anything linked lists are required to have. So, I have 2 questions please: 1.) Do linked lists have certain expected operations and 2.) Why is a deque the ideal data structure to implement those operations with. If you don't have the time to answer, a point in the right direction would be appreciated. Thanks!

    • @PIRATEKINGDOM
      @PIRATEKINGDOM  Рік тому +1

      1. I’d say addfirst, removefirst, addlast, and removelast. 2. Deque already has those operations implemented within. It’s not exactly an ideal data structure but a working alternative. Check piratekingdom.com/leetcode

    • @Whatthetrash
      @Whatthetrash Рік тому +1

      @@PIRATEKINGDOM Ah, okay. I see. Thanks so much for taking the time to break that down. Much respect! :)

  • @darshanjain9658
    @darshanjain9658 Рік тому +3

    Hey!
    Many people/youtubers/influencers have been suggesting to take up the CS50's introduction to Computer Science by HARVARD UNIVERSITY before entering into college. I would like to take your suggestion if I should go with this course or do something else like learning a language (python) or something like data structures and algorithms, I know CS50 would include it but just wanted to confirm if something else is more important at the moment (high school graduate). And if I should take up the 2nd option please let me know the importance of CS50 if I should take it up in the future...

    • @PIRATEKINGDOM
      @PIRATEKINGDOM  Рік тому +1

      Cs50 is a good start

    • @darshanjain9658
      @darshanjain9658 Рік тому

      @@PIRATEKINGDOM Thank you so much! But would you suggest a different way to start?

    • @darshanjain9658
      @darshanjain9658 Рік тому

      @@abhisheknandann cool..! Thanks a lot!

  • @RainOnline
    @RainOnline Рік тому +6

    im too dumb for this

  • @dawizze1
    @dawizze1 Рік тому +2

    thoughts on algoexpert?

  • @batmanlovesjokerr
    @batmanlovesjokerr Рік тому +1

    make a similar video for c++ users

  • @mr.fabulous5165
    @mr.fabulous5165 Рік тому +2

    hey Daniel, thank you for sharing this cheatsheet!
    Recently I am leetcoding actively, and you really motivate me a lot! This is the first year of my CS degree, hope I get my first intern by the end of my first year of my degree!
    I saw you actively doing leetcode all year around? why is that? was it because u want to be at the position where you are ready to switch job anytime or that was a hobby to you or both?

    • @PIRATEKINGDOM
      @PIRATEKINGDOM  Рік тому +2

      Just keeping my skills sharp ;)

    • @mr.fabulous5165
      @mr.fabulous5165 Рік тому

      @@PIRATEKINGDOM would you like to make a video about how to taking notes for leetcode or just generally for engineering?

  • @chilly2171
    @chilly2171 Рік тому +1

    deques cannot be used to replace a linked list. you can't store references with deque and link it with other data structures. it is not possible to remove from the middle of a deque in constant time.

    • @PIRATEKINGDOM
      @PIRATEKINGDOM  Рік тому

      True, but I talked about it in the limited usage of add/remove first/last which is suffient in most lc problems.

  • @ary_21
    @ary_21 Рік тому +1

    Any templates for cpp users ?

  • @kanthikiran5825
    @kanthikiran5825 Рік тому +1

    Oreva Monkey D Luffy, Kaijokuvoni naru othokoda, The website is very helpful

  • @vijaybalaji7444
    @vijaybalaji7444 Рік тому +1

    Can you include C++ to the sheet?

  • @MayurrWagh
    @MayurrWagh Рік тому +3

    thankyou i am confused between c++ and java decided c++ to start with but after this video I will continue dsa in java and python only
    amazing video
    bring more such tricks video for dsa

  • @mengisi
    @mengisi Рік тому +1

    Bookmarked!