mirror of
https://github.com/cubixle/codekata-golang.git
synced 2026-04-24 19:54:43 +01:00
20201112
This commit is contained in:
@@ -6,6 +6,7 @@ func main() {
|
|||||||
|
|
||||||
func sortFor(n int, src []int) []int {
|
func sortFor(n int, src []int) []int {
|
||||||
var find []int
|
var find []int
|
||||||
|
var left []int
|
||||||
for _, x := range src {
|
for _, x := range src {
|
||||||
if x == n {
|
if x == n {
|
||||||
find = append(find, x)
|
find = append(find, x)
|
||||||
|
|||||||
Reference in New Issue
Block a user