File tree Expand file tree Collapse file tree 5 files changed +108
-0
lines changed
product-of-array-except-self
validate-binary-search-tree Expand file tree Collapse file tree 5 files changed +108
-0
lines changed Original file line number Diff line number Diff line change 1+ import java .util .List ;
2+
3+
4+ // tag renovizee 2week unresolved
5+ // https://github.com/DaleStudy/leetcode-study/issues/241
6+ // https://leetcode.com/problems/3sum/
7+ class Solution {
8+ // Solv1 :
9+ // 시간복잡도 : O(n)
10+ // 공간복잡도 : O(n)
11+ public List <List <Integer >> threeSum (int [] nums ) {
12+
13+ }
14+ }
15+
16+ //-------------------------------------------------------------------------------------------------------------
17+ // Java 문법 피드백
18+ //
19+ //-------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 1+
2+
3+ // tag renovizee 2week
4+ // https://github.com/DaleStudy/leetcode-study/issues/230
5+ // https://leetcode.com/problems/climbing-stairs/ #70 #Easy
6+ class Solution {
7+ // Solv1 :
8+ // 시간복잡도 : O(n)
9+ // 공간복잡도 : O(n)
10+ public int climbStairs (int n ) {
11+
12+ }
13+ }
14+ //-------------------------------------------------------------------------------------------------------------
15+ // Java 문법 피드백
16+ //
17+ //-------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 1+
2+
3+ // tag renovizee 2week
4+ // https://github.com/DaleStudy/leetcode-study/issues/239
5+ // https://leetcode.com/problems/product-of-array-except-self/
6+ class Solution {
7+ // Solv1 :
8+ // 시간복잡도 : O(n)
9+ // 공간복잡도 : O(n)
10+ public int [] productExceptSelf (int [] nums ) {
11+
12+ }
13+ }
14+
15+ //-------------------------------------------------------------------------------------------------------------
16+ // Java 문법 피드백
17+ //
18+ //-------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 1+
2+
3+ // tag renovizee 2week
4+ // https://github.com/DaleStudy/leetcode-study/issues/218
5+ // https://leetcode.com/problems/valid-anagram/ #242 #Easy
6+ class Solution {
7+ // Solv1 :
8+ // 시간복잡도 : O(n)
9+ // 공간복잡도 : O(n)
10+ public boolean isAnagram (String s , String t ) {
11+
12+ }
13+ }
14+
15+ //-------------------------------------------------------------------------------------------------------------
16+ // Java 문법 피드백
17+ //
18+ //-------------------------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change 1+
2+
3+ // tag renovizee 2week
4+ // https://github.com/DaleStudy/leetcode-study/issues/251
5+ // https://leetcode.com/problems/validate-binary-search-tree/
6+ class Solution {
7+
8+ /**
9+ * Definition for a binary tree node.
10+ * public class TreeNode {
11+ * int val;
12+ * TreeNode left;
13+ * TreeNode right;
14+ * TreeNode() {}
15+ * TreeNode(int val) { this.val = val; }
16+ * TreeNode(int val, TreeNode left, TreeNode right) {
17+ * this.val = val;
18+ * this.left = left;
19+ * this.right = right;
20+ * }
21+ * }
22+ */
23+
24+ // Solv1 :
25+ // 시간복잡도 : O(n)
26+ // 공간복잡도 : O(n)
27+ public boolean isValidBST (TreeNode root ) {
28+
29+ }
30+ }
31+
32+ //-------------------------------------------------------------------------------------------------------------
33+ // Java 문법 피드백
34+ //
35+ //-------------------------------------------------------------------------------------------------------------
36+
You can’t perform that action at this time.
0 commit comments