Product of Array Except Self
Calculate the product of an array except for self without using division.
Input: nums = [-1,1,0,-3,3]
Output: [0,0,9,0,0]
Explanation: The single zero zeros out all products except at its own index, which cleanly multiplies the remaining elements.
Find the shortest distance from all buildings to an empty land in a grid.
You are given a grid of values 0, 1, or 2, where 0 is empty land, 1 is a building, and 2 is an obstacle. Find the shortest travel distance from all buildings to an empty land spot.
Input: grid = [[1,0],[0,1]]
Output: 2
Explanation: The empty lands are at (0,1) a…
**Background**
> YOE: 12 Years
> Experienced: Backend Development
> Current Organization: Top Tier Service Based, Prior associated with top Investment Banking Organization
> Current Role: Senior Software Engineer (last 6 years)
> Offered Role: Staff Software Engineer
> Technology: Java MS Distributed System + AI/ML
**Application**
Got re…
Diameter of a Binary Tree
Find the diameter of a binary tree.
Input: root = [1,2]
Output: 1
Explanation: The longest path is simply the single edge connecting the root node to its only child.
Qualcomm OA Experience 2026 | 60 Questions | Aptitude + Technical + Course Specific | 90 Minutes
**Qualcomm OA Experience 2026 | 60 Questions | Aptitude + Technical + Course Specific | 90 Minutes**
I gave the **Qualcomm Online Assessment yesterday** and wanted to share my experience and the questions I remember so that it may help others preparing for Qualcomm OAs.
### OA Pattern
* **Total Duration:** 90 minutes
* **Total Question…
Merge K Sorted Linked Lists
Merge K sorted linked lists.
Input: lists = [[2,2,3],[1,5]]
Output: [1,2,2,3,5]
Explanation: Extracts the smallest current node iteratively using a priority queue to build a single merged and sorted linked list.
Review these charts and identify the key insights. Then, use the raw data to investigate the root cause of the spikes and dips by creating cohorted visualizations.