본문 바로가기

N

검색하기
N
프로필사진 naeunchan

  • CS (709)
    • C++ (0)
      • Effective C++ (0)
    • TIL (21)
    • 프로그래머스 알고리즘 (225)
      • 1단계 (50)
      • 2단계 (62)
      • 3단계 (28)
      • 4단계 (2)
      • KAKAO (56)
      • Weekly Challenge (10)
      • MySQL (17)
    • goorm (9)
    • 백준 알고리즘 (164)
    • SW Expert Academy (98)
    • Leet Code 알고리즘 (179)
    • Front-end (1)
    • Node.js (8)
Guestbook
250x250
반응형
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
  • 1단계
  • 알고리즘
  • 완전탐색
  • 조합
  • mysql
  • 문자열
  • 프로그래머스
  • dp
  • 정렬
  • Greedy
  • kakao
  • 카카오
  • BFS
  • Sort
  • 백준
  • dfs
  • 2단계
  • Queue
  • 스택
  • til
  • js
  • leet code
  • 위클리 챌린지
  • 코딩 테스트
  • SWEA
  • string
  • C++
  • 삼성
  • map
  • 큐
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록reversed (1)

N

(Leet Code c++)Reverse Linked List

206. Reverse Linked List Given the head of a singly linked list, reverse the list, and return the reversed list. Example 1: Input: head = [1,2,3,4,5] Output: [5,4,3,2,1] Example 2: Input: head = [1,2] Output: [2,1] Example 3: Input: head = [] Output: [] Constraints: The number of nodes in the list is the range [0, 5000]. -5000 next; } current = head; while(!stk.empty()){ ListNode * tmp = stk.top..

Leet Code 알고리즘 2021. 7. 23. 11:56
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바