Maximum XOR subarray | Problem Of the Day: 14-08-2021 | Siddharth

Поділитися
Вставка
  • Опубліковано 26 сер 2024

КОМЕНТАРІ • 17

  • @sudipandatta5371
    @sudipandatta5371 2 роки тому +5

    good to go.

  • @lalit_096
    @lalit_096 2 роки тому +4

    kuchh to thoda thoda samjh me aya hai...
    But ye nhi samjh aya ki kya samjh aya hai...
    However, i learnt the concept of subarray, subsequence, truth table of XOR, prefix sum array, etc. So Thank you sir.
    Yes, I don`t get the code to implement query part.

  • @souravchakraborty9777
    @souravchakraborty9777 2 роки тому +8

    41 minutes of lecture, after prefix xor there is nothing, a total waste of my time. Just tell after prefix xor how you are getting the inner sub array's xor and getting there xor also

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

      Xor is it's own inverse operation, just like how in prefix sums you do sum[a...b] = sum[b] - sum[a-1], you can do xor[a...b] = xor[b] ^ xor[a-1]. By the way, there's no need to be rude.

  • @kaustubhdixit8278
    @kaustubhdixit8278 Рік тому +3

    Probably the worst explanation, this guy has mugged up the whole solution

  • @BitsMagnet
    @BitsMagnet 2 роки тому +2

    """"good to go"""""

  • @vishalola2168
    @vishalola2168 11 місяців тому

    wonder how this guy got hired

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

    Awesome sir!

  • @anishsuman1371
    @anishsuman1371 2 роки тому +1

    I think it will always give answer 0 if array have only one element

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

      Please correct me if am wrong

    • @Avighna
      @Avighna Рік тому +1

      No, it's gonna be that element ...? The maximum xor in [a] is a.

  • @bipul9530
    @bipul9530 2 роки тому +1

    Good too go 🔥

  • @iamnoob7593
    @iamnoob7593 11 місяців тому +2

    waste of time , Pls focus properly on the logic part

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

    good to go Sir

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

    finally got it.

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

    Thank you boss,
    Your teaching , explanation is on point.
    Jai hind.

  • @himanshugoyal3862
    @himanshugoyal3862 6 місяців тому

    Explanation not helpful. 41 mins wasted