data_source
string
prompt
list
ability
string
reward_model
dict
extra_info
dict
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61058", "problem_id": "2228", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61059", "problem_id": "3096", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61060", "problem_id": "1968", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61061", "problem_id": "2333", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61062", "problem_id": "576", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61063", "problem_id": "1218", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61064", "problem_id": "2767", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61065", "problem_id": "2458", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61066", "problem_id": "1359", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+mlogm)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61067", "problem_id": "2418", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61068", "problem_id": "2391", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61069", "problem_id": "3071", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61070", "problem_id": "3058", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61071", "problem_id": "1161", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61072", "problem_id": "2525", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61073", "problem_id": "54", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61074", "problem_id": "999", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61075", "problem_id": "1890", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61076", "problem_id": "2195", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61077", "problem_id": "1092", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61078", "problem_id": "1299", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61079", "problem_id": "1410", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61080", "problem_id": "585", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61081", "problem_id": "2777", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61082", "problem_id": "2666", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61083", "problem_id": "2651", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61084", "problem_id": "1186", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61085", "problem_id": "3071", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61086", "problem_id": "691", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61087", "problem_id": "2354", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61088", "problem_id": "1635", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61089", "problem_id": "648", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61090", "problem_id": "85", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61091", "problem_id": "3059", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61092", "problem_id": "1543", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61093", "problem_id": "2072", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61094", "problem_id": "486", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61095", "problem_id": "1255", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61096", "problem_id": "662", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61097", "problem_id": "1303", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61098", "problem_id": "2634", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61099", "problem_id": "307", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61100", "problem_id": "2980", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61101", "problem_id": "3051", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61102", "problem_id": "841", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61103", "problem_id": "341", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61104", "problem_id": "43", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61105", "problem_id": "369", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61106", "problem_id": "2043", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61107", "problem_id": "2101", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n+mlogm)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61108", "problem_id": "160", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61109", "problem_id": "1014", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61110", "problem_id": "567", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61111", "problem_id": "1489", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61112", "problem_id": "1800", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61113", "problem_id": "4", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61114", "problem_id": "1453", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61115", "problem_id": "2269", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61116", "problem_id": "272", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61117", "problem_id": "753", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61118", "problem_id": "1942", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61119", "problem_id": "2776", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61120", "problem_id": "2132", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61121", "problem_id": "812", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61122", "problem_id": "592", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61123", "problem_id": "1369", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61124", "problem_id": "507", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61125", "problem_id": "1393", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61126", "problem_id": "1775", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61127", "problem_id": "1570", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61128", "problem_id": "2608", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61129", "problem_id": "1446", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61130", "problem_id": "2889", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61131", "problem_id": "2705", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61132", "problem_id": "812", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61133", "problem_id": "760", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61134", "problem_id": "1464", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61135", "problem_id": "1474", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61136", "problem_id": "1656", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61137", "problem_id": "1337", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61138", "problem_id": "1565", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61139", "problem_id": "2688", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61140", "problem_id": "3086", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61141", "problem_id": "1984", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61142", "problem_id": "1604", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61143", "problem_id": "252", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61144", "problem_id": "2121", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61145", "problem_id": "451", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61146", "problem_id": "220", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61147", "problem_id": "2440", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61148", "problem_id": "762", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61149", "problem_id": "916", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61150", "problem_id": "2988", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61151", "problem_id": "1749", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n**2)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61152", "problem_id": "1899", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n*m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61153", "problem_id": "453", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(n)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61154", "problem_id": "637", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61155", "problem_id": "1154", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61156", "problem_id": "1168", "task_type": "tc_direct" }
time_complexity
[ { "content": "You are an expert coding professional. Given a code snippet, your task is to predict its time complexity.\nReply with the time complexity of the code within \\boxed{}. For example, if you think the time complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered inval...
tc_direct
{ "extraction_method": "boxed", "ground_truth": "O(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_61157", "problem_id": "1404", "task_type": "tc_direct" }