<p><strong>Reversing</strong> an integer means to reverse all its digits.</p>
<ul>
<li>For example, reversing <code>2021</code> gives <code>1202</code>. Reversing <code>12300</code> gives <code>321</code> as the <strong>leading zeros are not retained</strong>.</li>
</ul>
<p>Given an integer <code>num</code>, <strong>reverse</strong><code>num</code> to get <code>reversed1</code>, <strong>then reverse</strong><code>reversed1</code> to get <code>reversed2</code>. Return <code>true</code><em>if</em><code>reversed2</code><em>equals</em><code>num</code>. Otherwise return <code>false</code>.</p>