Daily challenge for 2026-08-19
596. Next Odd Square
Given an integer n, find the smallest perfect square that is strictly greater than n and is an odd number.
Example:
Input: n = 5
Output: 9
Explanation: The perfect squares greater than 5 are 9, 16, 25, 36, ... The smallest of these that is odd is 9.
Run this challenge interactively in Python or JavaScript when the app loads.