You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 01-recipients-read/task.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ let messages = [
16
16
17
17
Your code can access it, but the messages are managed by someone else's code. New messages are added, old ones are removed regularly by that code, and you don't know the exact moments when it happens.
18
18
19
-
Now, which data structure could you use to store information whether the message "has been read"? The structure must be well-suited to give the answer "was it read?" for the given message object.
19
+
Now, which data structure could you use to store information about whether the message "has been read"? The structure must be well-suited to give the answer "was it read?" for the given message object.
20
20
21
21
P.S. When a message is removed from `messages`, it should disappear from your structure as well.
0 commit comments