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
In this challenge you need to find the longest word in a sentence. If the sentence has more than one word of the same length you should pick the first one.
INPUT SAMPLE:
Your program should accept as its first argument a path to a filename. Input example is the following
1 some line with text
2 another line
Each line has one or more words. Each word is separated by space char.