IBM Coding & Algorithms Interview Questions

Practice the exact questions companies are asking right now.

7 Questions 1 Company03.01.2026
Showing 7 results
Role
IBM logo
IBM
Medium
Software Engineer Locked

Reverse last two characters with space

This question evaluates basic string manipulation and character indexing skills, including handling of edge cases when treating input as a raw charact...

Coding & Algorithms
7
0
55 people solved
Mar 1, 2026
IBM logo
IBM
Medium
Software Engineer

Maximize palindromic strings after character swaps

You are given an integer n and an array of n lowercase strings arr. Operation (can be performed any number of times): choose two different strings arr...

Coding & Algorithms
6
0
71 people solved
Jan 31, 2026
IBM logo
IBM
Medium
Software Engineer

Compute shared free time intervals

You are given schedules for multiple employees. schedules[i] is a list of busy intervals for employee i, where each interval is half-open [start, end)...

Coding & Algorithms
5
0
55 people solved
Sep 6, 2025
IBM logo
IBM
Medium
Software Engineer Locked

Compute minimum rooms for meeting schedule

This question evaluates a candidate's competency in interval-based scheduling and resource allocation, assessing understanding of overlapping time int...

Coding & Algorithms
4
0
64 people solved
Mar 1, 2026
IBM logo
IBM
Medium
Software Engineer

Find minimum subarray length with k distinct integers

Given an integer array arr and an integer k, find the minimum length of a contiguous subarray that contains exactly k distinct integer values. Return ...

Coding & Algorithms
5
0
60 people solved
Jan 31, 2026
IBM logo
IBM
Easy
Data Scientist

Find minimum operations to make array sorted

Problem You are given an integer array a of length n. Define one operation as follows: 1. Remove the first element x = a[0]. 2. Append x to the end of...

Coding & Algorithms
4
1
65 people solved
Oct 3, 2025
IBM logo
IBM
Medium
Software Engineer

Implement valid 1-D convolution with bias

Question Implement a "valid" 1-D convolution function in the cross-correlation sense. Given an input array of numbers, a kernel (filter) array of numb...

Coding & Algorithms
2
0
39 people solved
Sep 6, 2025

Explore more IBM Coding & Algorithms interview questions

Real questions from candidate reports, grouped by role, topic and company.

Coding & Algorithms questions at other companies
Browse all