ExtremeProgrammer
ExtremeProgrammer
  • 1 068
  • 95 686
No Sound Leetcode 647: Palindromic Substrings
Here is a video of me solving LeetCode problem 647, titled as Palindromic Substrings
🔍 Want to get better in solving LeetCode? Click here: ua-cam.com/video/zlztl0oUrv0/v-deo.html
👾 Want to see me build games on HTML Canvas? Click here: ua-cam.com/video/dJ5m87zcXn0/v-deo.html
🟰 Want to see me build a scientific calculator from scratch using C++: ua-cam.com/video/plbS1ZGusjo/v-deo.html
🎯 Want to see me building a Tic-Tac-Toe game with C++ and added an AI opponent: ua-cam.com/video/LRMDuHQqHYA/v-deo.html
--
Title: No Sound Leetcode 647: Palindromic Substrings
Palindromic Substrings,LeetCode 647,Palindromic Substrings problem,LeetCode,LeetCode Python Easy,Palindromic Substrings LeetCode Python,Palindromic Substrings LeetCode,LeetCode Python Solutions,Palindromic Substrings Solution,Palindromic Substrings Solution Python,How to get better in LeetCode,LeetCode 647 solution,LeetCode 647 Python,LeetCode 647 Palindromic Substrings solution Python,647 Palindromic Substrings,LeetCode Solutions,ExtremeProgrammer,ExtremeProgrammerr
Переглядів: 1

Відео

No Sound Leetcode 646: Maximum Length of Pair Chain
Переглядів 17 годин тому
Here is a video of me solving LeetCode problem 646, titled as Maximum Length of Pair Chain 🔍 Want to get better in solving LeetCode? Click here: ua-cam.com/video/zlztl0oUrv0/v-deo.html 👾 Want to see me build games on HTML Canvas? Click here: ua-cam.com/video/dJ5m87zcXn0/v-deo.html 🟰 Want to see me build a scientific calculator from scratch using C : ua-cam.com/video/plbS1ZGusjo/v-deo.html 🎯 Wan...
No Sound Leetcode 645: Set Mismatch
Переглядів 313 годин тому
Here is a video of me solving LeetCode problem 645, titled as Set Mismatch 🔍 Want to get better in solving LeetCode? Click here: ua-cam.com/video/zlztl0oUrv0/v-deo.html 👾 Want to see me build games on HTML Canvas? Click here: ua-cam.com/video/dJ5m87zcXn0/v-deo.html 🟰 Want to see me build a scientific calculator from scratch using C : ua-cam.com/video/plbS1ZGusjo/v-deo.html 🎯 Want to see me buil...
No Sound Leetcode 643: Maximum Average Subarray I
Переглядів 419 годин тому
Here is a video of me solving LeetCode problem 643, titled as Maximum Average Subarray I 🔍 Want to get better in solving LeetCode? Click here: ua-cam.com/video/zlztl0oUrv0/v-deo.html 👾 Want to see me build games on HTML Canvas? Click here: ua-cam.com/video/dJ5m87zcXn0/v-deo.html 🟰 Want to see me build a scientific calculator from scratch using C : ua-cam.com/video/plbS1ZGusjo/v-deo.html 🎯 Want ...
No Sound Leetcode 641: Design Circular Deque
Переглядів 52 години тому
Here is a video of me solving LeetCode problem 641, titled as Design Circular Deque 🔍 Want to get better in solving LeetCode? Click here: ua-cam.com/video/zlztl0oUrv0/v-deo.html 👾 Want to see me build games on HTML Canvas? Click here: ua-cam.com/video/dJ5m87zcXn0/v-deo.html 🟰 Want to see me build a scientific calculator from scratch using C : ua-cam.com/video/plbS1ZGusjo/v-deo.html 🎯 Want to se...
No Sound Leetcode 640: Solve the Equation
Переглядів 82 години тому
Here is a video of me solving LeetCode problem 640, titled as Solve the Equation 🔍 Want to get better in solving LeetCode? Click here: ua-cam.com/video/zlztl0oUrv0/v-deo.html 👾 Want to see me build games on HTML Canvas? Click here: ua-cam.com/video/dJ5m87zcXn0/v-deo.html 🟰 Want to see me build a scientific calculator from scratch using C : ua-cam.com/video/plbS1ZGusjo/v-deo.html 🎯 Want to see m...
No Sound Leetcode 639: Decode Ways II
Переглядів 32 години тому
Here is a video of me solving LeetCode problem 639, titled as Decode Ways II 🔍 Want to get better in solving LeetCode? Click here: ua-cam.com/video/zlztl0oUrv0/v-deo.html 👾 Want to see me build games on HTML Canvas? Click here: ua-cam.com/video/dJ5m87zcXn0/v-deo.html 🟰 Want to see me build a scientific calculator from scratch using C : ua-cam.com/video/plbS1ZGusjo/v-deo.html 🎯 Want to see me bu...
No Sound Leetcode 638: Shopping Offers
Переглядів 22 години тому
Here is a video of me solving LeetCode problem 638, titled as Shopping Offers 🔍 Want to get better in solving LeetCode? Click here: ua-cam.com/video/zlztl0oUrv0/v-deo.html 👾 Want to see me build games on HTML Canvas? Click here: ua-cam.com/video/dJ5m87zcXn0/v-deo.html 🟰 Want to see me build a scientific calculator from scratch using C : ua-cam.com/video/plbS1ZGusjo/v-deo.html 🎯 Want to see me b...
No Sound Leetcode 637: Average of Levels in Binary Tree
Переглядів 24 години тому
No Sound Leetcode 637: Average of Levels in Binary Tree
No Sound Leetcode 636: Exclusive Time of Functions
Переглядів 24 години тому
No Sound Leetcode 636: Exclusive Time of Functions
No Sound Leetcode 633: Sum of Square Numbers
Переглядів 44 години тому
No Sound Leetcode 633: Sum of Square Numbers
No Sound Leetcode 632: Smallest Range Covering Elements from K Lists
Переглядів 114 години тому
No Sound Leetcode 632: Smallest Range Covering Elements from K Lists
No Sound Leetcode 630: Course Schedule III
Переглядів 67 годин тому
No Sound Leetcode 630: Course Schedule III
No Sound Leetcode 629: K Inverse Pairs Array
Переглядів 137 годин тому
No Sound Leetcode 629: K Inverse Pairs Array
No Sound Leetcode 628: Maximum Product of Three Numbers
Переглядів 37 годин тому
No Sound Leetcode 628: Maximum Product of Three Numbers
No Sound Leetcode 627: Swap Salary
Переглядів 77 годин тому
No Sound Leetcode 627: Swap Salary
No Sound Leetcode 626: Exchange Seats
Переглядів 79 годин тому
No Sound Leetcode 626: Exchange Seats
No Sound Leetcode 624: Maximum Distance in Array
Переглядів 39 годин тому
No Sound Leetcode 624: Maximum Distance in Array
No Sound Leetcode 623: Add One Row to Tree
Переглядів 109 годин тому
No Sound Leetcode 623: Add One Row to Tree
No Sound Leetcode 622: Design Circular Queue
Переглядів 319 годин тому
No Sound Leetcode 622: Design Circular Queue
No Sound Leetcode 621: Task Scheduler
Переглядів 4212 годин тому
No Sound Leetcode 621: Task Scheduler
No Sound Leetcode 620: Not Boring Moves
Переглядів 2212 годин тому
No Sound Leetcode 620: Not Boring Moves
No Sound Leetcode 619: Biggest Single Number
Переглядів 2612 годин тому
No Sound Leetcode 619: Biggest Single Number
No Sound Leetcode 617: Merge Two Binary Trees
Переглядів 912 годин тому
No Sound Leetcode 617: Merge Two Binary Trees
No Sound Leetcode 611: Valid Triangle Number
Переглядів 1714 годин тому
No Sound Leetcode 611: Valid Triangle Number
No Sound Leetcode 610: Triangle Judgement
Переглядів 514 годин тому
No Sound Leetcode 610: Triangle Judgement
No Sound Leetcode 609: Find Duplicate File in System
Переглядів 714 годин тому
No Sound Leetcode 609: Find Duplicate File in System
No Sound Leetcode 608: Tree Node
Переглядів 914 годин тому
No Sound Leetcode 608: Tree Node
No Sound Leetcode 607: Sales Person
Переглядів 816 годин тому
No Sound Leetcode 607: Sales Person
No Sound Leetcode 606: Construct String from Binary Tree
Переглядів 416 годин тому
No Sound Leetcode 606: Construct String from Binary Tree

КОМЕНТАРІ

  • @faizanup4061
    @faizanup4061 День тому

    Hello sir Can you answer some questions related to my career?

  • @dot-executable
    @dot-executable 8 днів тому

    ngl id just use a regex

  • @Akshat_37
    @Akshat_37 10 днів тому

    good typing speed

  • @modellatore
    @modellatore 14 днів тому

    Commentary would be nice

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 11 днів тому

      Yeah, I hear this a lot. Gonna do something about it at some point.

  • @theruderaw6448
    @theruderaw6448 14 днів тому

    This is like watching a 12th grader who just started learning coding, please learn how to make your code concise

  • @mmmar7317
    @mmmar7317 14 днів тому

    def reverseWord(self, s:str) -> str: return self.rev

  • @annaarbuz
    @annaarbuz 15 днів тому

    Why camelcase bro? It so strange

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 15 днів тому

      ILikeToUseCamelCaseDudeLoL

    • @annaarbuz
      @annaarbuz 15 днів тому

      @ExtremeProgrammerr couse_you_are_extreme_programmer_lol

  • @cosmnik472
    @cosmnik472 18 днів тому

    how does it work if one of the arguments is "1-i"

    • @cosmnik472
      @cosmnik472 18 днів тому

      Because nobody would write 1+-1i

    • @egaLwie.
      @egaLwie. 17 днів тому

      @@cosmnik472 yeah I would just use a tuple with real part and imaginary part, but tbf you could just convert 1-i to 1+-i

    • @cosmnik472
      @cosmnik472 17 днів тому

      @@egaLwie. I would just use complex()

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 14 днів тому

      Yeah, 1+-1i is not the real representation, but if you check the problem description on leetcode, it is for this question. Complex() seem very nice. I'm not a full-time Python guy, thanks for pointing it out.

  • @howardgreenwood
    @howardgreenwood 18 днів тому

    You forgot to hit 'run' at the end

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 14 днів тому

      This is not my whole monitor. You should check the full-sized video to see if I hit "run". Thanks for giving the attention, though

  • @vladyslav007
    @vladyslav007 20 днів тому

    type annotations looks nice

  • @punk5513
    @punk5513 22 дні тому

    You made it ez😎

  • @alperenyesilyurt3910
    @alperenyesilyurt3910 26 днів тому

    what is the sites name

  • @meslzy
    @meslzy 28 днів тому

    Give us context bro, i don't know what is the problem to solve.

    • @Theonewhoescapedfromcommie
      @Theonewhoescapedfromcommie 27 днів тому

      You have a number and a name on title, google yourself is that really hard?

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 25 днів тому

      That's problem #486 from leetcode.com, with the title "Predict the winner". Here is the problem description: You are given an integer array nums. Two players are playing a game with this array: player 1 and player 2. Player 1 and player 2 take turns, with player 1 starting first. Both players start the game with a score of 0. At each turn, the player takes one of the numbers from either end of the array (i.e., nums[0] or nums[nums.length - 1]) which reduces the size of the array by 1. The player adds the chosen number to their score. The game ends when there are no more elements in the array. Return true if Player 1 can win the game. If the scores of both players are equal, then player 1 is still the winner, and you should also return true. You may assume that both players are playing optimally.

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

    C#?

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

      I'm doing python for now. But the C# answer should be very similar, being so short in code.

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

    Just use split function bro

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

    You do not need it to be a class, just a function and you can get rid of the first if, transform the Fizz Elif into an if and get rid of the previous one... I'm sorry but my eyes are bleeding

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

    Your elbows lookin mad tasty can i have them?

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

    Ahh white idea theme

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

    I don't understand anything, but I'm very interested

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

      Hope you stay around and find the will to improve then :)

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

    That's better 👍

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

    U crazy man u code on white !! Please reconsider your life choices 😂

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

    What it does actually?

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

      It's the solution to leetcode problem #375. You can check the problem description there :)

  • @mhdfunandexplore
    @mhdfunandexplore 2 місяці тому

    I can't see why you would need to use a list !! Can't we just perform an in-order and stop when k = 1 ? (decrement it each time we visit a node)

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 2 місяці тому

      I don't see why not. I'm not arguing that this is the most valuable solution, yours could be better than mine :)

  • @ssdfhuasdfhj101
    @ssdfhuasdfhj101 2 місяці тому

    please upload in better quality

  • @LifeBoxGaming
    @LifeBoxGaming 2 місяці тому

    What application is this?

  • @tanglesites
    @tanglesites 3 місяці тому

    Cool. The recursive version is def cleaner.

  • @rhulks-bloody-stools7649
    @rhulks-bloody-stools7649 3 місяці тому

    What are itertools used for?

  • @pedramghasemi1417
    @pedramghasemi1417 3 місяці тому

    Thanks man

  • @ZackWhitbord
    @ZackWhitbord 4 місяці тому

    Thats extreme

  • @iliqnew
    @iliqnew 4 місяці тому

    You're taking the guardian approach here which is quite cool. However you can turn all elif statements into simply if statements

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 4 місяці тому

      Definitely right. Pinning this so everyone can see if there will be lots of comments in the future(don't think so)

    • @iliqnew
      @iliqnew 4 місяці тому

      @@ExtremeProgrammerr there will be. Keep going mate. You rock

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 4 місяці тому

      @@iliqnew nicest thing I've heard for days. Thanks :)

  • @KhanSb-c5f
    @KhanSb-c5f 4 місяці тому

    which is best for programming low button keyboard or high button keyboard,,🤔

  • @IvyCreamMathieu
    @IvyCreamMathieu 4 місяці тому

    I'm actually so sad that there is no sound, the video would be 10 times more watchable with comment ! You gave me the idea of going into canvas and try recreate some game too ! Thanks a lot !

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 4 місяці тому

      I hear this a lot. I was planning to be a small how-to kind of a channel, but I'm now really considering recording my voice too. Thanks for the input!

  • @harishbaburengaraj
    @harishbaburengaraj 4 місяці тому

    Is it even pythonic way ? Solution: Consider using sets. def rm_duplicates(num:list): return list(set(nums))

    • @harishbaburengaraj
      @harishbaburengaraj 4 місяці тому

      sets time complexity is o(1)

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 4 місяці тому

      I agree that operations on sets are O(1), but creating a set with n elements should result in O(n), right (Since adding elements to a set is O(1) and we are adding n elements)? This is the complexity that I have. I can agree that your solution is easy to read and performs really well, but I don't think my solution is less optimized, in general. Am I not considering something? Please comment back, I would be really happy to learn more on that.

    • @harishbaburengaraj
      @harishbaburengaraj 4 місяці тому

      @@ExtremeProgrammerr Yup! ur right

  • @bogdogun5675
    @bogdogun5675 4 місяці тому

    Great explaination

  • @osasomoregbee4878
    @osasomoregbee4878 4 місяці тому

    I am as amazed as the first commenter 😅😅😅

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 4 місяці тому

      Oh man, nothing to be amazed :D

    • @osasomoregbee4878
      @osasomoregbee4878 4 місяці тому

      @@ExtremeProgrammerr just keep pushing sir. And never give up. Also try new things and see how you can spice it up a bit

  • @moe6410
    @moe6410 4 місяці тому

    Bro wtf did you just write… how are you this good at coding did you come out of the womb doing this

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 4 місяці тому

      Lol let's say I'm pretty experienced in this sh*t bro. I'm around if you need help or sth

  • @ankitpakhale808
    @ankitpakhale808 4 місяці тому

    Great code, but I would suggest please explain the code in the best simplest way while you are writing it.

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 4 місяці тому

      I'm a bit late on this answer, but just started to record some videos with commentary. Not the leetcode videos, since I'm basically making them the process of studying programming, but the project videos from now on will be commented. Hope you'll enjoy them!

  • @antonywes3635
    @antonywes3635 5 місяців тому

    It's too easy bro

  • @spritemonstajackHD
    @spritemonstajackHD 5 місяців тому

    Light mode ☠️

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 місяців тому

      Haha, I prefer light in the morning and dark in the night.

  • @marvinsommer5858
    @marvinsommer5858 5 місяців тому

    wow! good job! i want to learn coding but its to hard for me. can you give like tipps😅😅😅❤

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 місяців тому

      Sure, I can. Let's keep in touch! My first tip would be hard work and persistence :) coding is not hard but it takes time to perfect things :)

  • @邓力源
    @邓力源 5 місяців тому

    做什么的代码呢

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 місяців тому

      It solves problem 47 listed in leetcode.com. You can check the problem there :)

  • @YouMessedUpRealBad
    @YouMessedUpRealBad 5 місяців тому

    Nice

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 місяців тому

      Stay tuned, I'll add an AI opponent to the game soon :)

  • @maanas_sehgal
    @maanas_sehgal 5 місяців тому

    How tf did that work??

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 місяців тому

      You can easily construct integers from strings, and strings from integers. That's how it works on Python :)

    • @maanas_sehgal
      @maanas_sehgal 5 місяців тому

      @@ExtremeProgrammerr na I mean that can be done in java but see the constraints. If it's 200 letters each it won't fit the integer limit. That's why it's a medium level

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 місяців тому

      Oh yeah, you're right. I'll definitely check the limits on that one

  • @AnandJaiswal-om3mz
    @AnandJaiswal-om3mz 5 місяців тому

    Why did you solve that way? Does the video is supposed to be funny?

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 місяців тому

      Because the language allows me to :) It's not funny but practical

  • @cagtbd
    @cagtbd 5 місяців тому

    Yeah, this is the reason I don't develop/write code. There's people way better than me.

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

    Quite beneficial!

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

    thank you! It helped me to understand what was wrong with my code :)

  • @hennyC_
    @hennyC_ 2 роки тому

    Upgrade your mic if you want this to be asmr lol static is unbearable

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 2 роки тому

      Definitely will do. I was not sure if people would even open up the video, and your comment shows that they are. So it's on the list. Thanks for the feedback.

  • @user-lf7dj1sg1z
    @user-lf7dj1sg1z 2 роки тому

    I recommend zooming in and making the code more appearing. And putting an attractive thumbnail would help!

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 2 роки тому

      I'm considering re-making the thumbnails. Also, I thought the code was read-able until now, and definitely will do something about this in my future videos. Your comment is very helpful and constructive, thanks a lot!

    • @user-lf7dj1sg1z
      @user-lf7dj1sg1z 2 роки тому

      @@ExtremeProgrammerr I'm glad i helped!