Yahoo logoYahoo
CodingMembers

Drag-to-Draw Rectangles on a Whiteboard Canvas

Members only

A non-LeetCode intern technical question: fill in mouse event handlers so a user can draw rectangles on a whiteboard by dragging, with live feedback and support for many shapes. Pseudo-code and a careful dry run matter more than a runnable program.

SWE
state-machine
hashmap
object-design
frontend
medium
Frequency
Single report
Last asked
—
Stage
tech-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 3 common pitfalls
  • 6 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...