Skip to content

Misleading Editorial Example - 2028. Find Missing Observations #23920

@ejini6969

Description

@ejini6969

LeetCode Username

https://leetcode.com/u/ejini6969/

Problem Number, Title, and Link

2028. Find Missing Observations

Bug Category

Editorial

Bug Description

In the example part of the approach:

sum of given dice rolls = 6 ∗ 2 = 12

Should be

sum of given dice rolls = 3 + 2 + 4 + 3 = 12

Since we are given the array [3, 2, 4, 3] and the output is [6, 6]. Thus, using the output result to interpret the sum of dice rolls despite their sums are equal can be confusing and misleading.

Language Used for Code

None

Code used for Submit/Run operation

No response

Expected behavior

Confusing examples can lead to wrong intuition to solve the problem.

Screenshots

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions