본문 바로가기

Tech for good

검색하기
Tech for good
프로필사진 Diana Kang

  • All (187)
    • Profile (2)
    • IT (173)
      • Data Science (38)
      • Computer Science (114)
      • Cloud (20)
    • Book & Article (11)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • Github
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • array
  • 알고리즘
  • GenAI
  • Stack
  • two-pointer
  • 슬라이딩윈도우
  • dfs
  • Greedy
  • heap
  • LeetCode
  • stratascratch
  • SQL
  • 니트코드
  • sql코테
  • 생성형AI
  • 리트코드
  • slidingwindow
  • 릿코드
  • 코드업
  • nlp
  • 자연어처리
  • 파이썬알고리즘
  • codeup
  • gcp
  • Python
  • 파이썬
  • GenerativeAI
  • 투포인터
  • 파이썬기초100제
  • Python3
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2025/07/03 (1)

Tech for good

[Neetcode/Linked Lists] Intersection of Two Linked Lists

# Definition for singly-linked list.# class ListNode:# def __init__(self, x):# self.val = x# self.next = Noneclass Solution: def getIntersectionNode(self, headA: ListNode, headB: ListNode) -> Optional[ListNode]: passed_a = set() current_a = headA current_b = headB while current_a or current_b: if (current_a == current_b) and (current_a and curre..

IT/Computer Science 2025. 7. 3. 03:45
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바