Dataset Viewer
Auto-converted to Parquet Duplicate
data_source
stringclasses
1 value
prompt
listlengths
2
2
ability
stringclasses
3 values
reward_model
dict
extra_info
dict
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_0", "problem_id": "2786", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_1", "problem_id": "1931", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_2", "problem_id": "1470", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_3", "problem_id": "2942", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_4", "problem_id": "2940", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_5", "problem_id": "2392", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_6", "problem_id": "2603", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_7", "problem_id": "1773", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_8", "problem_id": "1326", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_9", "problem_id": "456", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_10", "problem_id": "1402", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_11", "problem_id": "1557", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_12", "problem_id": "2366", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_13", "problem_id": "1220", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_14", "problem_id": "859", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_15", "problem_id": "494", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_16", "problem_id": "307", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_17", "problem_id": "679", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_18", "problem_id": "1194", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_19", "problem_id": "2585", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_20", "problem_id": "1023", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_21", "problem_id": "1367", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_22", "problem_id": "640", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_23", "problem_id": "545", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_24", "problem_id": "2196", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_25", "problem_id": "2302", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_26", "problem_id": "2899", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_27", "problem_id": "2055", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_28", "problem_id": "2556", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_29", "problem_id": "867", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_30", "problem_id": "1622", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_31", "problem_id": "1148", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_32", "problem_id": "2256", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_33", "problem_id": "1528", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_34", "problem_id": "1555", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_35", "problem_id": "2815", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_36", "problem_id": "1536", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_37", "problem_id": "2148", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_38", "problem_id": "1783", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_39", "problem_id": "1730", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_40", "problem_id": "420", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_41", "problem_id": "519", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_42", "problem_id": "2053", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_43", "problem_id": "396", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_44", "problem_id": "821", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_45", "problem_id": "2640", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_46", "problem_id": "20", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_47", "problem_id": "639", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_48", "problem_id": "1144", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_49", "problem_id": "705", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_50", "problem_id": "2379", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_51", "problem_id": "1082", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_52", "problem_id": "1553", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_53", "problem_id": "3068", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_54", "problem_id": "1821", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_55", "problem_id": "2528", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_56", "problem_id": "1835", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_57", "problem_id": "973", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_58", "problem_id": "2719", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_59", "problem_id": "3091", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_60", "problem_id": "2683", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_61", "problem_id": "2460", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_62", "problem_id": "2950", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_63", "problem_id": "721", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_64", "problem_id": "2147", "task_type": "code_from_sc_mcq" }
space_complexity
[ { "content": "You are an expert coding professional. Given a space complexity and four code snippets, you must pick the one that matches the given space complexity.\nChoose one of the above choices as your final answer. Reply in the format \\boxed{X}, where X is your choice from A, B, C, or D.\nAny other format...
code_from_sc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "space", "idx": "code_from_sc_mcq_65", "problem_id": "473", "task_type": "code_from_sc_mcq" }
End of preview. Expand in Data Studio

Code Space Complexity prediction

Sourced from BigOBench, using a subset of the N-most commonly occuring space complexities in the dataset

Three tasks:

  • sc_direct: Directly predict the space complexity as O(X) given the code
  • code_to_sc_mcq: Select the correct space complexity from four options, given the code
  • code_from_sc_mcq: Given a space complexity, select the code with that space complexity from four options.
Complexity
O(1)
O(logn)
O(logn*logm)
O(n)
O(n+m)
O(nlogn)
O(n*m)
O(n**2)
Downloads last month
15