본문 바로가기

부부의 코딩 성장 일기

검색하기
부부의 코딩 성장 일기
프로필사진 펩시_콜라

  • 분류 전체보기 (147)
    • Algorithm (135)
      • LeetCode (135)
    • Python (6)
      • Fundamentals (5)
      • Libraries (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2024/01   »
일 월 화 수 목 금 토
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
  • sorting
  • 중간
  • 재귀
  • binary search
  • matrix
  • leetcode
  • two pointers
  • easy
  • Python
  • 미디움
  • Binary
  • recursive
  • DP
  • 이진트리
  • 리트코드
  • HashTable
  • Medium
  • list
  • string
  • 문자열
  • linked list
  • Array
  • tree
  • Depth-first Search
  • binary tree
  • math
  • backtracking
  • dfs
  • hash table
  • 쉬움
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록2024/01/14 (1)

부부의 코딩 성장 일기

LeetCode 61(Rotate List, Python)

1. 문제 링크 https://leetcode.com/problems/rotate-list/ Rotate List - LeetCode Can you solve this real interview question? Rotate List - Given the head of a linked list, rotate the list to the right by k places. Example 1: [https://assets.leetcode.com/uploads/2020/11/13/rotate1.jpg] Input: head = [1,2,3,4,5], k = 2 Output: [4,5,1 leetcode.com 2. 문제 설명 linked list의 head가 주어졌을 때, k번 오른쪽으로 회전한 linked l..

Algorithm/LeetCode 2024. 1. 14. 19:00
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바