Two Sum | Leetcode #1

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 11

  • @udaypratapsingh8923
    @udaypratapsingh8923 2 ปีที่แล้ว +9

    if the array is sorted we can use two pointer approach and in case when array is not sorted we use hash map to solve this 🙂

  • @zendr0
    @zendr0 2 ปีที่แล้ว +1

    I have tried many channels but None is like yours. You are the only one who teaches the logic rather than just showing the code in some language.

  • @Jaffar87
    @Jaffar87 2 ปีที่แล้ว +3

    longtime no see ,please do all leetcode questions youre the best

    • @techdose4u
      @techdose4u  2 ปีที่แล้ว

      Yoo :) In non-increasing order of importance.

  • @danielaviv8215
    @danielaviv8215 2 ปีที่แล้ว

    Hi wanna to ask, how would you solve the following problem:
    Given a *sorted array* & target, return *all pairs* of 2Sum s.t. Ai + Aj = target

  • @technicalknowledgeandfacts
    @technicalknowledgeandfacts 2 ปีที่แล้ว

    sir how to make a pair array basically?which contains index as well as array elements

  • @soumilyade1057
    @soumilyade1057 ปีที่แล้ว

    Thank you for your videos, if you could put time stamp on the videos, it would be great

  • @ankush9879
    @ankush9879 2 ปีที่แล้ว

    Nice. Thanks a lot actually. It worked, you explained it well.

  • @impatientgaming9868
    @impatientgaming9868 6 หลายเดือนก่อน

    Great Explanation

  • @siddhantbanchhode7909
    @siddhantbanchhode7909 ปีที่แล้ว

    Such detailed and nice explaination ❤❤❤❤

  • @harsh461
    @harsh461 2 ปีที่แล้ว

    Paytm mai yahi question aya tha, mera beta ki lag gayi. Thank you sir