目录拼接字符串的方式共5种方式一:使用 “+”方式二:使用 strings.Join()方式三:使用fmt.Sprint方式四:使用bytes.Buffer方式五:使用strings.Builder总结拼接字符串的方式共5种
字符串在内存中是不可变的,放在只读内存段,因此你可以使用str[0]来访问,但是不能使用str[0]='a'来修改。
Is there any clever way to mix two bit sequences in such way that bits from first sequence will be on odd places, and bits from second sequence will be on even places.