Brute Force String Matching

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

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

  • @amjadnasser7039
    @amjadnasser7039 9 лет назад +3

    That war really really great explanation!
    Thank you so much

  • @anupamroy4u1984
    @anupamroy4u1984 9 лет назад +4

    Excellent explanation! :)
    Please upload more videos on pattern matching algorithms like KMP, rabin Karp and finding suffix, prefix strings which will be very helpful!

  • @prathibharajkumar3340
    @prathibharajkumar3340 4 года назад +1

    Thank you so so much , if I do well in exams tomorrow it's only coz of this , sir please upload more study material like this , it'd benefit tons of students

  • @sakshijamwal9922
    @sakshijamwal9922 7 лет назад +5

    Thank u so much.. 😄I wish d text bks could also explain us d concept in a simple manner like dis😌

  • @Marienkarpfen
    @Marienkarpfen 5 лет назад

    never seen someone draw arrows as accurately by the distance of one like yuo.

  • @The1414Best
    @The1414Best 10 лет назад +5

    thank you very much
    you're much better than my doctor :')

  • @banajabiswal6014
    @banajabiswal6014 8 лет назад +1

    Very beautifully explained!!!Thank u very much...expecting more videos..

  • @ShrikantSinghYadav
    @ShrikantSinghYadav 9 лет назад

    Great job!

  • @videoofvideos186
    @videoofvideos186 2 года назад

    Gurugale thank you so much

  • @yanamalamotishrahul7716
    @yanamalamotishrahul7716 6 лет назад

    please upload KMP and Boyce Moore also ...

  • @halcyonramirez6469
    @halcyonramirez6469 7 лет назад

    thank you wow. You are a great teacher

  • @amansofttechinfoprime5158
    @amansofttechinfoprime5158 7 лет назад

    //This one using a Library function for the same question
    public class a
    {
    public static void main(String args[])
    {
    String a = "She sells shells on the sea shore";
    String s = "shell";
    int pos = a.indexOf(s);
    System.out.println(pos);
    }
    }

    • @hieudoan7711
      @hieudoan7711 7 лет назад

      you know this library function using what algorithm?

  • @salim6800
    @salim6800 9 лет назад

    thanks a lot. u are grat teacher sir

  • @DSCS-wq5lj
    @DSCS-wq5lj 3 года назад

    But in 16:56 first i=1 and b is matched, then u is also matched but g doesn't match so the while loop ends. Then i=2 and u at the position i=2 doesn't match with b so according to the algorithm we jump to i --> i+m so now i will be 8 and not 7 and at i=8 position u is present which will not match to the b of the pattern. Then how is the a option correct?
    Anyone please help!

  • @nasywanmashud5367
    @nasywanmashud5367 7 лет назад

    well explaination!

  • @anandhuudayakumar3390
    @anandhuudayakumar3390 8 лет назад

    in the 1st for loop should't the limit of i be ((n-m)+1) rather than just m-1

  • @narendrareddygade4496
    @narendrareddygade4496 9 лет назад

    thanks

  • @natukono8605
    @natukono8605 7 лет назад

    Thanks so much, saved my hide!