Palindrome number and merge intervals

0
Remix

Two short problems:

  1. Decide whether an integer reads the same forwards and backwards.
  2. Merge a list of possibly overlapping ranges into the fewest non-overlapping ranges.
GoogleTechnical phone screenLast asked Mar 2026
No answer yet. Write the first one; the best answer gets endorsed.