IBM SWE OA 2025 | IBM SWE OA | Hackerrank proxy | OA assistance

1,341 Views
IBM SWE OA 2025 | IBM SWE OA | Hackerrank proxy | OA assistance

Online Assessment Overview

Trait-Based Assessment:: Timed questionnaire that evaluates your work-style preferences by choosing which of two statements is "most like you."

Coding Assessment: Timed coding interface where you solve programming challenges to demonstrate your algorithm and implementation skills.

1. Question 1

Given two integer arrays A And B of length N. You want to form as many pairs (i,j) as possible such that a[i] > b[j], and each element can be used at most once. Return the maximum number of pairs.

Example.
n = 3
a = [1, 2, 3]
b = [1, 2, 1]
Output: 2
Explanation: You can pair (2,1) and (3,1).

Constraints. 1 ≤ n ≤ 10⁵, 1 ≤ a[i], b[i] ≤ 10⁹.

2. Question 2

Given a string num of digits, you may swap any two adjacent digits if they share the same parity (both even or both odd), as many times as you like. Return the lexicographically Return the lexicographically largest string you can form.

Example.
Input: "7596801"
Output: "9758601"
Explanation.
- swap 5↔9 → "7956801"
- swap 7↔9 → "9756801"
- swap 6↔8 → "9758601"

Constraint. length of num up to 10⁵.

We offer hands-on OA writing, Hackerrank proxy interviews, and interview coaching to ensure you ace your assessment. Contact us Now!

author avatar
Alex Ma Staff Software Engineer
Currently working at Google, with more than 10 years of development experience, currently serving as Senior Solution Architect. He has a bachelor's degree in computer science from Peking University and is good at various algorithms, Java, C++ and other programming languages. While in school, he participated in many competitions such as ACM and Tianchi Big Data, and owned a number of top papers and patents.
END