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%.
- String22.9%
- Array18.8%
- Stack12.5%
- Sorting10.4%
- Depth-First Search8.3%
- Tree8.3%
- Hash Table6.2%
- Binary Search4.2%
- Heap (Priority Queue)4.2%
- Trie4.2%
How many questions involve each concept
Share of all 4 tracked Ubs questions that touch each concept. Questions usually involve several, so these overlap.
- Array75.0%
- String75.0%
- Sorting50.0%
- Binary Search25.0%
- Depth-First Search25.0%
- Hash Table25.0%
- Heap (Priority Queue)25.0%
- Stack25.0%
- Tree25.0%
- Trie25.0%
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
| Concept | Questions | % of questions | Share of mix |
|---|---|---|---|
| Array | 3 | 75.0% | 18.8% |
| String | 3 | 75.0% | 22.9% |
| Sorting | 2 | 50.0% | 10.4% |
| Binary Search | 1 | 25.0% | 4.2% |
| Depth-First Search | 1 | 25.0% | 8.3% |
| Hash Table | 1 | 25.0% | 6.2% |
| Heap (Priority Queue) | 1 | 25.0% | 4.2% |
| Stack | 1 | 25.0% | 12.5% |
| Tree | 1 | 25.0% | 8.3% |
| Trie | 1 | 25.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 interviewYour first interview is free · no credit card required