Judge0 execution integration
Practice sample runs use a separately configured Judge0 service. Isolation and resource limits depend on how that execution host is provisioned.
Find pair of distinct indices such that nums[i] + nums[j] == target. Must achieve O(n) time complexity without nested loops.
nums = [2, 7, 11, 15], target = 9[0, 1]def find_target_pair(nums: list[int], target: int) -> list[int]:
"""Finds two indices with sum == target in O(n) time."""
seen_map: dict[int, int] = {}
for current_index, value in enumerate(nums):
complement = target - value
if complement in seen_map:
return [seen_map[complement], current_index]
seen_map[value] = current_index
return [] # No solution foundEdit the current practice starter and run its visible sample cases through the existing execution service. This demo does not submit hidden tests or produce an AI rubric.
Loading the practice problem and starter code…
Run the visible sample cases to see actual execution results here.
SYSTEM ARCHITECTURE
Assessment authoring, configured code execution, and role-aware candidate and recruiter workflows.
Practice sample runs use a separately configured Judge0 service. Isolation and resource limits depend on how that execution host is provisioned.
Recruiters can create assessment drafts, author coding and multiple-choice questions, and review candidate-safe previews.
Candidate workflows use server-side authorization and keep private grading fixtures out of the public practice interface.
Sample-run and assessment results reflect the configured execution and grading workflows. This landing-page preview never invents a score.
MULTI-TENANT PORTALS
Role-based access control (RBAC) strictly enforcing workspace, organization, and assessment boundaries.
Practice problems in an integrated Monaco editor, run visible sample cases through the configured provider, and complete assigned timed assessments.
Create assessments, author coding and multiple-choice questions, use the configured validation workflow, send invitations, and review results.
Manage organizations and recruiter access while keeping platform and organization permissions separate.
CodeBench brings assessment authoring, candidate workflows, and recruiter review together while leaving final evaluation with authorized users.