Moulinette-passing versions of Intermediate Exam questions.
Table conventions
When I look at the trace for this question, can I tell what the tests are?
- ๐ Yes, the tests are accessible.
- ๐ No, the tests are locked away in files. It might look something like:
= Test 1 ===================================================
$> ./3sdnrgu2oip0738azjrotz8n test_correct_a_00.txt test_correct_b_00.txt
$> diff -U 3 user_output_test1 test1.output | cat -e
- ๐ฎ The trace show something, but not enough to recreate the test ourselves. This is particularly common among questions that take structs as input.
- โ๏ธ Function
- ๐ Whole program
level | question | solved? | program/ function |
trace | test main |
---|---|---|---|---|---|
0 | count_of_2 |
โ | โ๏ธ | ๐ | โ |
0 | equation |
โ | โ๏ธ | ๐ | โ |
0 | find_pivot |
โ | โ๏ธ | ๐ | โ |
0 | is_anagram |
โ | โ๏ธ | ๐ | โ |
0 | print_doublon |
โ | โ๏ธ | ๐ | โ |
1 | |||||
1 | count_alpha |
โ | ๐ | ๐ | ๐ |
1 | flood_fill |
โ | โ๏ธ | ๐ | โ |
1 | height_tree |
โ | โ๏ธ | ๐ฎ | ๐ซ |
1 | queue |
โ | โ๏ธ | ๐ฎ | ๐ซ |
1 | stack |
โ | โ๏ธ | ๐ฎ | ๐ซ |
2 | |||||
2 | is_looping |
โ | โ๏ธ | ๐ฎ | โ |
2 | longest_sequence |
โ | โ๏ธ | ๐ฎ | โ |
2 | ord_alphlong |
โ | ๐ | ๐ | ๐ |
2 | reverse_tree |
โ | โ๏ธ | ๐ฎ | โ |
2 | str_maxlenoc |
โ | ๐ | ๐ | ๐ |
3 | |||||
3 | can_split |
โ | โ๏ธ | ๐ฎ | โ |
3 | convert_bst |
โ | โ๏ธ | ๐ฎ | ๐ซ |
3 | gold_gain |
โ | โ๏ธ | ๐ | โ |
3 | perimeter |
โ | โ๏ธ | ๐ฎ | โ |
3 | width_tree |
โ | โ๏ธ | ๐ฎ | โ |
4 | |||||
4 | clone_list |
โ | โ๏ธ | ๐ฎ | ๐ซ |
4 | intersection |
โ | โ๏ธ | ๐ฎ | ๐ซ |
4 | longest_subarray |
โ | โ๏ธ | ๐ | โ |
4 | range_comb |
๐ซ | โ๏ธ | ๐ | โ |
4 | volume_histogram |
โ | โ๏ธ | ๐ | โ |
5 | |||||
5 | count_island |
โ | ๐ | ๐ | ๐ |
5 | g_diam |
๐ซ | ๐ | ๐ | ๐ |
5 | infin_add |
โ | ๐ | ๐ | ๐ |
5 | infin_mult |
โ | ๐ | ๐ | ๐ |
- is_anagram
- count_alpha
- queue
- stack
- is_looping
- convert_bst (doubly-linked list)
- clone_list (tetinically doubly-linked list, but really singly-linked list plus weird other)
- intersection
- height_tree
- longest_sequence
- reverse_tree
- can_split
- perimeter
- width_tree
- convert_bst