HSCExamMarker
New Member
- Joined
- Oct 14, 2005
- Messages
- 26
- Gender
- Male
- HSC
- N/A
for part i
I compared with bubble sort, and said that they both use comparison in their sorting, but bubble sort would compare each adjacent items for all the items.
and a little bit extended from here
and for part ii
since i could not understand the sorting method.
What i did was that i merged two arrays into one array and used a bubble sort to look like the last line..
I know this is not a way they wanted me to do.
But would i get marks for these questions???
I compared with bubble sort, and said that they both use comparison in their sorting, but bubble sort would compare each adjacent items for all the items.
and a little bit extended from here
and for part ii
since i could not understand the sorting method.
What i did was that i merged two arrays into one array and used a bubble sort to look like the last line..
I know this is not a way they wanted me to do.
But would i get marks for these questions???