Computer scienceProgramming languagesJavaInterview preparationAlgorithms and problem solving techniques

Queues, BST, and lists

Time complexity matching

Report a typo

Match the methods with their time complexities.

Match the items from left and right columns
Merge two binary trees
Merge two sorted lists
Reverse LinkedList
O(n + m)
O(min(n, m))
O(n)
___

Create a free account to access the full topic