Ubs Coding Interview Questions

We track 4 coding questions asked at Ubs, tagged with the algorithms and concepts they test. The most common: Array, String, Sorting, Binary Search, Depth-First Search.

Browse all 4 Ubs questions →

Concept mix

Each question's weight is split evenly across its concepts, so the shares sum to 100%.

How many questions involve each concept

Share of all 4 tracked Ubs questions that touch each concept. Questions usually involve several, so these overlap.

Where Ubs differs from the average company

Concept weight at Ubs relative to the average across all companies we track. Green means Ubs leans on it harder than most.

Ubs specialties

Concepts that show up at Ubs but are rarely asked elsewhere. They are easy to get blindsided by.

Difficulty mix

Level split of the 4 tracked Ubs questions.

  • Junior25% (1)
  • Mid/Senior75% (3)

Every concept in Ubs interviews

ConceptQuestions% of questionsShare of mix
Array375.0%18.8%
String375.0%22.9%
Sorting250.0%10.4%
Binary Search125.0%4.2%
Depth-First Search125.0%8.3%
Hash Table125.0%6.2%
Heap (Priority Queue)125.0%4.2%
Stack125.0%12.5%
Tree125.0%8.3%
Trie125.0%4.2%

Practice a Ubs interview

Take a realistic AI-led mock interview with questions Ubs actually asks, with live voice and real feedback.

Start a mock interview

Your first interview is free · no credit card required