Leetcode Daily Question
@leetcodeDailyQuestionChannel
2.37K
subscribers
517
files
2.74K
links
Why are you asking me to do Leetcode for this CSS job?
Download Telegram
Join
Leetcode Daily Question
2.37K subscribers
Leetcode Daily Question
leetcode.cn
2026-08-18
🟢
3471.find-the-largest-almost-missing-integer
🏷️
Tags
#array
#hash_table
Telegraph
find-the-largest-almost-missing-integer
给你一个整数数组 nums 和一个整数 k 。 如果整数 x 恰好仅出现在 nums 中的一个大小为 k 的子数组中,则认为 x 是 nums 中的几近缺失(almost missing)整数。 返回 nums 中 最大的几近缺失 整数,如果不存在这样的整数,返回 -1 。
来源
答案
Leetcode Daily Question
leetcode.com
2026-08-18
🟢
3471.find-the-largest-almost-missing-integer
🏷️
Tags
#array
#hash_table
Telegraph
find-the-largest-almost-missing-integer
You are given an integer array nums and an integer k. An integer x is almost missing from nums if x appears in exactly one subarray of size k within nums. Return the largest almost missing integer from nums. If no such integer exists, return -1.
Source
Solution