MCPcopy Create free account
hub / github.com/VanjaRo/LeetCode / main

Function main

tasks/977.go:5–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import "fmt"
4
5func main() {
6 nums := []int{-4, -1, 0, 3, 10}
7 fmt.Print(sortedSquares(nums))
8}
9
10func sortedSquares(nums []int) []int {
11 l := len(nums)

Callers

nothing calls this directly

Calls 2

sortedSquaresFunction · 0.85
PrintMethod · 0.80

Tested by

no test coverage detected