package
0.0.0-20241125063422-a7e1e0bf04b0
Repository: https://github.com/blueblue0102/leetcode-go.git
Documentation: pkg.go.dev

# README

977. Squares of a Sorted Array

https://leetcode.com/problems/squares-of-a-sorted-array/

給定一個數字(包含負數)由小至大的陣列
將陣列中每個數字平方後,回傳數字由小至大的陣列

Takeaway

  • 記得可以使用雙指針