[Hacker Cup 2024 Practice Round] Problem D2: Line of Delivery (Part 2)Read more
[Hacker Cup 2024 Practice Round] Problem D1: Line of Delivery (Part 1)Read more
[Hacker Cup 2024 Practice Round] Problem C: Fall in LineRead more
[Hacker Cup 2024 Practice Round] Problem B: Line by LineRead more
[Hacker Cup 2024 Practice Round] Problem A: Walk the LineRead more
[Codeforces] Pinely Round 4 (Div. 1 + Div. 2) D. Prime XOR ColoringRead more
[Codeforces] Round 960 (Div. 2) D. Grid PuzzleRead more
[Codeforces] Educational Round 167 (Rated for Div. 2) D. Smithing SkillRead more
[Codeforces] EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) D. World is MineRead more
[LeetCode] Uncommon Words from Two Sentences

884. Uncommon Words from Two Sentences

A sentence is a string of single-space separated words where each word consists only of lowercase letters.

A word is uncommon if it appears exactly once in one of the sentences, and does not appear in the other sentence.

Given two sentences s1 and s2, return a list of all the uncommon words. You may return the answer in any order.

Read more