1p3a_oj Question

Implement custom round function

Question Details

Implement a custom round() function from scratch. The input is a string. Supported string formats include decimal numbers, numbers with positive or negative signs, and numbers that can cause float() o

Full Details

🔒

Unlock all Pinterest 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 pinterest interview for a swe role during the coding round.

It covers the following topics: Strings .

Topics