Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 494 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 494 Bytes

leetcode-golang

Solutions for leetcode algorithm OJ by golang.

Test it

Download it

git clone github.com/mayulu/leetcode-golang

in your code,

import "leetcode_mayulu_go"

Algorithms passed test

  1. TwoSum(nums []int, target int) []int
  2. AddTwoNumbers(l1 *ListNode, l2 *ListNode) *ListNode
  3. LengthOfLongestSubstring(s string) int
  4. FindMedianSortedArrays(nums1 []int, nums2 []int) float64
  5. LongestPalindrome(s string) string
  6. Convert(s string, numRows int) string