Recitation 3 should be submitted following directions at:
submissions with deadlines
|
Search for value 23 Index: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 ------------------------------------------------------------------------- Values: 3 7 9 11 18 23 27 36 39 44 48 59 Pivot: 36 Since 23 < 36 Limit to: 3 7 9 11 18 23 27 Pivot: 18 Since 23 > 18 Limit to: 23 27 Pivot: 27 Since 23 < 36 Limit to: 23 Found!! |
Search for value 19 Ind: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 --------------------------------------------------------------------- Values: 3 6 7 9 10 12 14 16 17 19 23 24 32 36 38 41 42 45 51 57 |
j A[0] A[1] A[2] A[3] A[4] A[5] A[6] A[7] A[8] A[9] A[10] A[11] ----------------------------------------------------------------- s 13 19 9 5 12 8 7 4 21 2 6 11 0 13 19 9 5 12 8 7 4 21 2 6 11 1 13 19 9 5 12 8 7 4 21 2 6 11 2 9 19 13 5 12 8 7 4 21 2 6 11 [rows 3 to 10 to be filled in] e 9 5 8 7 4 2 6 11 21 13 19 12 |
Contents of email submission for Recitation 3: Your last name, Your first name; CS 3343; Recitation 3. Solutions to problems 1 through 7 above. For part 7, you should submit a complete listing in either Java or in C, including all the additions that you made to the six incomplete functions, labeled (a) through (f). Your submission should also include a run. For submissions that include separate files, you should still concatenate these together, perferably with some line of characters such as ////////////////// between files. If you are having trouble getting this to work, consult with me or with the TA, or send me an email question. You should submit whatever you have for the deadline, even if it is not working. (Remember, just a single .txt file, with the parts concatenated together.) |