Sde Interview Questions

16,587 sde interview questions shared by candidates

Given a number n, find sum of square of digits. Now that is your new number, find sum of square of digits for that. Keep going on. You are given bool isvalid(int n). Return true if the number ever becomes 1. If not, return false. Do this in o(1) space.
avatar

SDE-1

Interviewed at Amazon

3.5
Aug 10, 2020

Given a number n, find sum of square of digits. Now that is your new number, find sum of square of digits for that. Keep going on. You are given bool isvalid(int n). Return true if the number ever becomes 1. If not, return false. Do this in o(1) space.

Viewing 211 - 220 interview questions

Glassdoor has 16,587 interview questions and reports from Sde interviews. Prepare for your interview. Get hired. Love your job.