messages listlengths 3 3 |
|---|
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: ## Problem Statement\nYou are hired to implement a tiny in‑memory cache that will be use... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: from typing import List\n\ndef find_non_dominant(arr: List[int]) -> int:\n \"\"\" Fin... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: def calculate_total_traded_quantity(buy_orders, sell_orders):\n \"\"\" Calculate the ... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: from typing import List, Tuple\n\ndef perform_operations(n: int, q: int, arr: List[int],... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: ## Maximum Profit Route\n\nA logistics company operates a massive network of one‑way tun... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: ## Real‑Time Sensor Analytics\n\n### Statement\nA monitoring platform receives a continu... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: ### Problem Statement\n\n**CashFlow Inc.** has a list of `N` cash‑flow events that will ... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: def encode_message(message: str, shift: int) -> str:\n \"\"\" Encode a message by shi... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: from typing import List\n\ndef maxCherries(grid: List[List[int]]) -> int:\n \"\"\"\n ... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: def has_biodiverse_subgrid(n, m, k, grid):\n \"\"\"\n Determines if there exists a... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: class Inventory:\n def __init__(self):\n \"\"\" Initialize the inventory manag... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: ### Warehouse Inventory – k‑Largest Sum Queries\n\n#### Problem Statement\nAn e‑commerce... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: ## Positive Profit Queries with Multipliers\n\n**Time Limit:** 2 seconds\n**Memory Limit... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: def filter_integers(lst):\n \"\"\"\n Returns a list of integers that are divisible... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: from typing import List\n\ndef minPathSum(grid: List[List[int]]) -> int:\n \"\"\"Find... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: ## Problem Statement\n\nA low‑Earth‑orbit satellite continuously monitors the ambient ra... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: def can_arrange_balls(n: int, colors: List[int]) -> Union[str, Tuple[str, List[int]]]:\n... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: def fourSum(nums, target):\n \"\"\" Find all unique quadruplets in the array which gi... |
[
{
"role": "system",
"content": "You will write python program to solve algorithm problems. You will only write code blocks."
},
{
"role": "user",
"content": "Write python code to solve the following problem: ### Problem Statement\nYou are implementing the backend of a live code‑editor. The edito... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.