678. Valid Parenthesis String | leetcode daily challenge | DSA | Hindi | shashwat tiwari

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024
  • Problem Name:
    678. Valid Parenthesis String
    Problem Statement:
    Given a string s containing only three types of characters: '(', ')' and '*', return true if s is valid.
    The following rules define a valid string:
    Any left parenthesis '(' must have a corresponding right parenthesis ')'.
    Any right parenthesis ')' must have a corresponding left parenthesis '('.
    Left parenthesis '(' must go before the corresponding right parenthesis ')'.
    '*' could be treated as a single right parenthesis ')' or a single left parenthesis '(' or an empty string "".
    Problem link:
    leetcode.com/p...
    Java Plus DSA Placement Course Playlist:
    • Java and DSA Course Pl...
    Java Plus DSA Sheet:
    docs.google.co...
    Notes:
    github.com/Tiw...
    Telegram Link:
    shashwattiwari...
    Ultimate Recursion Series Playlist:
    • Recursion and Backtrac...
    Instagram Handle: (@shashwat_tiwari_st)
    shashwattiwari...
    Samsung Interview Experience:
    • I cracked Samsung | SR...
    Company Tags:
    Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung
    Timestamp:
    0:00 - Introduction
    #ShashwatTiwari #coding​​ #problemsolving​

Комментарии • 30

  • @22MCA346RAJESHPARIDA
    @22MCA346RAJESHPARIDA 5 месяцев назад +4

    Great series sir, day by day i addicted to it

  • @kishangupta2273
    @kishangupta2273 5 месяцев назад +1

    thanku so much🙏 sir for providing such a amazing video to understand this problem

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

    very well explained

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

    Thank you sir ❤❤

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

    best explanation❤ sir and thank u 🙏🙏

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

    A gem content for a beginner and a

  • @user-dc2ny5ug9q
    @user-dc2ny5ug9q 5 месяцев назад

    Sir aapki explanation hi khafi hay code tak pahunche se phale hi mera solve ho jata hay ❤❤

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

    I never miss your videos🤩, Explanation is too good...

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

    Best Explanation ❤

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

    Better explanation than Neetcode 😮

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

    Please also explain other solution, i just had the other one with intuition little confusion in it.

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

    NIce Sir

  • @learn_in_shorts
    @learn_in_shorts 5 месяцев назад +1

    Bhaiya mujhe Java ek baar aur padhna tha ache se, mey kal check out kiya playlist aapke channel pr but wah Java + DSA ka tha plz ek new playlist create kar dijiye jismey Java hi ho like aur koi problem nahi ho, Java + DSA wale mey video ko find karna pr rha hai plz Java + DSA wale playlist mey se Java ke liye wala lecture structure mey kar dijiye 😊

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

    sir you didnt discuss optimal solution today❤

  • @codecreateriitp4751
    @codecreateriitp4751 5 месяцев назад +1

    Sir can you tell me which extension use you for your chrome browser for showing companies tag

  • @mr.nishantawasthi4402
    @mr.nishantawasthi4402 5 месяцев назад

    ❤❤

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

    Boss, last wale case m, in the whileloop, when you are checking on the opening brackets anyways, so can't we just return true at the end when we get out of the while loop?

  • @yogeshchauhan9401
    @yogeshchauhan9401 5 месяцев назад +1

    Have you made video on java packages ?😅

  • @AsifAli-bo9bc
    @AsifAli-bo9bc 5 месяцев назад

    Hello sir, please help i am facing a problem . My vs code is not working on MacBook , it is showing me an error : could not find or load main class 'filename' .

  • @AKASHKUMAR-li7li
    @AKASHKUMAR-li7li 5 месяцев назад

    can this be solved in one go for a begineer who has just started solving leetcode questions.... having basic knowledge of stack...?

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  5 месяцев назад +1

      You can watch stack series parenthesis pattern and last 2 days leetcode challenge questions.
      This question will become very easy because the pattern is more or less similar. Solving for the first time then yes, it will difficult to visualize a stack here.

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

    daiy attendence

  • @user-dc2ny5ug9q
    @user-dc2ny5ug9q 5 месяцев назад

    Audio is not there please re upload

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

      Hai audio.. recheck kro..

    • @user-dc2ny5ug9q
      @user-dc2ny5ug9q 5 месяцев назад

      @@shashwat_tiwari_st sorry sir there was a glitch from my side it's ok now 😅

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

      @@user-dc2ny5ug9q 😆😆😆😆

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

      Audio to sahi tha bhai