CodingReported in a candidate post, Jul 2021
Pattern printing, largest palindromic substring, and heapsort
Filed under KPMG
The question
Write code to print a pyramid pattern, find the largest palindromic substring in a user-entered string optimized to O(n^2), explain heapsort vs mergesort, and write code for heapsort.
No write-up yet. Related questions below have one.
Related KPMG questions
Collected from public candidate posts and coding forums. Updated Nov 2026.