Solutions for leetcode algorithm OJ by golang.
Download it
git clone github.com/mayulu/leetcode-golang
in your code,
import "leetcode_mayulu_go"
- TwoSum(nums []int, target int) []int
- AddTwoNumbers(l1 *ListNode, l2 *ListNode) *ListNode
- LengthOfLongestSubstring(s string) int
- FindMedianSortedArrays(nums1 []int, nums2 []int) float64
- LongestPalindrome(s string) string
- Convert(s string, numRows int) string