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
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_0", "problem_id": "2467", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_1", "problem_id": "1642", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_2", "problem_id": "2621", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_3", "problem_id": "2988", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_4", "problem_id": "2954", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_5", "problem_id": "943", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_6", "problem_id": "1080", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_7", "problem_id": "889", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_8", "problem_id": "1490", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_9", "problem_id": "1503", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_10", "problem_id": "955", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_11", "problem_id": "2347", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_12", "problem_id": "1071", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_13", "problem_id": "3101", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_14", "problem_id": "822", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_15", "problem_id": "1882", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_16", "problem_id": "2189", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_17", "problem_id": "43", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_18", "problem_id": "617", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_19", "problem_id": "1612", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_20", "problem_id": "1922", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_21", "problem_id": "485", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_22", "problem_id": "1070", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_23", "problem_id": "3096", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_24", "problem_id": "459", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_25", "problem_id": "381", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_26", "problem_id": "2509", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_27", "problem_id": "1067", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_28", "problem_id": "1252", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_29", "problem_id": "203", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_30", "problem_id": "2847", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_31", "problem_id": "930", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_32", "problem_id": "1509", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_33", "problem_id": "2075", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_34", "problem_id": "409", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_35", "problem_id": "2456", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_36", "problem_id": "60", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_37", "problem_id": "292", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_38", "problem_id": "1502", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_39", "problem_id": "2665", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_40", "problem_id": "749", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_41", "problem_id": "1458", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_42", "problem_id": "1106", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_43", "problem_id": "2433", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_44", "problem_id": "2532", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_45", "problem_id": "2843", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_46", "problem_id": "2703", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_47", "problem_id": "1303", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_48", "problem_id": "774", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_49", "problem_id": "1261", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_50", "problem_id": "2351", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_51", "problem_id": "279", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_52", "problem_id": "814", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_53", "problem_id": "313", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_54", "problem_id": "1205", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_55", "problem_id": "1659", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_56", "problem_id": "1524", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_57", "problem_id": "1604", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "A", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_58", "problem_id": "1421", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_59", "problem_id": "937", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_60", "problem_id": "1649", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "D", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_61", "problem_id": "94", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "B", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_62", "problem_id": "2274", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_63", "problem_id": "834", "task_type": "code_from_tc_mcq" }
time_complexity
[ { "content": "You are an expert coding professional. Given a time complexity and four code snippets, you must pick the one that matches the given time 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 w...
code_from_tc_mcq
{ "extraction_method": "boxed", "ground_truth": "C", "style": "rule" }
{ "comp": "time", "idx": "code_from_tc_mcq_64", "problem_id": "1752", "task_type": "code_from_tc_mcq" }
End of preview. Expand in Data Studio

Code Time Complexity prediction

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

Three tasks:

  • tc_direct: Directly predict the time complexity as O(X) given the code
  • code_to_tc_mcq: Select the correct time complexity from four options, given the code
  • code_from_tc_mcq: Given a time complexity, select the code with that time complexity from four options.
Complexity
O(1)
O(logn)
O(n)
O(n+m)
O(nlogn)
O(nlogn+m)
O(n+mlogm)
O(n*m)
O(n**2)
Downloads last month
42