Home
MINJUN
Cancel

Contact

Email blueblue900@gmail.com blueblueriz1646@daum.net Phone Japan +81) 80-9003-7413 Git https://github.com/0ArchLinux0 PortFolio Top 10 (personal taste) Recent

LeetCode. 9. Palindrome Number

[Link] https://leetcode.com/problems/palindrome-number/ class Solution { public boolean isPalindrome(int x) { if(x < 0) return false; String s = String.valueOf(x); ...

LeetCode. 7. Reverse Integer

Reverse Integer [Link] https://leetcode.com/problems/reverse-integer/ class Solution { public int reverse(int x) { if(x == 0) return 0; int sign = 1; long ln = new...

LeetCode. 6. ZigZag Conversion

ZigZag Conversion [Link] https://leetcode.com/problems/zigzag-conversion/ import java.util.*; class Solution { public String convert(String s, int numRows) { if(numRows == 1) ret...

LeetCode. 5. Longest Palindromic Substring

[Link] https://leetcode.com/problems/longest-palindromic-substring/ class Solution { public String longestPalindrome(String s) { int max = 0, startIdx = 0, endIdx = 0, len = s.leng...

LeetCode. 4.Median of Two Sorted Arrays

[Link] https://leetcode.com/problems/median-of-two-sorted-arrays/ class Solution { public double findMedianSortedArrays(int[] nums1, int[] nums2) { int len = nums1.length + nums2.l...

LeetCode. 4 Median of Two Sorted Arrays

[Link] https://leetcode.com/problems/median-of-two-sorted-arrays/ class Solution { public double findMedianSortedArrays(int[] nums1, int[] nums2) { int len = nums1.length + nums2.l...

LeetCode. 3. Longest Substring Without Repeating Characters

[Link] https://leetcode.com/problems/longest-substring-without-repeating-characters/ import java.util.*; class Solution { public int lengthOfLongestSubstring(String s) { int start ...

LeetCode. 16. 3Sum Closest

[Link] https://leetcode.com/problems/3sum-closest/ function radixSort(array) { let max; let digitArr = new Array(10); for (let i = 0; i < digitArr.length; i++) { digitArr[i] = [];...

LeetCode. 15. 3Sum

[Link] https://leetcode.com/problems/3sum/ import java.util.*; class Solution { public List<List<Integer>> threeSum(int[] nums) { Arrays.sort(nums); // for(Lis...