UKG coding interview questions
Ranked by how often candidates report them. Each opens in the editor with hidden tests, an animated walkthrough and solutions in four languages; a question you solve once counts for every company that asks it.
| Progress | Title | Difficulty | Next step |
|---|---|---|---|
| Split Array Largest SumBinary Search on Answer Space | Hard | Solve | |
| Maximize Greatness of an ArrayGreedy | Medium | Solve | |
| Valid ParenthesesStack Basics | Easy | Solve | |
| Longest Substring Without Repeating CharactersSliding Window · Variable | Medium | Solve | |
| LRU CacheLinked Lists | Medium | Solve | |
| Sliding Window MaximumMonotonic Stack | Hard | Solve | |
| Maximum Sum Circular SubarrayKadane's Algorithm | Medium | Solve | |
| House RobberAlternate Selection / Pick / Not pick | Medium | Solve | |
| Next PermutationRight to Left Traversal | Medium | Solve | |
| Find Peak ElementUnique 1-D Binary Search | Medium | Solve | |
| Rotate ListDummy Node Pattern | Medium | Solve | |
| Design Linked ListLinked Lists | Medium | Solve | |
| Intersection of Two Linked ListsMiscellaneous | Easy | Solve | |
| Lowest Common Ancestor of a Binary TreeLCA | Medium | Solve | |
| Two SumTwo Sum | Easy | Solve | |
| Special Binary StringDivide and Conquer | Hard | Solve | |
| Valid PalindromeTwo Pointer | Easy | Solve |
No questions match these filters.
Also reported, being added to AlgoRung (7)
Minimum Length of Anagram Concatenation · Count Numbers with Unique Digits · Maximum Area Rectangle With Point Constraints I · Maximum Area Rectangle With Point Constraints II · Count the Number of Good Subsequences · Valid Word · Make a Positive Array
Questions people ask
What coding questions does UKG ask most?
Split Array Largest Sum, Maximize Greatness of an Array, Valid Parentheses, Longest Substring Without Repeating Characters, LRU Cache, Sliding Window Maximum, Maximum Sum Circular Subarray, House Robber.
Which topics come up in UKG coding rounds?
strings, sliding window, linked list, binary search, dynamic programming, greedy.
How hard are UKG coding questions?
Of the reported questions, 4 are easy, 10 medium and 3 hard. A 45 to 60 minute live interview where you solve one or two data-structures-and-algorithms problems while explaining your thinking. Interviewers score problem solving, code quality, testing and communication.