<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hasanul</title>
    <description>The latest articles on DEV Community by Hasanul (@hasanulkarimhk).</description>
    <link>https://dev.to/hasanulkarimhk</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F486728%2Fae0b5371-1bf7-4ffd-8424-c1d894652f22.jpg</url>
      <title>DEV Community: Hasanul</title>
      <link>https://dev.to/hasanulkarimhk</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hasanulkarimhk"/>
    <language>en</language>
    <item>
      <title>Break break!</title>
      <dc:creator>Hasanul</dc:creator>
      <pubDate>Tue, 13 Oct 2020 22:03:10 +0000</pubDate>
      <link>https://dev.to/hasanulkarimhk/break-break-42g1</link>
      <guid>https://dev.to/hasanulkarimhk/break-break-42g1</guid>
      <description>&lt;p&gt;I'm taking a break from here, really going to miss programming. 💘💔💚&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Ah!</title>
      <dc:creator>Hasanul</dc:creator>
      <pubDate>Tue, 13 Oct 2020 22:00:24 +0000</pubDate>
      <link>https://dev.to/hasanulkarimhk/ah-pi8</link>
      <guid>https://dev.to/hasanulkarimhk/ah-pi8</guid>
      <description>&lt;p&gt;I love of Stack Overflow that I get any answer really fast if I ask a specific question. But, the problem is someone down votes sometimes. That's disgusting.  🤮😒&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Keep in MIND</title>
      <dc:creator>Hasanul</dc:creator>
      <pubDate>Sat, 10 Oct 2020 12:29:39 +0000</pubDate>
      <link>https://dev.to/hasanulkarimhk/keep-in-mind-491c</link>
      <guid>https://dev.to/hasanulkarimhk/keep-in-mind-491c</guid>
      <description>&lt;p&gt;For learning at first choose the long-winded approach then try for shortcodes.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Such a helpful community.</title>
      <dc:creator>Hasanul</dc:creator>
      <pubDate>Sat, 10 Oct 2020 10:14:10 +0000</pubDate>
      <link>https://dev.to/hasanulkarimhk/such-a-helpful-community-37nl</link>
      <guid>https://dev.to/hasanulkarimhk/such-a-helpful-community-37nl</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fstackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/64291394/not-giving-the-right-answer-when-putting-the-largest-number-at-first-position-of/64291434#64291434" rel="noopener noreferrer"&gt;
            &lt;span class="title-flare"&gt;answer&lt;/span&gt; re: Not giving the right answer when putting the largest number at first position of the list
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Oct 10 '20&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/64291394/not-giving-the-right-answer-when-putting-the-largest-number-at-first-position-of/64291434#64291434" rel="noopener noreferrer"&gt;
        &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fstackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          2
        &lt;/div&gt;
        &lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev.to%2Fassets%2Fstackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;You start by setting &lt;code&gt;largest&lt;/code&gt; and &lt;code&gt;second_largest&lt;/code&gt; to the largest element value (the first one in this case):&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;largest = nums[0]
second_largest = nums[0]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Unfortunately, that means the expressions:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nums[i] &amp;gt; largest
nums[i] &amp;gt; second_largest
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;will &lt;em&gt;never&lt;/em&gt; be true, so &lt;code&gt;second_largest&lt;/code&gt; will never change from its initial (largest) value.&lt;/p&gt;
&lt;p&gt;If…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/64291394/not-giving-the-right-answer-when-putting-the-largest-number-at-first-position-of/64291434#64291434" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
