Timeline for UPenn homework 3: histogram
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 28, 2015 at 18:38 | vote | accept | hasnoob | ||
| Mar 28, 2015 at 18:38 | comment | added | hasnoob | Thank you for your in depth analysis. The name getCountOfElements is a remnant of earlier attempts... That may clear the unfitting name :) The return type is like that because I thought it would be better to reuse parts of the list instead of a new traversal (like with an array where you can do a frequency count linearly). Now that you mention it: is getCountOfElements not quadratic because of ++? | |
| Mar 26, 2015 at 23:17 | history | answered | bisserlis | CC BY-SA 3.0 |