data_source stringclasses 1
value | prompt listlengths 2 2 | ability stringclasses 3
values | reward_model dict | extra_info dict |
|---|---|---|---|---|
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30561",
"problem_id": "1084",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(nlogn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30562",
"problem_id": "986",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30563",
"problem_id": "1237",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30564",
"problem_id": "1899",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30565",
"problem_id": "1896",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30566",
"problem_id": "3103",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30567",
"problem_id": "1316",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30568",
"problem_id": "36",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30569",
"problem_id": "1497",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30570",
"problem_id": "1942",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30571",
"problem_id": "3091",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30572",
"problem_id": "424",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30573",
"problem_id": "2356",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30574",
"problem_id": "360",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30575",
"problem_id": "2594",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30576",
"problem_id": "965",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(nlogn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30577",
"problem_id": "400",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30578",
"problem_id": "1627",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30579",
"problem_id": "2181",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30580",
"problem_id": "937",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30581",
"problem_id": "2471",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30582",
"problem_id": "1357",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30583",
"problem_id": "1659",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30584",
"problem_id": "270",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30585",
"problem_id": "613",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(nlogn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30586",
"problem_id": "998",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30587",
"problem_id": "2539",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30588",
"problem_id": "2928",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30589",
"problem_id": "2850",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30590",
"problem_id": "1892",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30591",
"problem_id": "1644",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30592",
"problem_id": "1217",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30593",
"problem_id": "1487",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n**2)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30594",
"problem_id": "705",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30595",
"problem_id": "2335",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30596",
"problem_id": "2073",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30597",
"problem_id": "2038",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n**2)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30598",
"problem_id": "799",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30599",
"problem_id": "2531",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30600",
"problem_id": "759",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(nlogn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30601",
"problem_id": "1227",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n**2)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30602",
"problem_id": "429",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30603",
"problem_id": "2272",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30604",
"problem_id": "1769",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30605",
"problem_id": "423",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30606",
"problem_id": "2717",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30607",
"problem_id": "17",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n**2)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30608",
"problem_id": "1123",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30609",
"problem_id": "396",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30610",
"problem_id": "2804",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30611",
"problem_id": "1177",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30612",
"problem_id": "1387",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30613",
"problem_id": "503",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30614",
"problem_id": "2695",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30615",
"problem_id": "1448",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30616",
"problem_id": "1104",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n**2)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30617",
"problem_id": "1071",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30618",
"problem_id": "1704",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30619",
"problem_id": "136",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30620",
"problem_id": "1682",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30621",
"problem_id": "1807",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30622",
"problem_id": "2030",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n**2)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30623",
"problem_id": "832",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30624",
"problem_id": "2090",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30625",
"problem_id": "2482",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30626",
"problem_id": "1961",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30627",
"problem_id": "1536",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30628",
"problem_id": "1499",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30629",
"problem_id": "1255",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30630",
"problem_id": "713",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30631",
"problem_id": "2226",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30632",
"problem_id": "507",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30633",
"problem_id": "3102",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30634",
"problem_id": "1034",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30635",
"problem_id": "2944",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n**2)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30636",
"problem_id": "2726",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30637",
"problem_id": "1276",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30638",
"problem_id": "2708",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30639",
"problem_id": "1408",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30640",
"problem_id": "2412",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30641",
"problem_id": "720",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30642",
"problem_id": "2617",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(nlogn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30643",
"problem_id": "2368",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(nlogn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30644",
"problem_id": "2987",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30645",
"problem_id": "1614",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30646",
"problem_id": "1511",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30647",
"problem_id": "121",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30648",
"problem_id": "2702",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30649",
"problem_id": "1357",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n*m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30650",
"problem_id": "718",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(logn)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30651",
"problem_id": "436",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30652",
"problem_id": "40",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30653",
"problem_id": "969",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30654",
"problem_id": "2065",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30655",
"problem_id": "1790",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30656",
"problem_id": "1848",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30657",
"problem_id": "1385",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30658",
"problem_id": "2441",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(n+m)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30659",
"problem_id": "1873",
"task_type": "sc_direct"
} |
space_complexity | [
{
"content": "You are an expert coding professional. Given a code snippet, your task is to predict its space complexity.\nReply with the space complexity of the code within \\boxed{}. For example, if you think the space complexity is linear, then reply with \\boxed{O(n)}.\nAny other format will be considered in... | sc_direct | {
"extraction_method": "boxed",
"ground_truth": "O(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_30660",
"problem_id": "1606",
"task_type": "sc_direct"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.