I need to Write a function which takes as input two strings and count how many words are both in the two
strings. Display the results sorted according the length of the word (longer first) and in case of
equality by the alphabetical order?
All 8 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.