ExtremeProgrammer
ExtremeProgrammer
  • Видео 1 143
  • Просмотров 104 880
No Sound Leetcode 691: Stickers to Spell Word
Here is a video of me solving LeetCode problem 691, titled as Stickers to Spell Word
🔍 Want to get better in solving LeetCode? Click here: ruclips.net/video/zlztl0oUrv0/видео.html
👾 Want to see me build games on HTML Canvas? Click here: ruclips.net/video/dJ5m87zcXn0/видео.html
🟰 Want to see me build a scientific calculator from scratch using C++: ruclips.net/video/plbS1ZGusjo/видео.html
🎯 Want to see me building a Tic-Tac-Toe game with C++ and added an AI opponent: ruclips.net/video/LRMDuHQqHYA/видео.html
--
Title: No Sound Leetcode 691: Stickers to Spell Word
Stickers to Spell Word,LeetCode 691,Stickers to Spell Word problem,LeetCode,LeetCode Python Easy,Stickers to Spell Word LeetCode Python,S...
Просмотров: 2

Видео

No Sound Leetcode 690: Employee Importance
Просмотров 818 часов назад
Here is a video of me solving LeetCode problem 690, titled as Employee Importance 🔍 Want to get better in solving LeetCode? Click here: ruclips.net/video/zlztl0oUrv0/видео.html 👾 Want to see me build games on HTML Canvas? Click here: ruclips.net/video/dJ5m87zcXn0/видео.html 🟰 Want to see me build a scientific calculator from scratch using C : ruclips.net/video/plbS1ZGusjo/видео.html 🎯 Want to s...
No Sound Leetcode 689: Maximum Sum of 3 Non-Overlapping Subarrays
Просмотров 52 часа назад
Here is a video of me solving LeetCode problem 689, titled as Maximum Sum of 3 Non-Overlapping Subarrays 🔍 Want to get better in solving LeetCode? Click here: ruclips.net/video/zlztl0oUrv0/видео.html 👾 Want to see me build games on HTML Canvas? Click here: ruclips.net/video/dJ5m87zcXn0/видео.html 🟰 Want to see me build a scientific calculator from scratch using C : ruclips.net/video/plbS1ZGusjo...
No Sound Leetcode 688: Knight Probability in Chessboard
Просмотров 102 часа назад
Here is a video of me solving LeetCode problem 688, titled as Knight Probability in Chessboard 🔍 Want to get better in solving LeetCode? Click here: ruclips.net/video/zlztl0oUrv0/видео.html 👾 Want to see me build games on HTML Canvas? Click here: ruclips.net/video/dJ5m87zcXn0/видео.html 🟰 Want to see me build a scientific calculator from scratch using C : ruclips.net/video/plbS1ZGusjo/видео.htm...
No Sound Leetcode 687: Longest Univalue Path
Просмотров 104 часа назад
Here is a video of me solving LeetCode problem 687, titled as Longest Univalue Path 🔍 Want to get better in solving LeetCode? Click here: ruclips.net/video/zlztl0oUrv0/видео.html 👾 Want to see me build games on HTML Canvas? Click here: ruclips.net/video/dJ5m87zcXn0/видео.html 🟰 Want to see me build a scientific calculator from scratch using C : ruclips.net/video/plbS1ZGusjo/видео.html 🎯 Want to...
No Sound Leetcode 686: Repeated String Match
Просмотров 124 часа назад
Here is a video of me solving LeetCode problem 686, titled as Repeated String Match 🔍 Want to get better in solving LeetCode? Click here: ruclips.net/video/zlztl0oUrv0/видео.html 👾 Want to see me build games on HTML Canvas? Click here: ruclips.net/video/dJ5m87zcXn0/видео.html 🟰 Want to see me build a scientific calculator from scratch using C : ruclips.net/video/plbS1ZGusjo/видео.html 🎯 Want to...
No Sound Leetcode 685: Redundant Connection II
Просмотров 67 часов назад
Here is a video of me solving LeetCode problem 685, titled as Redundant Connection II 🔍 Want to get better in solving LeetCode? Click here: ruclips.net/video/zlztl0oUrv0/видео.html 👾 Want to see me build games on HTML Canvas? Click here: ruclips.net/video/dJ5m87zcXn0/видео.html 🟰 Want to see me build a scientific calculator from scratch using C : ruclips.net/video/plbS1ZGusjo/видео.html 🎯 Want ...
No Sound Leetcode 684: Redundant Connection
Просмотров 147 часов назад
No Sound Leetcode 684: Redundant Connection
No Sound Leetcode 682: Baseball Game
Просмотров 279 часов назад
No Sound Leetcode 682: Baseball Game
No Sound Leetcode 680: Valid Palindrome II
Просмотров 149 часов назад
No Sound Leetcode 680: Valid Palindrome II
No Sound Leetcode 679: 24 Game
Просмотров 99 часов назад
No Sound Leetcode 679: 24 Game
No Sound Leetcode 678: Valid Parenthesis String
Просмотров 69 часов назад
No Sound Leetcode 678: Valid Parenthesis String
No Sound Leetcode 677: Map Sum Pairs
Просмотров 3812 часов назад
No Sound Leetcode 677: Map Sum Pairs
No Sound Leetcode 676: Implement Magic Dictionary
Просмотров 412 часов назад
No Sound Leetcode 676: Implement Magic Dictionary
No Sound Leetcode 675: Cut Off Trees for Golf Event
Просмотров 2412 часов назад
No Sound Leetcode 675: Cut Off Trees for Golf Event
No Sound Leetcode 674: Longest Continuous Increasing Subsequence
Просмотров 1612 часов назад
No Sound Leetcode 674: Longest Continuous Increasing Subsequence
No Sound Leetcode 673: Number of Longest Increasing Subsequence
Просмотров 914 часов назад
No Sound Leetcode 673: Number of Longest Increasing Subsequence
No Sound Leetcode 672: Bulb Switcher II
Просмотров 1114 часов назад
No Sound Leetcode 672: Bulb Switcher II
No Sound Leetcode 671: Second Minimum Node in a Binary Tree
Просмотров 814 часов назад
No Sound Leetcode 671: Second Minimum Node in a Binary Tree
No Sound Leetcode 670: Maximum Swap
Просмотров 1414 часов назад
No Sound Leetcode 670: Maximum Swap
No Sound Leetcode 669: Trim a Binary Search Tree
Просмотров 7716 часов назад
No Sound Leetcode 669: Trim a Binary Search Tree
No Sound Leetcode 668: Kth Smallest Number in Multiplication Table
Просмотров 416 часов назад
No Sound Leetcode 668: Kth Smallest Number in Multiplication Table
No Sound Leetcode 667: Beautiful Arrangement II
Просмотров 716 часов назад
No Sound Leetcode 667: Beautiful Arrangement II
No Sound Leetcode 665: Non-decreasing Array
Просмотров 2016 часов назад
No Sound Leetcode 665: Non-decreasing Array
No Sound Leetcode 664: Strange Printer
Просмотров 1819 часов назад
No Sound Leetcode 664: Strange Printer
No Sound Leetcode 662: Maximum Width of Binary Tree
Просмотров 819 часов назад
No Sound Leetcode 662: Maximum Width of Binary Tree
No Sound Leetcode 661: Image Smoother
Просмотров 919 часов назад
No Sound Leetcode 661: Image Smoother
No Sound Leetcode 659: Split Array into Consecutive Subsequences
Просмотров 619 часов назад
No Sound Leetcode 659: Split Array into Consecutive Subsequences
No Sound Leetcode 658: Find K Closest Elements
Просмотров 321 час назад
No Sound Leetcode 658: Find K Closest Elements
No Sound Leetcode 657: Robot Return to Origin
Просмотров 1821 час назад
No Sound Leetcode 657: Robot Return to Origin

Комментарии

  • @famouskid4575
    @famouskid4575 2 дня назад

    nice vid

  • @griffinmartin6356
    @griffinmartin6356 2 дня назад

    you can do it using two numbers stored. simply wildAmount and openStrict. same code as you have but you just count the wilds instead of whatever you do. after the loop you then subtract the openStrict from the wild amount and if it's greater than or equal to zero than it's valid

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 2 дня назад

      Your method looks completely valid, thanks for pointing it out!

  • @faizanup4061
    @faizanup4061 12 дней назад

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

  • @dot-executable
    @dot-executable 20 дней назад

    ngl id just use a regex

  • @Akshat_37
    @Akshat_37 22 дня назад

    good typing speed

  • @modellatore
    @modellatore 25 дней назад

    Commentary would be nice

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 22 дня назад

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

  • @theruderaw6448
    @theruderaw6448 26 дней назад

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

  • @mmmar7317
    @mmmar7317 26 дней назад

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

  • @annaarbuz
    @annaarbuz 27 дней назад

    Why camelcase bro? It so strange

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 26 дней назад

      ILikeToUseCamelCaseDudeLoL

    • @annaarbuz
      @annaarbuz 26 дней назад

      @ExtremeProgrammerr couse_you_are_extreme_programmer_lol

  • @cosmnik472
    @cosmnik472 29 дней назад

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

    • @cosmnik472
      @cosmnik472 29 дней назад

      Because nobody would write 1+-1i

    • @egaLwie.
      @egaLwie. 29 дней назад

      @@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 28 дней назад

      @@egaLwie. I would just use complex()

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 25 дней назад

      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 Месяц назад

    You forgot to hit 'run' at the end

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 25 дней назад

      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 Месяц назад

    type annotations looks nice

  • @punk5513
    @punk5513 Месяц назад

    You made it ez😎

  • @alperenyesilyurt3910
    @alperenyesilyurt3910 Месяц назад

    what is the sites name

  • @meslzy
    @meslzy Месяц назад

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

    • @kamehameha-hahahaha
      @kamehameha-hahahaha Месяц назад

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

    • @ExtremeProgrammerr
      @ExtremeProgrammerr Месяц назад

      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 2 месяца назад

    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 2 месяца назад

    That's better 👍

  • @Kennsey_96
    @Kennsey_96 2 месяца назад

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

  • @talhauzuncan
    @talhauzuncan 2 месяца назад

    What it does actually?

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 2 месяца назад

      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 3 месяца назад

    please upload in better quality

  • @LifeBoxGaming
    @LifeBoxGaming 3 месяца назад

    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 4 месяца назад

    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 5 месяцев назад

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

    • @harishbaburengaraj
      @harishbaburengaraj 5 месяцев назад

      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 5 месяцев назад

    Great explaination

  • @osasomoregbee4878
    @osasomoregbee4878 5 месяцев назад

    I am as amazed as the first commenter 😅😅😅

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 месяцев назад

      Oh man, nothing to be amazed :D

    • @osasomoregbee4878
      @osasomoregbee4878 5 месяцев назад

      @@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 5 месяцев назад

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

    • @ExtremeProgrammerr
      @ExtremeProgrammerr 5 месяцев назад

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

  • @ankitpakhale808
    @ankitpakhale808 5 месяцев назад

    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.