Twitter | OA 2019 | Weird Faculty
Anonymous User
20049
Sep 04, 2019
Sep 06, 2019

Example 1:
Input: [1, 0, 0, 1, 0]
Output: 0
Explanation:
If you answer 0 questions (k = 0) your_result = 0 and your friend_result = -1 (2 correct answers and 3 wrong answers).Example 2:
Input: [1, 0, 0, 1, 1]
Output: 1Example 3:
Input: [1, 1, 1, 0, 1]
Output: 2Comments (13)


