---
title: "Discussion on \"Reverse Integer\" | Hashnode"
description: "Discussion on \"Reverse Integer\". 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<sup>31</sup>, 2<sup>31</sup> - 1], then return 0.\nAssume the environment does not allow you to store..."
url: "https://hashnode.com/posts/reverse-integer/67ac31e939fd7961179650f2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Reverse Integer](https://khushaalan.hashnode.dev/reverse-integer?utm_source=hashnode&utm_medium=feed)

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<sup>31</sup>, 2<sup>31</sup> - 1\], then return 0. Assume the environment does not allow you to store...

Feb 12, 2025 · 1 min read · khushaalan.hashnode.dev  
Read the article

-   [#math](https://hashnode.com/tag/math)

## Written by

[khushaalan](https://hashnode.com/@khushaalan)

@khushaalan · San Francisco

  
[View profile](https://hashnode.com/@khushaalan)

Software Dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
