tremayne-stewart / learningGolang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learning Go

The projects in this directory are myself going through and learning how to use Golang by completing leetcode problems in Go. This helps me gain familiariy with writing the language, specifics of instatiation (i.e. creating arrays vs pointers to slices), and general comforabtiliy in using go to accomplish things.

This may also double to some readers as a reference on how to solve the problems that these go scripts solve.

Structure

Each problem is given it's own folder and namespace under leetcode/PROBLEM_NAME.

Testing

To test a solution, cd into it's folder and run go test.

Completed Problems

  1. Two Sum easy
  2. Merge Two Sorted Lists easy
  3. Palindrome Number easy
  4. Median of Two Sorted Arrays hard
  5. Merge K Sorted Lists hard

If you have any questions just open an issue and we can discuss it.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%