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_20261",
"problem_id": "177",
"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_20262",
"problem_id": "2248",
"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_20263",
"problem_id": "1331",
"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_20264",
"problem_id": "2591",
"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_20265",
"problem_id": "1296",
"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_20266",
"problem_id": "844",
"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_20267",
"problem_id": "1205",
"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_20268",
"problem_id": "1759",
"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_20269",
"problem_id": "1709",
"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_20270",
"problem_id": "315",
"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_20271",
"problem_id": "1452",
"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_20272",
"problem_id": "1670",
"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_20273",
"problem_id": "1109",
"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_20274",
"problem_id": "1402",
"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_20275",
"problem_id": "25",
"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_20276",
"problem_id": "2973",
"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_20277",
"problem_id": "1176",
"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_20278",
"problem_id": "2891",
"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_20279",
"problem_id": "612",
"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_20280",
"problem_id": "1850",
"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_20281",
"problem_id": "1721",
"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_20282",
"problem_id": "2316",
"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_20283",
"problem_id": "1306",
"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_20284",
"problem_id": "3060",
"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*logm)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_20285",
"problem_id": "2454",
"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_20286",
"problem_id": "2855",
"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_20287",
"problem_id": "772",
"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_20288",
"problem_id": "666",
"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_20289",
"problem_id": "93",
"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_20290",
"problem_id": "787",
"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*logm)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_20291",
"problem_id": "1122",
"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_20292",
"problem_id": "2737",
"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_20293",
"problem_id": "3082",
"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_20294",
"problem_id": "2849",
"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_20295",
"problem_id": "614",
"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_20296",
"problem_id": "565",
"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_20297",
"problem_id": "1978",
"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_20298",
"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_20299",
"problem_id": "1232",
"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_20300",
"problem_id": "1315",
"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_20301",
"problem_id": "564",
"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_20302",
"problem_id": "397",
"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_20303",
"problem_id": "2949",
"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_20304",
"problem_id": "684",
"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_20305",
"problem_id": "2454",
"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_20306",
"problem_id": "278",
"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_20307",
"problem_id": "2575",
"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_20308",
"problem_id": "2783",
"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_20309",
"problem_id": "561",
"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_20310",
"problem_id": "2091",
"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_20311",
"problem_id": "453",
"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_20312",
"problem_id": "525",
"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_20313",
"problem_id": "25",
"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_20314",
"problem_id": "2657",
"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_20315",
"problem_id": "859",
"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_20316",
"problem_id": "2518",
"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_20317",
"problem_id": "275",
"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_20318",
"problem_id": "2251",
"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_20319",
"problem_id": "2236",
"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_20320",
"problem_id": "2492",
"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_20321",
"problem_id": "403",
"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_20322",
"problem_id": "477",
"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_20323",
"problem_id": "2387",
"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_20324",
"problem_id": "1372",
"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_20325",
"problem_id": "2614",
"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_20326",
"problem_id": "2199",
"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_20327",
"problem_id": "2127",
"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_20328",
"problem_id": "2604",
"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_20329",
"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_20330",
"problem_id": "1565",
"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_20331",
"problem_id": "2945",
"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_20332",
"problem_id": "194",
"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_20333",
"problem_id": "2457",
"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_20334",
"problem_id": "1339",
"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_20335",
"problem_id": "781",
"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_20336",
"problem_id": "1706",
"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_20337",
"problem_id": "2403",
"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_20338",
"problem_id": "1330",
"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_20339",
"problem_id": "577",
"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_20340",
"problem_id": "1578",
"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_20341",
"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(1)",
"style": "rule"
} | {
"comp": "space",
"idx": "sc_direct_20342",
"problem_id": "3092",
"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_20343",
"problem_id": "630",
"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_20344",
"problem_id": "2600",
"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_20345",
"problem_id": "1872",
"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_20346",
"problem_id": "1354",
"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_20347",
"problem_id": "1988",
"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_20348",
"problem_id": "905",
"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_20349",
"problem_id": "1299",
"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_20350",
"problem_id": "837",
"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_20351",
"problem_id": "364",
"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_20352",
"problem_id": "1486",
"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_20353",
"problem_id": "432",
"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_20354",
"problem_id": "1038",
"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_20355",
"problem_id": "1374",
"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_20356",
"problem_id": "1565",
"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_20357",
"problem_id": "575",
"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_20358",
"problem_id": "432",
"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_20359",
"problem_id": "2863",
"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_20360",
"problem_id": "869",
"task_type": "sc_direct"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.