Algorithms -- 2009-2010 -- info.uvt.ro/Laboratory 3
Appearance
Quick links: front; laboratories agenda, 1, 2, 3, 4, 5, 6, 7, evaluation, tools, references.
Notes
[edit]- Laboratory / seminar problem set 2:
- in English (from profesor Daniela Zaharie);
- in Romanian (from profesor Daniela Zaharie);
- Laboratory / seminar problem set 3:
- in English (from profesor Daniela Zaharie);
- in Romanian (from profesor Daniela Zaharie);
Exercises
[edit]From the first problem set, exercises:
- based on problem 4 (for en), or 6 (for ro): create a function than converts a number from base a to base b (the inputs and outputs are both lists of digits);
From the second problem set, exercises:
- problem 9 (for both en and ro): find the smallest two values from an array;
- generalize the solution to find the smallest n values from an array;
- problem 10 (for both en and ro): digit frequencies and cummulated frequencies;