If I had an array of like 3000 words,how do I code it in order to take less space. ie to put it in a form thats not in words. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

If I had an array of like 3000 words,how do I code it in order to take less space. ie to put it in a form thats not in words.

23rd Aug 2018, 10:34 AM
Siyo South
Siyo South - avatar
3 Answers
+ 2
save it somewhere else and then import it into your code like this: https://code.sololearn.com/cfS8zAEC9b10
23rd Aug 2018, 11:10 AM
Flandre Scarlet
Flandre Scarlet - avatar
+ 3
String compression techniques? https://www.sololearn.com/learn/4615/?ref=app
23rd Aug 2018, 12:16 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
save your array elements in a text file and import that file in your program.
23rd Aug 2018, 11:34 AM
Md. Mubtashim Fuad
Md. Mubtashim Fuad - avatar