24.05.2023 2542. Maximum Subsequence Score medium blog post Join me on Telegram https://t.me/leetcode_daily_unstoppable/222 Problem TLDR Max score of k sum(subsequence(a)) * min(subsequence(b)) Intuition First, the result is independent of the order, so we can sort. For maximum score, it better to start with maximum multiplier of
# 24.05.2023 [2542. Maximum Subsequence Score]
# 24.05.2023 [2542. Maximum Subsequence…
# 24.05.2023 [2542. Maximum Subsequence Score]
24.05.2023 2542. Maximum Subsequence Score medium blog post Join me on Telegram https://t.me/leetcode_daily_unstoppable/222 Problem TLDR Max score of k sum(subsequence(a)) * min(subsequence(b)) Intuition First, the result is independent of the order, so we can sort. For maximum score, it better to start with maximum multiplier of