Does this expected result make sense?


  • 0
    S

    For the 4th test case (for some reason, I cannot see the input), but the expected is as follows. Why are there 4 results for user id =1? I thought it should be at most 3.

    {"headers": ["id", "month", "Salary"], "values": [[1, 4, 130], [1, 3, 90], [1, 2, 50], [1, 1, 20], [2, 1, 20], [3, 3, 100], [3, 2, 40]]}
    

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.