给定一个整数数组 coordinates ,其中 coordinates[i] = [x, y] , [x, y] 表示横坐标为 x、纵坐标为 y 的点。请你来判断,这些点是否在该坐标系中属于同一条直线上。 示例 1: 输入:coordinates = [[1,2],[2,3],[3,4],[4,5],[5,6],[6,7]] 输出:true 示例 2: 输入:coordinates = [[1,1],[2,2],[3,4],[4,5],[5,6…

2026年9月8日 0条评论 6点热度 0人点赞 MuWinds 阅读全文