消息推送Leetcode每日一题 —— 3411. 最长乘积等价子数组38分钟前Leetcode每日一题 —— 3411. 最长乘积等价子数组🌐 链接: https://linux.do/t/topic/3231127🏷️ 分组: LinuxDo论坛🕒 时间: 2026-11-24 08:59:38 LINUX DO Leetcode每日一题 —— 3411. 最长乘积等价子数组 思路 数据量小,直接模拟即可。 代码 class Solution { public int maxLength(int[] nums) { int ans = 0; for (int i = 0; i < nums.length; i++) { int prod = nums[i]; int lcm = nums[i]; int gcd = nums[i]; for… 38分钟前