UKG Interview Questions — 11 DSA Problems
9 problems with full solutions in Python, Java, C++, JavaScript, Go, Rust.
Most frequently asked UKG LeetCode questions for software engineering interviews.
- Maximum Area Rectangle With Point Constraints I (MEDIUM) — Array, Math, Binary Indexed Tree, Segment Tree, Geometry, Sorting, Enumeration
- Maximum Area Rectangle With Point Constraints II (HARD) — Array, Math, Binary Indexed Tree, Segment Tree, Geometry, Sorting
- Special Binary String (HARD) — String, Recursion
- Minimum Length of Anagram Concatenation (MEDIUM) — Hash Table, String, Counting
- Count the Number of Good Subsequences (MEDIUM) — Hash Table, Math, String, Combinatorics, Counting
- Longest Consecutive Sequence (MEDIUM) — Array, Hash Table, Union Find
- Two Sum (EASY) — Array, Hash Table
- Valid Word (EASY) — String
- Best Time to Buy and Sell Stock (EASY) — Array, Dynamic Programming
- Angle Between Hands of a Clock (MEDIUM) — Math
- Make a Positive Array (MEDIUM) — Array, Greedy, Prefix Sum
U
UKG
11 questions tracked9 with solutions
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough
Showing 11 of 11 questions
1ArrayMathBinary Indexed TreeSegment Tree+3
2ArrayMathBinary Indexed TreeSegment Tree+2
5MediumCount the Number of Good Subsequences
Hash TableMathStringCombinatorics+1
6ArrayHash TableUnion Find
11MediumMake a Positive Array
ArrayGreedyPrefix Sum