โ† Octro questions

Insertion Sort, Spiral Tree Traversal, Character Frequency, Sort 0 1 2

Filed under Octro

The question

Write code for insertion sort, perform a level order traversal of a tree in spiral form, find the frequency of each character in a given string, and sort an array of 0s, 1s, and 2s in-place with O(1) extra space.

No write-up yet. Related questions below have one.

Related Octro questions

Collected from public candidate posts and coding forums. Updated Nov 2026.