InterviewDigestInterviewDigest

OA Practice Workspace

Technical Interview2026-08-13

Implement bubble sort.

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

Given an array of integers, implement the bubble sort algorithm to sort the elements in non-decreasing order by repeatedly stepping through the list, comparing adjacent elements, and swapping them if they are in the wrong order. Your implementation should continue iterating through the array until no more swaps are required, ensuring the largest elements "bubble" to their correct positions at the end of the array with each pass.

Context & Summary

Questions focused on resume-based topics. The interviewer asked about writing a for-each loop in jQuery, LINQ joins, SQL equivalents, and bubble sort. Emphasis was placed on using specific keywords in responses.

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