[Java] Leetcode 708. Insert into a Sorted Circular Linked List [LinkedList #5]

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

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

  • @SatyaMantha
    @SatyaMantha Год назад

    Great Solution !

  • @zzzwhite9997
    @zzzwhite9997 2 года назад +2

    Great job. But I think if(insertVal=cur.next) would be more concise

  • @Leo-zh2or
    @Leo-zh2or 2 года назад +1

    Thanks Eric. Your solution is always easy to understand.

  • @otifelix
    @otifelix 2 года назад +1

    solution make question so easy. Thanks

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

    thank you for the great explanation!!

  • @CDJohnson
    @CDJohnson 3 года назад +1

    Very clear explanation! Thank you!

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

    why do you return head instead of cur?