We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21ad745 commit c5ae96bCopy full SHA for c5ae96b
1 file changed
find-minimum-in-rotated-sorted-array/Hyeri1ee.java
@@ -0,0 +1,11 @@
1
+//맨뒤 요소 맨앞으로
2
+import java.util.*;
3
+
4
5
+class Solution {
6
+ public int findMin(int[] nums) {
7
+ Arrays.sort(nums);
8
+ return nums[0];
9
+ }
10
+}
11
0 commit comments