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(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_43058", "problem_id": "2946", "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_43059", "problem_id": "599", "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_43060", "problem_id": "2558", "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_43061", "problem_id": "1026", "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_43062", "problem_id": "3084", "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_43063", "problem_id": "2071", "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_43064", "problem_id": "1286", "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_43065", "problem_id": "1324", "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_43066", "problem_id": "555", "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_43067", "problem_id": "566", "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_43068", "problem_id": "2169", "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_43069", "problem_id": "491", "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_43070", "problem_id": "1419", "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_43071", "problem_id": "1106", "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_43072", "problem_id": "920", "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_43073", "problem_id": "878", "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_43074", "problem_id": "2073", "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_43075", "problem_id": "123", "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_43076", "problem_id": "488", "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_43077", "problem_id": "1829", "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_43078", "problem_id": "1563", "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_43079", "problem_id": "1808", "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_43080", "problem_id": "2178", "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_43081", "problem_id": "2226", "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_43082", "problem_id": "2627", "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_43083", "problem_id": "1449", "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_43084", "problem_id": "2125", "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_43085", "problem_id": "620", "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_43086", "problem_id": "945", "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_43087", "problem_id": "2069", "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_43088", "problem_id": "573", "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_43089", "problem_id": "548", "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_43090", "problem_id": "367", "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_43091", "problem_id": "2486", "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_43092", "problem_id": "2282", "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_43093", "problem_id": "683", "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_43094", "problem_id": "1513", "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_43095", "problem_id": "1366", "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_43096", "problem_id": "146", "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_43097", "problem_id": "602", "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_43098", "problem_id": "2533", "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_43099", "problem_id": "998", "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_43100", "problem_id": "1910", "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_43101", "problem_id": "2901", "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_43102", "problem_id": "3100", "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_43103", "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(logn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_43104", "problem_id": "945", "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_43105", "problem_id": "2644", "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_43106", "problem_id": "3063", "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_43107", "problem_id": "1896", "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_43108", "problem_id": "1233", "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_43109", "problem_id": "2870", "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_43110", "problem_id": "2852", "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_43111", "problem_id": "1142", "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_43112", "problem_id": "459", "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_43113", "problem_id": "963", "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_43114", "problem_id": "2164", "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_43115", "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(nlogn+m)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_43116", "problem_id": "2990", "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_43117", "problem_id": "2441", "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_43118", "problem_id": "75", "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_43119", "problem_id": "104", "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_43120", "problem_id": "1496", "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_43121", "problem_id": "2080", "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_43122", "problem_id": "1507", "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_43123", "problem_id": "32", "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_43124", "problem_id": "2504", "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_43125", "problem_id": "1262", "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_43126", "problem_id": "438", "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_43127", "problem_id": "2251", "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_43128", "problem_id": "2103", "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_43129", "problem_id": "1247", "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_43130", "problem_id": "2955", "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_43131", "problem_id": "1432", "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_43132", "problem_id": "150", "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_43133", "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(nlogn)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_43134", "problem_id": "1870", "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_43135", "problem_id": "1516", "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_43136", "problem_id": "407", "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_43137", "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)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_43138", "problem_id": "2872", "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_43139", "problem_id": "1162", "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_43140", "problem_id": "2782", "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_43141", "problem_id": "1947", "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_43142", "problem_id": "1360", "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_43143", "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(1)", "style": "rule" }
{ "comp": "time", "idx": "tc_direct_43144", "problem_id": "2946", "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_43145", "problem_id": "2761", "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_43146", "problem_id": "2551", "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_43147", "problem_id": "362", "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_43148", "problem_id": "1271", "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_43149", "problem_id": "2577", "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_43150", "problem_id": "483", "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_43151", "problem_id": "3005", "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_43152", "problem_id": "1406", "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_43153", "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_43154", "problem_id": "653", "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_43155", "problem_id": "254", "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_43156", "problem_id": "2584", "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_43157", "problem_id": "603", "task_type": "tc_direct" }