Unique Words Count (Case-Insensitive)

Python Medium 7 views
Back to Questions

Problem Description

For each testcase you get a full line sentence. Count unique words ignoring case and output the count.

Input Format

First line t. Next t lines are sentences.

Output Format

t lines counts.

Sample Test Case

Input:
3 Hello hello world A b A c
Output:
2 3 0

Constraints

Total characters

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next