Skip to content

Instantly share code, notes, and snippets.

@Sailfishc
Created November 30, 2019 11:56
Show Gist options
  • Save Sailfishc/3111404cd2adbd37b6d74e33bcdd1863 to your computer and use it in GitHub Desktop.
Save Sailfishc/3111404cd2adbd37b6d74e33bcdd1863 to your computer and use it in GitHub Desktop.
for nums[finder] == nums[last] {
finder++
if finder == len(nums) {
return last + 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment