LeetCode Question · Jan 2023 · Los Angeles

Deloitte | OA | Punishment Number

12 upvotes 1,236 views 10 replies

Question Details

Punishment Number Given an integer N, find the punishment number of N. Punishment number of number N is defined as sum of squares of all x\'s such that: - 1 <= x <=...

Full Details

🔒

Unlock all Square/Block questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a square/block interview for a swe role during the oa round reported in 2023.

It covers the following topics: General Experience .