Non Repeated Indices
Lesson 15 of 24 in Coddy's Golang Challenges - Level 1 course.
Challenge
MediumWe have an array of characters like this: ["a", "fc", "ab", "a", "ab", "b"].
Write a function that takes this array as input and returns the indices of the non-repeated characters.
For example, in this example, the expected output should be [1, 5].
Try it yourself
func nonRepeatedIndices() {
}All lessons in Golang Challenges - Level 1
1Introduction
Introduction3Play with Slices & Arrays
Longest StringDouble Even NumbersSum Average Minimum and MaxSumEven & Odd NumbersSlice to Map Non Repeated Indices