Skip to content

Commit f98546c

Browse files
authored
Updated tags
1 parent 4d242dd commit f98546c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/main/kotlin/g0501_0600/s0530_minimum_absolute_difference_in_bst/Solution.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package g0501_0600.s0530_minimum_absolute_difference_in_bst
22

3-
import com_github_leetcode.TreeNode
4-
53
// #Easy #Depth_First_Search #Breadth_First_Search #Tree #Binary_Tree #Binary_Search_Tree
64
// #2023_01_15_Time_209_ms_(86.96%)_Space_38.5_MB_(69.57%)
75

6+
import com_github_leetcode.TreeNode
7+
88
/*
99
* Example:
1010
* var ti = TreeNode(5)

src/main/kotlin/g0501_0600/s0572_subtree_of_another_tree/Solution.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package g0501_0600.s0572_subtree_of_another_tree
22

3-
import com_github_leetcode.TreeNode
4-
53
// #Easy #Depth_First_Search #Tree #Binary_Tree #Hash_Function #String_Matching
64
// #Algorithm_II_Day_7_Breadth_First_Search_Depth_First_Search
75
// #2023_01_23_Time_214_ms_(92.39%)_Space_38.4_MB_(45.65%)
86

7+
import com_github_leetcode.TreeNode
8+
99
/*
1010
* Example:
1111
* var ti = TreeNode(5)

src/main/kotlin/g0501_0600/s0587_erect_the_fence/Solution.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
package g0501_0600.s0587_erect_the_fence
22

3+
// #Hard #Array #Math #Geometry #2023_01_30_Time_470_ms_(100.00%)_Space_54.7_MB_(100.00%)
4+
35
import kotlin.math.abs
46
import kotlin.math.atan2
57
import kotlin.math.pow
68
import kotlin.math.sqrt
79

8-
// #Hard #Array #Math #Geometry #2023_01_30_Time_470_ms_(100.00%)_Space_54.7_MB_(100.00%)
9-
1010
class Solution {
1111
private fun dist(p1: Pair<Int, Int>, p2: Pair<Int, Int>): Double {
1212
return sqrt((p2.second - p1.second).toDouble().pow(2.0) + Math.pow((p2.first - p1.first).toDouble(), 2.0))

0 commit comments

Comments
 (0)