3085. Minimum Deletions to Make String K-Special | DP | Hash Table

In this video, I'll talk about how to solve Leetcode 3085. Minimum Deletions to Make String K-Special | DP | Hash Table
Checkout DSA-169 Series: • Aryan DSA-169 Series |...
100Days 100k Placements: • 100 Days 100K Placement
Let's Connect:
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / ez.pz.dsa
📱Telegram : t.me/aryan_mittal_group
🤖 Github: github.com/aryan-0077
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Timelines✨
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms

Пікірлер: 14

  • @subhankarmajumdar8528
    @subhankarmajumdar85284 ай бұрын

    Excellent solution. Tried to do similar thing in the contest but was unable to do it.

  • @k.satish3663
    @k.satish36634 ай бұрын

    i got almost like sorting frequencies and two pointer but didn't thinked dp solution. anyway great explanation understood.

  • @charanganesh526
    @charanganesh5264 ай бұрын

    Found all the observations but was unable to think of DP solution

  • @rakshitkathawate8838

    @rakshitkathawate8838

    4 ай бұрын

    It’s greedy too as suboptimal solution contributes to optimal too

  • @gauravagrawal7988

    @gauravagrawal7988

    3 ай бұрын

    just sort all frequency ( leaving zeros ) put one pointer left and one right ... then use simple dp with all possibilities

  • @HarshitPareek-sc1fz
    @HarshitPareek-sc1fz4 ай бұрын

    i didn't thinked about left and right but thinked about that 2 cases

  • @JIGARSINGTHAKOR-yy6qp
    @JIGARSINGTHAKOR-yy6qp4 ай бұрын

    Best solution ❤

  • @ajinkyaagarkar4833
    @ajinkyaagarkar48334 ай бұрын

    Great approach and intuition

  • @mukulkhanna5071
    @mukulkhanna50714 ай бұрын

    Great approach brother keep posting more content💯💯💯💯

  • @Asta_is_on_yt
    @Asta_is_on_yt4 ай бұрын

    nice explanation🥳🥳🥳

  • @ritishrai581
    @ritishrai5814 ай бұрын

    This problem ate my brain and yet I couldn't even come close to the actual solution :(

  • @k.8597
    @k.85974 ай бұрын

    Mujhe lagta hai tujhe apna solution khud nahi samajh aaya

  • @PRIYAMJAIN
    @PRIYAMJAIN4 ай бұрын

    i am watching you lecture frm very long time but this video is time waste ,very bad explainnation

  • @rakshitkathawate8838

    @rakshitkathawate8838

    4 ай бұрын

    It was difficult to explain that expression. I did it contest but when I wanted to write it in notepad, even I found it difficult for proof. With example was best option

Келесі