Mockrithm Logo
Mockrithm®
Awwwards Class Sandbox

Traverse. Node.
Blitz Algorithms.

Navigate tree traversals, resolve linked list pointers, and determine Big O space-time complexities under live compiler execution.

Main Platform
Next Level Assessment

Duplex Voice-Activated AI Mock Interviews

Code sandbox is only half the battle. Practice duplex voice interviews with our AI interviewer model. Receive real-time assessment scores, detailed critiques on articulation, and tailor-made development checklists.

Practice Now
10 Modules Course Syllabus

Interactive Landing Sandboxes

Select a topic below to inspect the curriculum lessons and practice code playground templates.

dsa module

Data Structures Blitz

Troubleshoot arrays, linked lists, and tree traversals in real-time.

  • Master pointer manipulations in singly and doubly linked lists.
  • Perform depth-first and breadth-first search traversals on binary search trees.
  • Evaluate space-time complexities dynamically using Big O notation.
playgrounds/sandbox.ts
Active Playground
// Depth-First Binary Search Tree Traversal
class TreeNode {
  value: number;
  left: TreeNode | null = null;
  right: TreeNode | null = null;
  constructor(val: number) { this.value = val; }
}

function dfsInOrder(node: TreeNode | null): number[] {
  if (!node) return [];
  return [...dfsInOrder(node.left), node.value, ...dfsInOrder(node.right)];
}