parity Interview Questions
6 interview questions in our bank cover parity, most of them Coding & Leetcode-style Questions. They average 2.7/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about parity: ADIA, Goldman Sachs, Rubrik, DRW, Capital One, and 1 more.
Practice these on the problems board →Companies that ask about parity
Question mix
- Coding & Leetcode-style Questions6
Difficulty
- 2/5 — easy2
- 3/5 — medium4
Questions tagged parity
Two-Player Array Picking Game with Reverse-on-Odd Rule (Score Difference)
3/5Explore this intriguing ADIA interview question simulating a strategic two-player collection contest over a sequence of integers. Competitors take turns removing elements under distinct parity-based scoring rules, with one participant triggering a complete sequence reversal whenever they select an odd value. This exercise tests your simulation logic, state management, and algorithmic thinking under dynamic conditions. Unlock the comprehensive problem statement and verified model solution with a subscription.
Coding & Leetcode-style QuestionsADIAAlternating Plus/Multiply on Even and Odd Index Streams
3/5This Goldman Sachs interview puzzle involves separating an array into distinct streams based on index parity and applying alternating arithmetic operations to each stream sequentially. You will need to compare the final arithmetic outcomes using specific modular criteria to determine the correct result string. The full problem description, constraints, and verified model solution require a subscription.
Coding & Leetcode-style QuestionsGoldman SachsDoing Smart Work
3/5Explore a challenging string transformation puzzle that tests your algorithmic ingenuity, featuring in technical screenings at Rubrik. Given a numeric sequence, you must determine the smallest possible lexicographical value achievable by repeatedly swapping adjacent digits subject to strict parity conditions. This problem evaluates your grasp of permutation constraints, greedy choice properties, and efficient manipulation of large sequences within tight performance bounds. Gain access to the full problem statement, complexity analysis, and optimal solution by upgrading to a paid subscription.
Coding & Leetcode-style QuestionsRubrikMax Neighbouring Even Pairs
2/5In this DRW interview puzzle, you are tasked with finding the maximum count of adjacent element groupings with even sums arranged in a circular structure, ensuring no element is shared between pairs. This problem tests your combinatorial reasoning and optimization skills when dealing with circular arrays and parity constraints. Unlock full access to examine the complete problem statement and discover the optimal model solution.
Coding & Leetcode-style QuestionsDRWCount Sawtooth (Alternating Parity) Subarrays
2/5This Capital One interview question requires you to scan an integer array to find contiguous segments where adjacent elements consistently alternate in parity. It measures your competence with linear scanning, subarray bounds tracking, and state-machine logic. Reviewing the complete problem context, sample variations, and the optimal model solution requires a subscription.
Coding & Leetcode-style QuestionsCapital OneSwap Parity — Largest Number
3/5Encountered in Palantir interview rounds, this problem tasks you with maximizing a numerical value by repeatedly swapping adjacent digits that share the same parity. You must determine the optimal sequence of allowed exchanges to achieve the largest possible arrangement. This question tests greedy strategies, sorting concepts, and state manipulation on large strings. Access the complete problem statement and professional solution code by purchasing a subscription.
Coding & Leetcode-style QuestionsPalantir
Studied alongside
parity interview FAQ
- How many parity interview questions are there?
- 6 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask parity questions?
- ADIA (1), Goldman Sachs (1), Rubrik (1), DRW (1), Capital One (1), Palantir (1).
- How hard are parity questions?
- They average 2.7 out of 5: 2 at 2/5, 4 at 3/5.