笔试时间紧张,代码写得比较暴力粗糙,仅供没AC的小伙伴找问题,勿喷哈。 package main import ( "fmt" "math" ) func longestGeometricSeqLength(nums []int) int { // write code here if len(nums) == 0 { return 0 } s1 := solution(nums) left, right := 0, len(nums)-1 for left < right { nums[left], num...