Notice
Recent Posts
Recent Comments
Link
목록Middle of the Linked List (1)
허허의 오늘은 뭐 먹지?
876. Middle of the Linked List
leetcode.com/problems/middle-of-the-linked-list/ Middle of the Linked List - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com Linked List문제에서 흔히 볼 수 있는 runner, walker문제입니다. runner는 한번에 두번씩, walker는 한번에 한번씩 움직입니다. 그래서 runner가 끝에 다다랐을 때, walker는 중간까지 올 수 있습니다. class Solution { public ..
SW/알고리즘
2021. 4. 8. 23:26