InterviewDigestInterviewDigest

OA Practice Workspace

OA2026-08-11

Hybrid Merge Sort worst-case complexity

AI-Expanded — inferred from the question title, not from the original candidate report

Implement a hybrid merge sort algorithm that switches to insertion sort once sub-arrays reach a size threshold of $k$. Analyze the impact of this threshold on the algorithm's worst-case time complexity and determine the optimal value of $k$ to minimize the total number of operations.

Context & Summary

A comprehensive technical and aptitude assessment covering diverse domains such as hardware architecture, software engineering principles, data science, and security.

💻 Coding practice works best on desktop.
Code editors are too cramped on mobile screens.