-
### 배경
내가 플레이 리스트니까.
플레이 리스트 1개 가져올 때,
노래 가져오는 로직을 추가하자.
done
- 페이징 추가: 10개
문제.
- 이걸 하려면 rdb가 아니라서, repo 로 byId 하나하나 가져와야 한다.
한꺼번에 가져오는 함수도 찾아보면 있을거같긴 한데!
- 요건 @Query 테스트해봐야 한다
생각…
-
java.io.IOException: Incompatible clusterIDs in /home/autonomous/hadoop-3.2.2/dfs/dataNode: namenode clusterID = CID-71d72dfc-b5ec-46cc-ab8b-3c2368e6beda; datanode clusterID = CID-8502a85b-00c2-4254-a…
-
https://www.assskiller.cn/2020/04/22/Leetcode199/
开始在个人博客写一写leetcode题解,有tag功能归档还挺方便的,而且还可以水一水github contribution,美滋滋。(反正没人看,随便乱写一写) 题目描述:给定一棵二叉树,想象自己站在它的右侧,按照从顶部到底部的顺序,返回从右侧所能看到的节点值。 示例:12345678910…
-
给定一个二叉树的根 root 和两个整数 val 和 depth ,在给定的深度 depth 处添加一个值为 val 的节点行。
注意,根节点 root 位于深度 1 。
加法规则如下:
- 给定整数 depth,对于深度为 depth - 1 的每个非空树节点 cur ,创建两个值为 val 的树节点作为 cur 的左子树根和右子树根。
- cur 原来的左子树应该是新的左子树根…
-
给你一棵根为 root 的二叉树,请你返回二叉树中好节点的数目。
「好节点」X 定义为:从根到该节点 X 所经过的节点中,没有任何节点的值大于 X 的值。
#### 示例 1:
![示例1](https://assets.leetcode-cn.com/aliyun-lc-upload/uploads/2020/05/16/test_sample_1.png)
```
输入:ro…
-
https://yukicoder.me/problems/no/1302 の愚直解を書くのに使った
TODO: ↓をまともにする
```c++
vector trees;
vector vs;
void dfs(int i,int n){
if(i+2==n){
vector G(n);
auto add_edge=[&](int x,int y){
…
-
![](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9jZG4uanNkZWxpdnIubmV0L2doL2Nob2NvbGF0ZTE5OTkvY2RuL2ltZy8yMDIwMDgyODE0NTUyMS5qcGc?x-oss-process=image/format,png)
>仰望星空的人,不应该被嘲笑
## 题目描述
给定一个二叉树,它的每个…
-
# NEFUOJ-278-approach Angel - 学习备用录
这里是Do1phln的博客,研究的方向有网络安全,逆向工程,主机安全,二进制安全以及算法,欢迎与我交流!Hello! This is Do1phln's blog, researching in network security, reverse engineering, host security, binary secu…
-
# 778. 水位上升的泳池中游泳
## 入选理由
暂无
## 题目地址
[https://leetcode-cn.com/problems/swim-in-rising-water](https://leetcode-cn.com/problems/swim-in-rising-water)
## 前置知识
暂无
## 题目描述
在…
-
### 정렬 알고리즘
> 데이터 정렬을 위해 필요한
+ 퀵 소트
+ 머지 소트
+ 힙 소트
### 검색 알고리즘
> 데이터 검색을 위해 필요한
+ 이진 검색
+ 해시 테이블을 이용한 검색
### 그래프 알고리즘
> 데이터 간의 관계를 모델링하고 분석하기 위해 필요한
+ BFS
+ DFS
+ 최단 경로