โ† Meta questions

Count occurrences in sorted list and maximum path sum in binary tree

Filed under Meta

The question

Write a function that takes a sorted list of integers and a target value k and counts the number of occurrences of k in the list. Also, find the maximum path sum in a binary tree.

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

Related Meta questions

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