SarthakKeshari / CPP-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
47 stars 132 forks source link

Reverse Integer #490

Closed itsooof closed 2 years ago

itsooof commented 2 years ago

Enter your question -

Given a signed 32-bit integer x, return x with its digits reversed. If reversing x causes the value to go outside the signed 32-bit integer range [-2^31, 2^31 - 1], then return 0.

Assume the environment does not allow you to store 64-bit integers (signed or unsigned).

Enter link to the question(if question belongs to any online platform) -

https://leetcode.com/problems/reverse-integer/

Tags for the question(eg - Array, Basic, Stack, etc.) -

Math, Medium

itsooof commented 2 years ago

Please assign this issue to me @SarthakKeshari

SarthakKeshari commented 2 years ago

@itsooof, I hope you have gone through the repo and have checked the issues haven't been already addressed. If above condition holds. Kindly add your solution to "leetcode" folder. Deadline - 18/10/2021