Roblox Interview Question

Q: Find all the perfect squares within a given interval