<?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: ways!</title>
    <description>The latest articles on DEV Community by ways! (@luvsense).</description>
    <link>https://dev.to/luvsense</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1312138%2F8d55ed4c-2650-4c2d-bee4-02c4ac94b46c.jpeg</url>
      <title>DEV Community: ways!</title>
      <link>https://dev.to/luvsense</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/luvsense"/>
    <language>en</language>
    <item>
      <title>[Leetcode] 2727. Is Object Empty</title>
      <dc:creator>ways!</dc:creator>
      <pubDate>Wed, 02 Oct 2024 13:39:20 +0000</pubDate>
      <link>https://dev.to/luvsense/leetcode-2727-is-object-empty-5h8k</link>
      <guid>https://dev.to/luvsense/leetcode-2727-is-object-empty-5h8k</guid>
      <description>&lt;p&gt;Question Link: &lt;a href="https://leetcode.com/problems/is-object-empty/description/" rel="noopener noreferrer"&gt;https://leetcode.com/problems/is-object-empty/description/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  [Problem Statment]
&lt;/h2&gt;

&lt;p&gt;Given an object or an array, return if it is empty.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An empty object contains no key-value pairs.&lt;/li&gt;
&lt;li&gt;An empty array contains no elements.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You may assume the object or array is the output of &lt;code&gt;JSON.parse&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  [Understanding Question]
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Sooo... we’re getting either an Array or an Object as the parameter to this function called obj. (Yeah, I know, super creative name, but it'll make sense later!)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Our task? Perform some magic coding tricks to first figure out if this obj is an array or an object. Then, based on that knowledge, we’ll decide what to do next.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally, we need to check if this object/array is empty or not. Simple, right? (Or is it...)&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  [Key Points]
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;First things first&lt;/strong&gt;: "An array is technically an object in JavaScript." Yep! That’s right—arrays are a special type of object in JS. So, don't get confused!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Object Detection 101&lt;/strong&gt;: We can check if the parameter is actually an object (or array) by using typeof obj === 'object' &amp;amp;&amp;amp; obj !== null. Why the !== null part? Well, because null is a special case in JS. Even though it's technically of type object, it's like the empty void of nothingness. So, we exclude that, just in case (even though the problem didn’t explicitly mention it, it’s a good habit).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Undefined and null Elements&lt;/strong&gt;: Both objects and arrays can have properties/elements that are undefined or null. But no worries—they'll still count when we check the length. They don’t get a free pass from our validation!&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Is it an Array?&lt;/strong&gt;: We can check if the parameter is an array using Array.isArray(obj). No need to check again if it’s an object, though—we already did that earlier. &lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  [Solution Code]
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="nx"&gt;isEmpty&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;function &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;obj&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="nx"&gt;obj&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;object&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;obj&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="c1"&gt;// Check if it's an object and not null&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;Array&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isArray&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;obj&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="c1"&gt;// If it's an array&lt;/span&gt;
      &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;obj&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Return true if it's empty&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="c1"&gt;// If it's an object&lt;/span&gt;
      &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nb"&gt;Object&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;keys&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;obj&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Return true if there are no keys&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// If it's neither an object nor an array, return false&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  [Breaking It Down... even further]
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;: Check if it’s an object&lt;br&gt;
First, we use typeof obj === 'object' &amp;amp;&amp;amp; obj !== null to ensure the input is an object and not null. (Because we all know that typeof null === 'object is one of JavaScript’s weird quirks. Thanks, JavaScript!)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;: Is it an array?&lt;br&gt;
We use Array.isArray(obj) to distinguish between arrays and regular objects. Arrays have a length property, so we can directly check if obj.length === 0.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;: Is it an object?&lt;br&gt;
If it’s not an array, we check if it's an object using Object.keys(obj).length === 0. This method returns the number of keys in the object. No keys? It's empty!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;: Default case&lt;br&gt;
If the input isn’t an object (or it’s null), we return false because the question specifies we're working with either objects or arrays only.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>leetcode</category>
    </item>
    <item>
      <title>1497. Check If Array Pairs Are Divisible by k</title>
      <dc:creator>ways!</dc:creator>
      <pubDate>Tue, 01 Oct 2024 22:07:45 +0000</pubDate>
      <link>https://dev.to/luvsense/1497-check-if-array-pairs-are-divisible-by-k-3an5</link>
      <guid>https://dev.to/luvsense/1497-check-if-array-pairs-are-divisible-by-k-3an5</guid>
      <description>&lt;p&gt;Question Link : &lt;a href="https://leetcode.com/problems/check-if-array-pairs-are-divisible-by-k" rel="noopener noreferrer"&gt;1497. Check If Array Pairs Are Divisible by k&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  [Problem Statement]
&lt;/h3&gt;

&lt;p&gt;Given an array of integers &lt;code&gt;arr&lt;/code&gt; of even length &lt;code&gt;n&lt;/code&gt; and an integer &lt;code&gt;k&lt;/code&gt;, we need to determine if it's possible to divide the array into exactly &lt;code&gt;n/2&lt;/code&gt; pairs such that the sum of each pair is divisible by &lt;code&gt;k&lt;/code&gt;. The function should return &lt;code&gt;true&lt;/code&gt; if such a division is possible, and &lt;code&gt;false&lt;/code&gt; otherwise.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Insight
&lt;/h3&gt;

&lt;p&gt;The crucial insight that makes this algorithm efficient is based on the properties of modular arithmetic:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;If &lt;code&gt;(a + b) % k == 0&lt;/code&gt;, then &lt;code&gt;(a % k + b % k) % k == 0&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;This means that for two numbers to sum to a multiple of &lt;code&gt;k&lt;/code&gt;, their remainders when divided by &lt;code&gt;k&lt;/code&gt; must sum to &lt;code&gt;k&lt;/code&gt; (or 0, which is the same in modular arithmetic).&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Algorithm Steps
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Initialize Remainder Count:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create an array &lt;code&gt;remainders&lt;/code&gt; of length &lt;code&gt;k&lt;/code&gt;, initialized with zeros.&lt;/li&gt;
&lt;li&gt;This array will count how many numbers in &lt;code&gt;arr&lt;/code&gt; have each possible remainder when divided by &lt;code&gt;k&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Count Remainders:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Iterate through each number &lt;code&gt;num&lt;/code&gt; in the input array &lt;code&gt;arr&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Calculate its remainder when divided by &lt;code&gt;k&lt;/code&gt; using &lt;code&gt;((num % k) + k) % k&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Increment the count for this remainder in the &lt;code&gt;remainders&lt;/code&gt; array.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Check Pairing Possibility:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Iterate through the remainders from 0 to &lt;code&gt;k/2&lt;/code&gt;:
a. For remainder 0 and &lt;code&gt;k/2&lt;/code&gt; (if &lt;code&gt;k&lt;/code&gt; is even):

&lt;ul&gt;
&lt;li&gt;Check if the count is even. If not, return &lt;code&gt;false&lt;/code&gt;.
b. For all other remainders &lt;code&gt;i&lt;/code&gt;:&lt;/li&gt;
&lt;li&gt;Check if the count of remainder &lt;code&gt;i&lt;/code&gt; equals the count of remainder &lt;code&gt;k-i&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If not, return &lt;code&gt;false&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Return Result:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If all checks pass, return &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Detailed Breakdown
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Counting Remainders
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;for &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;num&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;arr&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nx"&gt;remainders&lt;/span&gt;&lt;span class="p"&gt;[((&lt;/span&gt;&lt;span class="nx"&gt;num&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="nx"&gt;k&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nx"&gt;k&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="nx"&gt;k&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;We use &lt;code&gt;((num % k) + k) % k&lt;/code&gt; instead of just &lt;code&gt;num % k&lt;/code&gt; to handle negative numbers correctly.&lt;/li&gt;
&lt;li&gt;This ensures all remainders are in the range [0, k-1].&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Checking Pairing Possibility
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;for &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="nx"&gt;k&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;i&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;k&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="nx"&gt;k&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;remainders&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;remainders&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="nx"&gt;remainders&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;k&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nx"&gt;i&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;We only need to check up to &lt;code&gt;k/2&lt;/code&gt; because remainders pair symmetrically.&lt;/li&gt;
&lt;li&gt;For remainder 0 and &lt;code&gt;k/2&lt;/code&gt; (when &lt;code&gt;k&lt;/code&gt; is even), we need an even count because these can only pair with themselves.&lt;/li&gt;
&lt;li&gt;For all other remainders &lt;code&gt;i&lt;/code&gt;, we need the count of &lt;code&gt;i&lt;/code&gt; to equal the count of &lt;code&gt;k-i&lt;/code&gt;, as these will pair with each other.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Time and Space Complexity
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Time Complexity: O(n + k), where n is the length of &lt;code&gt;arr&lt;/code&gt;.

&lt;ul&gt;
&lt;li&gt;We iterate through &lt;code&gt;arr&lt;/code&gt; once to count remainders: O(n)&lt;/li&gt;
&lt;li&gt;We then iterate through half of &lt;code&gt;k&lt;/code&gt; to check pairing: O(k/2)&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Space Complexity: O(k) for the &lt;code&gt;remainders&lt;/code&gt; array.&lt;/li&gt;

&lt;/ul&gt;

&lt;h3&gt;
  
  
  Why This Works
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;By counting remainders, we reduce the problem from checking every possible pair (which would be O(n^2)) to checking if remainders can be paired (which is O(n + k)).&lt;/li&gt;
&lt;li&gt;The pairing check ensures that for every number with remainder &lt;code&gt;i&lt;/code&gt;, there's a corresponding number with remainder &lt;code&gt;k-i&lt;/code&gt; to pair with it, such that their sum is divisible by &lt;code&gt;k&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Edge Cases and Considerations
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;The algorithm correctly handles negative numbers.&lt;/li&gt;
&lt;li&gt;It works for any positive integer &lt;code&gt;k&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;It implicitly handles the case where some numbers in &lt;code&gt;arr&lt;/code&gt; are already divisible by &lt;code&gt;k&lt;/code&gt; (remainder 0).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This algorithm efficiently solves the problem by leveraging properties of modular arithmetic, avoiding the need to actually form the pairs or check every possible pairing.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>leetcode</category>
    </item>
  </channel>
</rss>
