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
- Java
- intellij
- @ManyToOne
- JPA
- r
- 스프링 부트
- 함께 자라기 후기
- proto3
- 스프링 부트 애플리케이션
- Spring Data JPA
- gRPC
- leetcode
- 스프링 부트 회원 가입
- Spring Boot JPA
- Spring Boot
- 스프링 부트 튜토리얼
- Jackson
- Linux
- 클린 아키텍처
- 함께 자라기
- JSON
- QueryDSL
- 스프링부트
- 헥사고날 아키텍처
- spring boot jwt
- spring boot app
- spring boot application
- Spring Boot Tutorial
- 알고리즘
- 스프링 데이터 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 |
글 보관함