GoLang Solution For LeetCode Problem: First Unique Character in a String
Solving First Unique Character in a String in go. Please try yourself first to solve the problem and submit your implementation to LeetCode before looking into solution.
Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1.
s = "leetcode" return 0. s = "loveleetcode", return 2.
See the full details of the problem First Unique Character in a String at LeetCode
Originally posted at: @github.com/halfrost/LeetCode-Go