Re: [閒聊] 每日LeetCode

作者: Rushia (みけねこ的鼻屎)   2023-12-12 10:52:34
https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/description
1464. Maximum Product of Two Elements in an Array
給你一個陣列找出任意兩個數-1相乘的最大值。
思路:
1.找最大的兩個數減一之後相乘
Java Code:
作者: wwndbk (黑人問號)   2023-12-12 11:05:00
大師
作者: NCKUEECS (小惠我婆)   2023-12-12 11:15:00
開心easy

Links booklink

Contact Us: admin [ a t ] ucptt.com