Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
achehab8438y56 sec wtf are you sorting, a list of trucks?
(kidding good job & keep up the good work) -
BoomeH21208y@achehab haha, yes, big, big trucks. No, I'm comparing a list of 2500 entries to another list of 2500 entries, to see if there are any differences (an entry in the first list that doesn't exist in the new one). If there is a difference, I'm checking if there's a partial match. If there's no match whatsoever I mark it as not existing at all
-
BoomeH21208y@mostlyharmless Hm, I haven't been coding for that long, what do you mean by sorted lists? I read the entries from two textfiles through a BufferedReader
-
BoomeH21208y@danislu Okay, thanks for the feedback! Do you have a text/link that explains sorted lists and the O(n)?
-
danislu148y@BoomeH sure 😀 http://bigocheatsheet.com talks about the complexities of different algorithms and stuff, a usefull resource
-
BoomeH21208y@danislu Guess I have some reading to do lol, will pick up a DS&A book listed on the site right away. Thanks for the tip! 😊
Related Rants
First try at threads in java, search algorithm improved by 35% (56sec to 36sec). Pretty cool to learn 😊
undefined
java
threads