Whiteboard Questions in Interviews

Last updated: November 25, 2026

This article applies to the new Interview experience.

Whiteboard questions provide a shared canvas to evaluate architecture and system design skills in HackerRank Interviews. You and the candidate can draw diagrams, add shapes, connect components with arrows, and add text. Changes to the canvas appear for all participants in real time.

To add a Whiteboard question to your interview, see 📄 Manage Questions in an Interview → Adding a Coding or Whiteboard question.

Whiteboard components

The Whiteboard contains a collapsible question panel on the left, the canvas in the center, and a collapsible Shape Library panel on the right.

Note:

Question panel

The left panel displays the question based on its type:

  • Custom question: The Create your question panel displays a text editor. As you type, the question appears to the candidate. Use the formatting toolbar to apply Bold, Italic, Underline, Strikethrough, Inline code, Highlight, Heading 1, Heading 2, Heading 3, Bullet list, Numbered list, Quote, Code block, and Divider. Use the left and right arrows on the toolbar to view more options.

  • Library question: The Question panel displays the question title and problem statement. Some library questions also load a starter diagram on the canvas.

    Note: Library questions include interviewer guidelines. To view them, click the Interviewer Guidelines icon in the upper-right corner. Only interviewers can see the guidelines. For more information, see 📄 Navigate the Interview Interface and Controls → View interviewer guidelines.

Click the Toggle left panel icon in the upper-left corner of the canvas to hide or show the question panel.

Note: If you click Library in the question panel and select a question, a Replace question dialog appears. Click Replace Question to replace the current question, or click Cancel to keep it. You lose any work done on the replaced question. For more information, see 📄 Manage Questions in an Interview → Using question library.

Canvas toolbar

Use the toolbar at the top of the canvas to select a drawing tool. You can also use the keyboard shortcut for each tool.

Tool

Shortcut

Description

Keep selected tool active after drawing

Q

Keeps the current tool selected after you draw an element.

Hand (panning tool)

H

Moves the canvas.

Selection

V or 1

Selects, moves, and resizes elements.

Rectangle

R or 2

Draws a rectangle.

Diamond

D or 3

Draws a diamond.

Ellipse

O or 4

Draws an ellipse.

Arrow

A or 5

Draws an arrow to connect elements.

Line

L or 6

Draws a line.

Draw

P or 7

Draws freehand.

Text

T or 8

Adds text to the canvas.

Insert image

9

Inserts an image from your computer.

Eraser

E or 0

Erases elements.

Click the More tools icon at the end of the toolbar to access the following options:

  • Frame tool: Draws a frame to group related elements. When you move the frame, the elements inside it move with it.

  • Web Embed: Embeds web content, such as a YouTube video, on the canvas. Draw the embed area, and then enter or paste the link.

  • Laser pointer: Draws a temporary red trail that fades. Use it to point to an area of the canvas.

  • Mermaid to Excalidraw: Converts Mermaid syntax into a diagram on the canvas.

To convert Mermaid syntax into a diagram:

  1. Click More tools > Mermaid to Excalidraw.

  2. Enter the syntax in Mermaid Syntax. The diagram appears in Preview.

  3. Click Insert, or press Cmd + Enter (Mac) or Ctrl + Enter (Windows).

Note: Mermaid to Excalidraw converts only Flowchart, Sequence, and Class diagrams into editable elements. It inserts other diagram types as an image.

The bottom bar of the canvas contains the following controls:

  • Zoom out, Reset zoom, and Zoom in: Change the canvas zoom level. Reset zoom displays the current zoom percentage.

  • Undo and Redo: Reverse or restore your last change.

  • Help: Display keyboard shortcuts grouped into Tools, View, and Editor.

Element properties

Select an element on the canvas to change its appearance. The properties panel appears on the left side of the canvas.

The available properties depend on the selected element:

  • Stroke: Select the outline color, or select a custom color from the color picker.

  • Background: Select the fill color, or select a custom color from the color picker.

  • Stroke width: Select Thin, Bold, or Extra bold.

  • Stroke style: Select Solid, Dashed, or Dotted.

  • Sloppiness: Select Architect, Artist, or Cartoonist to change how hand-drawn the element looks.

  • Edges: Select Sharp or Round.

  • Opacity: Drag the slider between 0 and 100.

  • Layers: Select Send to back, Send backward, Bring forward, or Bring to front.

  • Actions: Select Duplicate, Delete, or Link to add a link to the element. For images and grouped shapes, you can also select Ungroup selection or Crop image.

Note:

  • When the canvas is narrow, click the palette icon in the bottom bar to open the properties panel.

  • To add text inside a selected shape, press Enter.

Shape Library

The Shape Library panel on the right lists prebuilt shapes that you can add to the canvas. Click a shape to add it to the center of the canvas.

Enter a keyword in Search shapes to find a shape across all sections. For example, enter server.

Click the Collapse all sections icon in the upper-right corner of the panel to collapse all sections. Click the Toggle right panel icon in the upper-right corner of the canvas to hide or show the Shape Library.

The Shape Library contains the following collapsible sections.

General diagram shapes

  • Custom Shapes: Includes common system design components, such as DB, Cloud, Server, Cache, Storage, Load balancer, Queue, Stack, Kubernetes, and Service. Use these shapes to build high-level architecture diagrams.

  • Basic: Includes basic shapes, such as stars, polygons, speech bubbles, and callouts. Use these shapes to highlight or annotate parts of a diagram.

  • Arrows: Includes block arrows in different directions and styles, such as bent, curved, and double-headed arrows. Use these shapes to show direction or flow between components.

  • General: Includes general-purpose diagram shapes, such as text blocks, process boxes, documents, cylinders, actors, and containers. Use these shapes for diagrams that do not need a specialized notation.

  • Flowchart: Includes standard flowchart symbols, such as process, decision, data, document, and database symbols. Use these shapes to map the steps and decisions in a process.

  • Entity Relation: Includes shapes for entity relationship diagrams, such as tables, entities, attributes, and relationships. Use these shapes to model a database schema.

  • UML: Includes shapes for UML diagrams, such as objects, classes, interfaces, packages, use cases, and boundary, entity, and control objects. Use these shapes to model the structure and behavior of a software system.

  • Advanced: Includes specialized shapes, such as block arrows, junction symbols, containers, lists, swimlanes, and step diagrams. Use these shapes to organize detailed or multi-stage diagrams.

Cloud and infrastructure

  • Azure: Includes icons for Microsoft Azure services. Use these icons to design architectures that run on Azure.

  • Kubernetes: Includes icons for Kubernetes resources and components. Use these icons to show how workloads are deployed and managed in a Kubernetes cluster.

  • AWS Analytics: Includes icons for AWS analytics services. Use these icons to show how data is processed, queried, and analyzed in an AWS architecture.

  • AWS Application Services: Includes icons for AWS application services. Use these icons to show the services that support and connect applications on AWS.

  • AWS Compute: Includes icons for AWS compute services. Use these icons to represent the servers, containers, and functions that run workloads on AWS.

  • AWS Database: Includes icons for AWS database services. Use these icons to show where an AWS architecture stores and retrieves data.

  • AWS Developer Tools: Includes icons for AWS developer tools. Use these icons to show how code is built, tested, and deployed on AWS.

  • AWS Enterprise Applications: Includes icons for AWS enterprise applications. Use these icons to represent business applications in an AWS architecture.

  • AWS Game Development: Includes icons for AWS game development services. Use these icons to design architectures for online games on AWS.

  • AWS General: Includes general AWS icons for common resources. Use these icons to represent elements that are not tied to a specific AWS service category.

  • AWS Groups: Includes group shapes for AWS resources. Use these shapes to show which resources belong together in an AWS architecture.

  • AWS Internet Of Things: Includes icons for AWS Internet of Things (IoT) services. Use these icons to show how connected devices send and receive data on AWS.

  • AWS Management Tools: Includes icons for AWS management tools. Use these icons to show how AWS resources are monitored, configured, and managed.

  • AWS Mobile Services: Includes icons for AWS mobile services. Use these icons to design back ends for mobile applications on AWS.

  • AWS Networking: Includes icons for AWS networking services. Use these icons to show how traffic moves between users and resources in an AWS architecture.

  • AWS On-Demand Workforce: Includes icons for AWS on-demand workforce services. Use these icons to represent human task workflows in an AWS architecture.

  • AWS SDKs: Includes icons for AWS SDKs. Use these icons to show how applications connect to AWS services through code.

  • AWS Security And Identity: Includes icons for AWS security and identity services. Use these icons to show how an AWS architecture controls access and protects data.

  • AWS Storage And Content Delivery: Includes icons for AWS storage and content delivery services. Use these icons to show where files are stored and how content reaches users on AWS.

  • GCP API Management: Includes icons for Google Cloud API management services. Use these icons to show how APIs are published, secured, and managed on Google Cloud.

  • GCP Cloud AI: Includes icons for Google Cloud AI services. Use these icons to add AI capabilities to a Google Cloud architecture.

  • GCP Compute: Includes icons for Google Cloud compute services. Use these icons to represent the resources that run workloads on Google Cloud.

  • GCP Data Analytics: Includes icons for Google Cloud data analytics services. Use these icons to show how data is processed and analyzed on Google Cloud.

  • GCP Data Transfer: Includes icons for Google Cloud data transfer services. Use these icons to show how data moves into or out of Google Cloud.

  • GCP Databases: Includes icons for Google Cloud database services. Use these icons to show where a Google Cloud architecture stores and retrieves data.

  • GCP Developer Tools: Includes icons for Google Cloud developer tools. Use these icons to show how code is built and deployed on Google Cloud.

  • GCP Expanded Product Cards: Includes expanded card shapes for Google Cloud products. Use these shapes to show a product along with additional details.

  • GCP General Icons: Includes general Google Cloud icons. Use these icons to represent elements that are not tied to a specific product category.

  • GCP Icons AI And Machine Learning: Includes icons for Google Cloud AI and machine learning products. Use these icons to show how models are trained and served on Google Cloud.

  • GCP Icons Analytics: Includes icons for Google Cloud analytics products. Use these icons to represent data warehousing and analysis in a Google Cloud architecture.

  • GCP Icons API Management: Includes icons for Google Cloud API management products. Use these icons to represent API gateways and API management in a Google Cloud architecture.

  • GCP Icons CI/CD: Includes icons for Google Cloud CI/CD products. Use these icons to show build and release pipelines on Google Cloud.

  • GCP Icons Compute: Includes icons for Google Cloud compute products. Use these icons to represent virtual machines, containers, and serverless resources on Google Cloud.

  • GCP Icons Databases: Includes icons for Google Cloud database products. Use these icons to represent relational and non-relational databases on Google Cloud.

  • GCP Icons Hybrid And Multi Cloud: Includes icons for Google Cloud hybrid and multi-cloud products. Use these icons to show architectures that span on-premises environments or multiple clouds.

  • GCP Icons Internet Of Things: Includes icons for Google Cloud IoT products. Use these icons to show how connected devices send data to Google Cloud.

  • GCP Icons Migration: Includes icons for Google Cloud migration products. Use these icons to show how workloads move to Google Cloud.

  • GCP Icons Networking: Includes icons for Google Cloud networking products. Use these icons to show how traffic is routed and balanced on Google Cloud.

  • GCP Icons Open Source Icons: Includes icons for open source products used with Google Cloud. Use these icons to represent open source tools in a Google Cloud architecture.

  • GCP Icons Operations: Includes icons for Google Cloud operations products. Use these icons to show how systems are monitored and logged on Google Cloud.

  • GCP Icons Security: Includes icons for Google Cloud security products. Use these icons to show how a Google Cloud architecture controls access and protects data.

  • GCP Icons Storage: Includes icons for Google Cloud storage products. Use these icons to represent object, file, and block storage on Google Cloud.

  • GCP Internet Of Things: Includes icons for Google Cloud IoT services. Use these icons to represent device connectivity in a Google Cloud architecture.

  • GCP Management Tools: Includes icons for Google Cloud management tools. Use these icons to show how Google Cloud resources are configured and managed.

  • GCP Networking: Includes icons for Google Cloud networking services. Use these icons to show how components connect on Google Cloud.

  • GCP Paths: Includes primary, secondary, and optional path shapes, and success and failure status markers. Use these shapes to connect components and show data flow.

  • GCP Product Cards: Includes card shapes for Google Cloud products. Use these shapes to label products in a diagram.

  • GCP Security: Includes icons for Google Cloud security services. Use these icons to represent identity, access, and data protection on Google Cloud.

  • GCP Service Cards: Includes card shapes for Google Cloud services. Use these shapes to label services in a diagram.

  • GCP Storage: Includes icons for Google Cloud storage services. Use these icons to show where a Google Cloud architecture stores files and objects.

  • GCP User And Device Cards: Includes card shapes for users and devices. Use these shapes to show who or what interacts with a Google Cloud architecture.

  • GCP Zones: Includes zone shapes, such as project zones, on-premises data centers, external data sources, and external SaaS providers. Use these shapes to group components by where they run.

Business Process Model and Notation (BPMN)

  • BPMN Choreographies: Includes choreography shapes for BPMN diagrams. Use these shapes to show message exchanges between participants in a process.

  • BPMN Events: Includes event shapes, such as start, intermediate, and end events. Use these shapes to show what starts, interrupts, or ends a process.

  • BPMN Gateways: Includes gateway shapes, such as exclusive, inclusive, parallel, and complex gateways. Use these shapes to show where a process flow branches or merges based on conditions.

  • BPMN General: Includes general BPMN shapes, such as data objects, data stores, text annotations, and lanes. Use these shapes to show the data in a process and organize the diagram into lanes.

  • BPMN Tasks: Includes task and activity shapes. Use these shapes to represent the work performed in each step of a process.

Electrical

  • Electrical Audio: Includes symbols for audio components, such as microphones, loudspeakers, buzzers, and headphones. Use these symbols to represent sound input and output devices in circuit diagrams.

  • Electrical Capacitors: Includes symbols for capacitors. Use these symbols to represent components that store electrical charge in circuit diagrams.

  • Electrical Diodes: Includes symbols for diodes. Use these symbols to represent components that allow current to flow in one direction.

  • Electrical Inductors: Includes symbols for inductors. Use these symbols to represent coils and other inductive components in circuit diagrams.

  • Electrical Instruments: Includes symbols for measuring instruments, such as ammeters, voltmeters, galvanometers, and oscilloscopes. Use these symbols to show where a circuit is measured or monitored.

  • Electrical Logic Gates: Includes symbols for logic gates and flip-flops. Use these symbols to design digital logic circuits.

  • Electrical Misc: Includes miscellaneous electrical symbols, such as antennas, ground symbols, operational amplifiers, and connectors. Use these symbols for components that are not covered by the other electrical sections.

  • Electrical Optical: Includes symbols for optical components, such as LEDs, photodiodes, segment displays, and solar cells. Use these symbols to represent light-emitting and light-sensing components in circuit diagrams.

  • Electrical PLC Ladder: Includes contact and output symbols for programmable logic controller (PLC) ladder logic. Use these symbols to design ladder diagrams for PLCs.

  • Electrical Resistors: Includes symbols for resistors and potentiometers. Use these symbols to represent components that limit current in circuit diagrams.

  • Electrical Rot Mech: Includes symbols for rotating machines. Use these symbols to represent motors, generators, and other rotating equipment.

  • Electrical Signal Sources: Includes symbols for signal sources. Use these symbols to represent the power and signal sources in a circuit.

  • Electrical Switches Relays: Includes symbols for switches and relays. Use these symbols to show where a circuit opens, closes, or changes path.

  • Electrical Transistors: Includes symbols for transistors, such as BJTs, IGBTs, and JFETs. Use these symbols to represent switching and amplifying components in circuit diagrams.

  • Electrical Transmission: Includes symbols for transmission elements, such as cables, buses, optical fibers, and terminals. Use these symbols to show how signals and power travel through a circuit.

  • Electrical Vacuum Tubes: Includes symbols for vacuum tubes, such as diodes, triodes, tetrodes, and pentodes. Use these symbols to represent tube components in amplifier and switching circuits.

  • Electrical Waveforms: Includes symbols for waveforms, such as sine, square, sawtooth, and pulse waves. Use these symbols to show signal shapes in circuit and timing diagrams.