โ† Goldman Sachs questions

OOP principles, Inheritance, and Sorting

Filed under Goldman Sachs

The question

Explain finalize vs finally, types of inheritance, Java vs Cpp inheritance, overloading vs overriding, self-binary trees, heap sort, and merge sort.

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

Related Goldman Sachs questions

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