I implemented a binary search algorithm in 36 lines with no outside help whatsoever. We learned the linear search and bubble sort algorithms in Java class today, and we described the binary search but didn't actually code it (we will this Thursday). So I decided to skip ahead a bit and try to write it myself. I had to work out a few kinks along the way, but it works! It works very well actually. And I feel that kind of accomplished feeling that I love to feel.
And I've added some new keywords to my OO-scripting language. I'll release it pretty soon!
No comments:
Post a Comment