Are satisfactory solutions to pset6 really long compared with solutions to previous psets (at least several hundred lines, ex comments)? If not, I'm barking up multiple wrong trees and need to hit reset.

  • If you think you wrote a lot of unnecessary code, you should probably remove it and keep the necessary parts! If you repeated some code, try to think of a better way to implement the same thing without repeating code!
    – kzidane
    Nov 19, 2014 at 10:37

2 Answers 2


This is really going to vary depending on what type of data structure was used.

I tried it with several different structures just to see performance. My final solution to pset6 was roughly 500 lines of code and comments across two created files and completing the functions in dictionary.c


Of course not. In computer science, everything less is admirable. If your code is small and is capable of doing what the specifications suggest, then it is better than others' code.

Go ahead, have luck.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .