Data Structures and Algorithms Online Test

TestDome skill assessments are used by more than 11,000 companies and 1,030,000 test takers.

For Jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For Companies

Test candidates with real-world problems and interview the best ones.

Sign Up to Offer this Test

About the test

The Data Structures and Algorithms online test assesses candidates' knowledge of software data structures and algorithms.

It's an ideal test for pre-employment screening. A good software engineer should know when and how to use proper data structures and/or algorithms to make optimized code that works when amount of data that needs to be processed increases.

This online test requires candidates to answer questions about data structures, algorithms, time complexity and algorithmic thinking in general.

Sample public questions

5 min
Data Structures & Algorithms
Tree Traversal

The function below is used to search for an element in a binary tree that contains linked nodes.

function treeContains(treeNode : Node, element : int) : bool
  if (treeNode == NULL)
    return false
  else if (treeNode.getValue() == element)
    return true
    left : bool = treeContains(treeNode.getLeft(), element)
    right : bool = treeContains(treeNode.getRight(), element) 
    return left || right 
  end if
end function

What can be said about the treeContains function?

5 min
Data Structures & Algorithms
Algorithmic Thinking

For the following pseudocode functions, choose the big O notation that accurately describes its worst-case complexity.

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Data Structures and Algorithms test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL
TestDome logo icon

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

4 more premium Data Structures and Algorithms questions

Sorted Array Search, Sort Comprehension, Tree Traversal, Do Recursive.

Skills and topics tested

  • Data Structures & Algorithms
  • Algorithmic Thinking
  • Binary Search
  • Complexity
  • Recursion
  • Tree Traversal

For job roles

  • Back-End Developer
  • Full-Stack Developer
  • Software Developer
  • Web Developer
  • Web Front-End Developer

Sample candidate report

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 - Crowd Badge
G2 - High Performer (2022)
Capterra - 4.5 Stars
Capterra - Shortlist (2023)

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

90+ skills

From JavaScript and SQL to English and customer support. See all questions to filter by skill.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works


Choose a pre-made test
or create a custom test


Invite candidates via
email, URL, or your ATS


Candidates take
a test remotely


Sort candidates and
get individual reports

Want to know more?