Three day programming

I finally finished our take home programming exercise in CMSC 123 after three days of headaches about how to implement a ranged bucket sort. At least I got it now, although I'm not quite sure if its the correct implementation of the program specification. My program does print the desired results.

Here's the specifications:

Create a program that will ask the user for an array of integers during compile time. This array should be inputted and scanned all at once in argv[ ]. Once the values have been scanned, the user is then asked for a maximum value and the amount a single bucket should contain. After all the needed inputs have been scanned, the array should be placed in Buckets via Bucket sort but in this program, one bucket should contain a range of values and not just a single element.
After the ranged bucket sort, the program should then implement counting sort before printing the sorted array in the terminal.

It took me about three days just to finish a programming exercise that would normally be given only three hours to finish in one lab session. I am really happy to have finished the program but my skills in programming is still entirely questionable. This really makes me worry, to be honest.
I'm still living under the notion of 'my best is simply not enough'.

Well at least I'm getting somewhere even if my own pace is pretty slow. If this keeps on, the world has already ended and I'm still far from demise (oh yeah, chaotic positive thinking)

Comments