Open In App

CRED Internship drive Examination Experience

Last Updated : 20 Aug, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

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”  


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads