61. Rotate List
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem Given the head of a linked list, rotate the list to the right by k places. Example 1: Input: head = [1,2,3,4,5], k = 2 Output: [4,5,1,2,3] Example 2: Input: head = [0,1,2], k = 4 Output: [2,0,1] Constraints: The number of nodes in the list is in the range [0, 500]. -100
Algorithm/LeetCode
2022. 3. 19. 10:30
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- intellij
- QueryDSL
- 함께 자라기
- Spring Boot
- JSON
- Linux
- spring boot application
- 스프링부트
- proto3
- Java
- @ManyToOne
- 헥사고날 아키텍처
- spring boot app
- Spring Boot Tutorial
- 스프링 부트 회원 가입
- r
- leetcode
- 알고리즘
- 스프링 부트 튜토리얼
- Jackson
- 클린 아키텍처
- JPA
- spring boot jwt
- 스프링 부트
- Spring Boot JPA
- 스프링 데이터 jpa
- gRPC
- 스프링 부트 애플리케이션
- Spring Data JPA
- 함께 자라기 후기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함