We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a075014 commit aea2f01Copy full SHA for aea2f01
adding-spaces-to-a-string.go
@@ -1,8 +1,9 @@
1
+//https://leetcode.com/problems/adding-spaces-to-a-string/
2
+
3
package leetcode_solutions_golang
4
5
import "bytes"
6
-//https://leetcode.com/problems/adding-spaces-to-a-string/
7
func addSpaces(s string, spaces []int) string {
8
isSpaced := make(map[int]bool)
9
for _, index := range spaces {
0 commit comments