본문 바로가기 메뉴 바로가기

LimCoz

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

LimCoz

검색하기 폼
  • 분류 전체보기 (37)
    • nodejs (0)
    • javascript (4)
    • 네트워크 (0)
    • Linux (4)
    • 자바 (1)
    • 알고리즘 (22)
    • 디자인패턴 (1)
  • 방명록

leetcode (1)
leetcode - 23. Merge k Sorted Lists

You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into one sorted linked-list and return it. Example 1: Input: lists = [[1,4,5],[1,3,4],[2,6]] Output: [1,1,2,3,4,4,5,6] Explanation: The linked-lists are: [ 1->4->5, 1->3->4, 2->6 ] merging them into one sorted list: 1->1->2->3->4->4->5->6 문제 : lists로 주어진 링크드리스트를 하나의 링크드리스트로 합..

알고리즘 2022. 2. 5. 23:38
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • leetcode
more
«   2025/12   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바