Optimus Information Inc. interview experience Real time questions & tips from candidates to crack your interview

SWE Intern

Optimus Information Inc.
upvote
share-icon
3 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Journey
I started with just curiosity and a basic grasp of coding, but through consistent practice, building projects, and studying core concepts, I grew stronger. Rejections and doubts turned into lessons that shaped me. I refined my resume, strengthened communication, and prepared with mock interviews and problem-solving. Cracking the interview wasn’t only about knowledge—it was about resilience, adaptability, and the drive to grow. If I could begin from scratch and make it, so can you—with focus, hard work, and belief in the process. Keep going—your breakthrough is closer than you think.
Application story
During my on-campus placement drive, I applied through my college’s placement portal after shortlisting companies that matched my interests and skills. I submitted a well-prepared resume and was fortunate to get shortlisted. The selection process consisted of multiple rounds. The first was an online aptitude and coding test, which assessed my problem-solving ability and logical thinking. After clearing that, I moved on to the technical interview, where my understanding of core concepts and coding skills were evaluated. The final stage was the HR interview, which focused on communication, confidence, and overall personality fit. The process was intense yet structured. With consistent preparation and strong support from peers, I was able to navigate each stage successfully and eventually secure the offer.
Why selected/rejected for the role?
I was selected because I solved most of the questions in OA and performed well in Interviews.
Preparation
Duration: 4 months
Topics: DSA, DBMS, OOPS, Computer Network, Operating System
Tip
Tip

Tip 1: Strengthen your DSA.
Tip 2: Practice SQL queries regularly.
Tip 3: Revise core computer science fundamentals.

Application process
Where: Campus
Eligibility: Above 8 CGPA, (Stipend: 20k per month)
Resume Tip
Resume tip

It was not dependent on Resume because it was on-campus.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date20 Dec 2024
Coding problem2

It started at 11 AM. I was quiet confident because I was prepared. There were 20 MCQs based on aptitude and two coding problems.

1. Minimal Divisibility Pair

Easy
0/40

You are given two integer values, a and b. The task is to find the smallest non-negative integers x and y such that the updated values a + x and b + y satisfy the condition:
(b + y) is completely divisible by (a + x).
Additionally, the sum x + y should be minimized.

Problem approach

Iterate over possible increments for x starting from 0.

For each x, compute a' = a + x.

Check the remainder r = b % a'.

If r == 0, then x + y = x (since y = 0) — this is optimal.

Otherwise, calculate y = a' - (b % a') to make b + y divisible by a'.

Keep track of the minimum value of x + y and the corresponding pair (x, y).

Return the pair with the smallest sum x + y.

Try solving now

2. Next Greater Element

Easy
10m average time
90% success
0/40
Asked in companies
IBMInfo Edge India (Naukri.com)Amazon

Given an array of integers, for each element, find the next greater element to its right in the array. The next greater element for an element x is the first element greater than x that appears to its right. If no such element exists, return -1 for that position.

Problem approach

Initialize a stack to keep track of elements for which we haven't found the next greater element yet.

Traverse the array from right to left (reverse order).

For each element:

While the stack is not empty and the top of the stack is less than or equal to the current element, pop from the stack.

If the stack is empty after popping, the next greater element is -1.

If not empty, the top of the stack is the next greater element.

Push the current element onto the stack.

Store the result in an output array, and reverse it if needed (based on how you store results).

Try solving now
02
Round
Easy
Face to Face
Duration45 minutes
Interview date20 Dec 2024
Coding problem4

It started at 3PM. I was little bit nervous but when interview started I became confident. Interviewer was also very helpful,

1. Dijkstra's shortest path

Moderate
25m average time
65% success
0/80
Asked in companies
PayPalAmazonPhonePe

You are given a weighted, directed (or undirected) graph with n vertices and m edges. Each edge has a non-negative weight. Your task is to find the shortest distance from a given source node to all other nodes in the graph using Dijkstra’s Algorithm.

Problem approach

Initialize distances:

Create a distance array dist[] of size n, initialized with infinity (INF) for all nodes, except the source node which is set to 0.

Use a priority queue (min-heap):

Push the source node into the heap with distance 0.

Process the queue:

While the priority queue is not empty:

Pop the node with the smallest distance.

For each neighbor of this node:

If dist[u] + weight < dist[v], update dist[v] and push (dist[v], v) into the heap.

Repeat until all reachable nodes are visited.

Return the dist[] array containing the shortest distances from the source.

Try solving now

2. First Repeating Element

Easy
0/40

You are given an array of integers. Your task is to find the first repetitive element in the array, i.e., the first element that appears more than once. If no element is repeated, return -1.

Problem approach

Initialize an empty set.

Traverse the array:

If the element is already in the set, return it (first repetitive element).

If not, add it to the set.

If no element repeats, return -1.

Try solving now

3. Second Highest Salary

Write a SQL query to find the second highest salary from the Employee table. If there is no second highest salary, return NULL. (Practice)

Problem approach

Tip 1: Use DISTINCT: Select distinct salaries to eliminate duplicates.
Tip 2: Use LIMIT or ROW_NUMBER(): For SQL, use LIMIT with ORDER BY for a simple approach, or use ROW_NUMBER() to rank salaries and select the second highest.
Tip 3: Handle NULLs: Ensure that if no second distinct salary exists, return NULL.

4. DBMS

You are given a table called Employee with the following columns:

id (integer) — represents the employee's ID.

name (string) — represents the employee's name.

salary (integer) — represents the employee's salary.

Write an SQL query to find the names of employees whose name starts with the letter 's'.

Problem approach

Tip 1: Use the LIKE operator: WHERE name LIKE 'S%' to filter names starting with 'S'.
Tip 2: Ensure case insensitivity: use UPPER(name) or LOWER(name) to handle different cases.
Tip 3: Optimize the query: If there's a large dataset, ensure proper indexing on the name column for faster querying.

03
Round
Easy
HR Round
Duration15 minutes
Interview date20 Dec 2024
Coding problem1

It started at 5PM. I was excited because I had cleared the technical interview.

1. HR Questions

  • Asked me about my family background.
  • Interviewer asked me about selection process.
  • Asked me about leadership skill.
Problem approach

About Background: Be concise and respectful: Briefly mention parents' occupations and values you've learned from them. Stay relevant: Connect your family background to traits like responsibility, work ethic, or motivation. Stay positive: Highlight support and encouragement without oversharing personal challenges.

About selection process: Be clear and structured: Briefly list the rounds (e.g., aptitude, technical, HR) in order. Highlight your preparation: Mention how you approached each round confidently. Stay honest and concise: Focus on key challenges and how you overcame them without over-explaining.

About leadership skills: Give a real example: Share a situation where you led a team or took initiative. Highlight key traits: Emphasize communication, decision-making, and teamwork. Show impact: Mention the positive outcome or what the team achieved under your leadership.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4656 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SWE Intern
4 rounds | 6 problems
Interviewed by Microsoft
2298 views
0 comments
0 upvotes
company logo
SWE Intern
4 rounds | 6 problems
Interviewed by Dunzo
854 views
0 comments
0 upvotes
company logo
SWE Intern
4 rounds | 5 problems
Interviewed by Microsoft
0 views
0 comments
0 upvotes