GitLab Coding Interview Questions
25 GitLab coding interview problems with full optimal solutions — 15 easy, 7 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an GitLab interviewer values, and a FAQ section.
Showing 3 problems of 25
- #23hardfoundational
23. Alien Dictionary
Given words sorted by an unknown alphabet, recover any valid alphabet order or return '' if impossible.
- #24hardfoundational
24. Longest Increasing Path in a Matrix
Find the longest strictly increasing path in an integer matrix using 4-directional moves.
- #25hardfoundational
25. LFU Cache
Implement a cache with O(1) get and put that evicts the least frequently used entry, breaking ties by least recently used.