The test was held in HackerRank platform and no visible testcases were not given.
1) Count of words
Given a file with text paragraphs, print the count of unique words. (the logic should be case-insensitive)
2) IP calculator
Given a CIDR block, get the count of valid IPs in the CIDR. (reference: CIDR to IPv4 Address Range Utility Tool)
Note: For invalid input, please output error message saying “Invalid Input”
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.