Mu Sigma SDE Trainee OA | Move Negative Elements & Rotate Matrix 90 Degrees Clockwise
Question · Posted Jun 2026
Problem 1 - Data Analytics Stream Filter Problem Statement You are working on a data sanitization pipeline for a statistical modeling engine. You are given an integer array dataPoints of size N containing both positive and negative values. Your task is to rearrange the array such that all negative elements appear before all non-negative elements. The relative ordering among negative elements or among non-negative elements does not matter. The modification must be performed directly on the original array using constant ...
The full answer & interview discussion are available to premium members.
Log in Create a free account