14 questions · from 1 interviews
Ibm, Adobe, Siemens, Microsoft interview questions
Every question candidates reported from their Ibm, Adobe, Siemens, Microsoft interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.
Ibm, Adobe, Siemens, Microsoft coding and DSA questions
- 01
Reverse a Linked List
Given the head of a singly linked list, reverse the list and return the new head.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 02
Insert Interval
You are given an array of non‑overlapping intervals sorted by start time, and a new interval. Insert the new interval into the array and merge if necessary so that the resulting array remains sorted and non‑overlapping.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 03
Reverse String Class Implementation
Implement a class in C++ that stores a string and provides a method to reverse it. The class must include a copy constructor, assignment operator, and overload the appropriate operators for copying and output.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 04
Most Frequent Element in Array
Given an array of integers, find the element that appears most frequently. If multiple elements have the same highest frequency, return any one of them.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 05
Second Most Frequent Word
Given a string containing words separated by spaces, find the word that appears second most frequently. Ignore punctuation and case differences.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 06
Connected Components Queries
For a given undirected graph, answer queries that ask for the size of the connected component that a particular node belongs to. The graph may be static or receive edge additions.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
Ibm, Adobe, Siemens, Microsoft system design questions
- 01
Upcoming Birthday Data Structure
Design an interface that can efficiently fetch the next upcoming birthday given a collection of records, where each record contains a name, parents, and a birth date.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 02
Logger System Design
Design a logger system that supports asynchronous logging. Discuss how you would handle file logging versus console logging, rotation, and performance considerations.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 03
Rate Limiter Design
Design a rate‑limiting service that can be used by millions of users. Explain the core algorithm, data structures, scaling strategy, and possible optimizations or edge‑case handling.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 04
FIFO Cache Implementation
Implement a cache that evicts entries using a First‑In‑First‑Out (FIFO) policy. Provide methods for insertion, retrieval, and eviction when the cache reaches its capacity.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
Ibm, Adobe, Siemens, Microsoft other questions
- 01
What is `this` pointer in C++?
Explain the purpose of the this pointer in C++ member functions and how it can be used.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 02
Can we have a virtual constructor?
Discuss whether a virtual constructor is possible in C++ and, if not, why it cannot be implemented.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 03
Virtual destructor use cases
Explain why a virtual destructor is needed in C++ and provide scenarios where it is essential.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
- 04
Array vs Linked List
Compare arrays and linked lists in terms of memory usage, access time, insertion/deletion performance, and typical use cases.
From Interview Experience – Multiple Companies (IBM, Adobe, Siemens, Microsoft)
Ibm, Adobe, Siemens, Microsoft interview questions FAQ
What questions are asked in Ibm, Adobe, Siemens, Microsoft interviews?
Candidates reported 14 distinct questions across 1 Ibm, Adobe, Siemens, Microsoft interviews. 6 coding and DSA questions, 4 system design questions, 4 other questions.