Šimon Tóth’s Post

View profile for Šimon Tóth

C++ Educational Content Creator | 20 years of Software Engineering experience distilled into digestible daily posts

Tuesday common C++ interview problem: Reverse an integer. Given a 64-bit integer, reverse its (decimal) digits. If the reversed number cannot be represented, throw std::domain_error. Leading zeroes should be ignored (i.e. the operation isn't symmetric). Example: 100->1->1 Solve it yourself: https://lnkd.in/epHShaVV Solution: https://lnkd.in/eCpyBbGi #cpp #cplusplus #coding #programming #dailybiteofcpp

  • logo

To view or add a comment, sign in

Explore content categories