Page 1 of 1
How to solve the ' Lorem ipsum ' Challenge easily??
Posted: Thu Jun 19, 2008 5:09 am
by dorahan
i don't know how to solve this challenge... please help me and give me hint about this challenge... i'm very confused..
Posted: Thu Jun 19, 2008 10:51 am
by therethinker
What programming languages do you know?
I went through and separated out each word, then counted each word, using python. I'm not going to tell you exactly how, though.
Posted: Thu Jun 19, 2008 11:47 am
by dorahan
Actually, i don't know any programming languages... So i need help if anybody want to give me an information to solve this challenge...
Posted: Thu Jun 19, 2008 2:55 pm
by therethinker
Then I suggest you learn one. If you plan to get any further, you'll need it.
Why not Java? Google up some tutorials.
Posted: Sat Jun 21, 2008 8:03 pm
by Loseway
You only have to find a program in google which counts the "word frequency"
I think to program this by yourself takes much more time than googling for it and a good hacker is fast, right
Posted: Sat Jun 21, 2008 8:08 pm
by therethinker
When I did that, the all of the online ones were JS-based. Since the sample text is so large, it locked up.
I ended up doing it in a python interpreter. If it was a program, it probably would have been 4 or 5 lines.
Posted: Sat Jun 21, 2008 8:37 pm
by Loseway
Actually i am a complete Noob, who cant program anything laugh* and because of that i use google. programming something by yourself is much better
!
Posted: Sun Jun 22, 2008 3:39 am
by Allosentient
I wrote my own program to do it. If you use C# it can take anywhere from 10 to 60 minutes to write most programs for these problems
Mine was definitely more than 5 lines though
Posted: Sun Jun 22, 2008 1:19 pm
by therethinker
As I think I've said elsewhere, I balance it. If its processor intensive, I'll use C/C++. But if the time I save from writing it in Python is greater than the speed gained from quality C/C++, I'll use Python (as I usually do).
Occasionally, laziness kicks in and I do it in Python anyway ;p
Posted: Sat Jul 05, 2008 7:32 am
by dorahan
This challenge has beed solved. The hint is: you only need "word frequency counter" try to googling it.
:: TOPIC CLOSED ::