diff --git a/code_study/Baekjoon/java/_11053.java b/code_study/Baekjoon/java/_11053.java new file mode 100644 index 0000000..7801fe4 --- /dev/null +++ b/code_study/Baekjoon/java/_11053.java @@ -0,0 +1,23 @@ +import java.util.*; + +public class _11053 { + public static void main(String[] args) { + Scanner sc = new Scanner(System.in); + int N = sc.nextInt(); + int[] Arr = new int[N]; + for(int i=0; iArr[j]) dp[i] = Math.max(dp[i], dp[j] + 1); + } + } + + int maxLenth = Arrays.stream(dp).max().getAsInt(); + System.out.println(maxLenth); + } +}