I want a code that replaces words with abbreviations , yet do not repeat the same abbreviation if there is any | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want a code that replaces words with abbreviations , yet do not repeat the same abbreviation if there is any

like world wide web into WWW

29th Oct 2017, 4:26 PM
Rana Mohamed Ali Zaki
Rana Mohamed Ali Zaki - avatar
2 Answers
+ 2
I was just looking back on this post and my response code and realized I overlooked an entire requirement in the spec. I didn't have the code checking for duplicate abbreviations. I updated the code to make that check.
27th Nov 2017, 3:03 AM
Shane Overby
Shane Overby - avatar
+ 1
Here is an example I created for you: https://code.sololearn.com/W3yL29KZeUP3/?ref=app
4th Nov 2017, 5:08 AM
Shane Overby
Shane Overby - avatar