1p3a Question · Oct 2025

IBM NG Fulltime Software Engineer Online Assessment Details

SWE OA New Grad Easy
1 upvote 2 replies

Question Details

The interview lasted 60 minutes and consisted of two questions. The first question was extremely simple; I finished it in one minute after reading it, and I have absolutely no recollection of it 😬 Sor

Full Details

The interview lasted 60 minutes and consisted of two questions. The first question was extremely simple; I finished it in one minute after reading it, and I have absolutely no recollection of it 😬 Sorry! The second question was roughly as follows: Given an array of integers, define a spike as a point that is strictly greater than its two adjacent points. Define a dip as a point that is strictly less than its two adjacent points. The first and last elements of the array are neither spikes nor dips. Spikes and dips are collectively called instable points. Now, you can adjust at most one element in the array. Find the minimum total number of instable points in the array. ➕➕➕➕➕➕➕ Please give me some points! Please give me some points! Help those of you looking for jobs! ❤️❤️ Wishing everyone good luck in their interviews and lots of job offers!

About This Question

This is a reported interview question from a ibm interview for a swe role (new grad level) during the oa round reported in 2025.

It covers the following topics: Array, Arrays .

Difficulty rating: Easy