1721. Swapping Nodes in a Linked List
소스 코드는 여기 있습니다. 문제는 여기 있습니다. Problem You are given the head of a linked list, and an integer k. Return the head of the linked list after swapping the values of the kth node from the beginning and the kth node from the end (the list is 1-indexed). Example 1: Input: head = [1,2,3,4,5], k = 2 Output: [1,4,3,2,5]Example 2: Input: head = [7,9,6,6,7,8,3,0,9,5], k = 5 Output: [7,9,6,6,8,7,3,0,9,5]Const..
Algorithm/LeetCode
2022. 4. 15. 10:30
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Linux
- @ManyToOne
- 스프링 부트 애플리케이션
- r
- 헥사고날 아키텍처
- 클린 아키텍처
- Jackson
- Spring Boot JPA
- 스프링 데이터 jpa
- JSON
- 알고리즘
- Spring Data JPA
- leetcode
- 스프링부트
- intellij
- 스프링 부트 튜토리얼
- QueryDSL
- spring boot app
- Spring Boot
- spring boot application
- 스프링 부트 회원 가입
- gRPC
- proto3
- 함께 자라기 후기
- 스프링 부트
- JPA
- 함께 자라기
- Java
- Spring Boot Tutorial
- spring boot jwt
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
