Reputation
1,294
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 12
Newest
 Yearling
Impact
~39k people reached

  • 0 posts edited
  • 0 helpful flags
  • 12 votes cast
Oct
31
revised Is conditional return type ever a good idea?
Added quotes to clarify a sentence
Oct
31
answered How can you get constructive criticism for your code?
Oct
31
comment I need some help creating a non-binary tree (or some other data structure that will better solve my problem)
Have you considered a set?
Oct
31
comment Equal Gifts Algorithm Problem
Create an array of lists - pricePoints[priceRange] (don't forget to add one if zero is a legal price) for(book in collection) { pricePoints[book.price].add(book) }
Oct
31
awarded  Editor
Oct
31
comment Equal Gifts Algorithm Problem
@Karl - thanks! I think I noticed that at the same time and updated. I shouldn't write algorithms before my coffee. :)
Oct
31
comment Equal Gifts Algorithm Problem
@maple_shaft Yeah, that would be simpler and have the same result. Thanks.
Oct
31
revised Equal Gifts Algorithm Problem
added 11 characters in body
Oct
31
comment Should static parameters in an API be part of each method?
Whoops. I guess I misunderstood. :) Sorry about that.
Oct
31
comment Equal Gifts Algorithm Problem
Oh - forgot to add that sorting can be O(n) because you know the value range, so you needn't use a general purpose sort.
Oct
31
answered Equal Gifts Algorithm Problem
Oct
31
answered Is conditional return type ever a good idea?
Oct
31
answered Should static parameters in an API be part of each method?
Oct
30
awarded  Supporter
Oct
30
awarded  Teacher
Oct
30
answered Learning good OOP design and unlearning some bad habits