optmyzr logo
Optmyzr· SDE Intern

Optmyzr SDE Intern OA Round - 1

Posted
24 Feb 2026
271 reads

Summary

I recently appeared for the Optmyzr SDE Intern Online Assessment (Round 1). I encountered an interesting problem based on 2D Matrix transformations and have shared its description and my approach.

How it went

I recently appeared for the Optmyzr SDE Intern Online Assessment (Round 1). One of the interesting problems was based on 2D Matrix transformations. Sharing the problem statement and my approach to help the community!

Questions asked (1)

  1. 01

    Matrix Transformations (Rotate & Flip)

    Data Structures & Algorithms · Medium

    📝 Problem Description

    You are given an $N \times N$ matrix (2D vector). You need to perform a series of operations in a specific order to transform the matrix.

    Operations:

    1. Rotation: Rotate the matrix clockwise by a given angle $\theta \in \{90^\circ, 180^\circ, 270^\circ\}$.
    2. Vertical Flip: If vertical_flip == 1, flip the matrix vertically (up-to-down).
    3. Horizontal Flip: If horizontal_flip == 1, flip the matrix horizontally (left-to-right).

    Input Format:

    • A 2D vector matrix.
    • An integer angle (90, 180, or 270).
    • An integer v_flip (0 or 1).
    • An integer h_flip (0 or 1).

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Optmyzr recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!