Taro Logo

Software Engineer Interview Experience - Bengaluru, Karnataka

July 11, 2025
Positive ExperienceGot Offer

Process

The online assessment had 4 questions to be solved in 70 minutes.

  • Q1) Return the index of the element that broke the alternating parity pattern of odd and even numbers.

  • Q2) An array of "A" and "P" resources has all "A"s initially at the front and all "P"s at the back. Each cycle, you can either convert "P"s to one "A" based on a conversionRate, or change the last "A" to a "P". The process continues until neither of these operations is possible. Determine the total number of cycles before the process halts.

  • Q3) Manage an array representing memory, where 0 signifies free units and 1 signifies occupied. Process two types of queries: alloc x and erase ID. An alloc x query finds the leftmost contiguous block of x free units, starting at an index divisible by 8, marks them as occupied with a new ID, and returns that ID (or -1 if no such block exists). An erase ID query frees all memory units associated with the given ID and returns the length of the freed block (or -1 if the ID isn't found or already freed). The alloc operation assigns a unique, incrementing ID for each successful allocation.

  • Q4) A mountaineer studies a mountain range represented by an array of peak heights. Due to optical illusion, they can only compare peaks that are at least a certain viewingGap number of positions apart. Find the minimum possible absolute height difference between any two peaks that meet this viewingGap criteria. In essence, find the smallest value of |heights[a] - heights[b]| where |a - b| ≥ viewingGap. The output should be this minimum height difference.

Questions

The details about projects done.

Was this helpful?

Interview Statistics

The following metrics were computed from 1 interview experience for the Okta Software Engineer role in Bengaluru, Karnataka.

Success Rate

100%
Pass Rate

Okta's interview process for their Software Engineer roles in Bengaluru, Karnataka is incredibly easy as the vast majority of engineers get an offer after going through it.

Experience Rating

Positive100%
Neutral0%
Negative0%

Candidates reported having very good feelings for Okta's Software Engineer interview process in Bengaluru, Karnataka.

Okta Work Experiences