<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Bit_Manipulation on Dmytro&#39;s Blog</title>
    <link>https://dmytros.blog/tags/bit_manipulation/</link>
    <description>Recent content in Bit_Manipulation on Dmytro&#39;s Blog</description>
    <image>
      <title>Dmytro&#39;s Blog</title>
      <url>https://dmytros.blog/images/papermod-cover.png</url>
      <link>https://dmytros.blog/images/papermod-cover.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 01 Jul 2026 08:37:18 +0300</lastBuildDate>
    <atom:link href="https://dmytros.blog/tags/bit_manipulation/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>LeetCode - 150 - Reverse Integer</title>
      <link>https://dmytros.blog/posts/leetcode-150-reverse-integer/</link>
      <pubDate>Wed, 01 Jul 2026 08:37:18 +0300</pubDate>
      <guid>https://dmytros.blog/posts/leetcode-150-reverse-integer/</guid>
      <description>&lt;h3 id=&#34;the-problem&#34;&gt;The problem&lt;/h3&gt;
&lt;p&gt;Given a signed 32-bit integer &lt;code&gt;x&lt;/code&gt;, return &lt;code&gt;x&lt;/code&gt; &lt;em&gt;with its digits reversed&lt;/em&gt;. If reversing &lt;code&gt;x&lt;/code&gt; causes the value to go outside the signed 32-bit integer range &lt;code&gt;[-2^31, 2^31 - 1]&lt;/code&gt;, then return &lt;code&gt;0&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Assume the environment does not allow you to store 64-bit integers (signed or unsigned).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example 1:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Input: x = 123
Output: 321
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Example 2:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Input: x = -123
Output: -321
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Example 3:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Input: x = 120
Output: 21
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Constraints:&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
