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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.