<?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>Forem: Alex Wawl 🐼</title>
    <description>The latest articles on Forem by Alex Wawl 🐼 (@alexwawl).</description>
    <link>https://forem.com/alexwawl</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%2F236297%2F27269e2b-e18a-49dc-966e-80c13c4e1dea.jpg</url>
      <title>Forem: Alex Wawl 🐼</title>
      <link>https://forem.com/alexwawl</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/alexwawl"/>
    <language>en</language>
    <item>
      <title>[Devmates.co] 📣 Expressive Words </title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Wed, 25 Dec 2019 13:08:54 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-expressive-words-308e</link>
      <guid>https://forem.com/alexwawl/devmates-co-expressive-words-308e</guid>
      <description>&lt;p&gt;Hello👋, &lt;br&gt;
&lt;em&gt;My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to &lt;a href="https://devmates.co/home/problems/-LwlpVVnfZpwqv0ls8jp"&gt;share problem&lt;/a&gt; which was asked by 🏢Google.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Given an original word and an expressive word.&lt;/p&gt;

&lt;p&gt;Return the starting and ending index of repeating characters which are not present in original string.&lt;/p&gt;

&lt;p&gt;For example, given an original word "Hello" and an expressive word "Heeeellooo". "e" is being repeated three times and "o" is being repeated two times so you have to return [["e", 2, 4], ["o", 8, 9]]&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: &lt;br&gt;
    original="Hello", &lt;br&gt;
    expressiveWord = "Heeeellooo"&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: [["e", 2, 4], ["o", 8, 9]]&lt;br&gt;
  &lt;strong&gt;Why&lt;/strong&gt;: "e" is being repeated three times and &lt;br&gt;
           "o" is being repeated two times.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devmates.co/home/problems/-LwlpVVnfZpwqv0ls8jp"&gt;Link to the Problem&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🙌 Don't hesitate to share your solutions directly on &lt;a href="https://devmates.co"&gt;devmates.co&lt;/a&gt;&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>[Devmates.co] Jumps with Boost by 🏢Microsoft</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Mon, 16 Dec 2019 09:01:41 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-jumps-with-boost-by-microsoft-4ag2</link>
      <guid>https://forem.com/alexwawl/devmates-co-jumps-with-boost-by-microsoft-4ag2</guid>
      <description>&lt;p&gt;Hello👋, &lt;br&gt;
&lt;em&gt;My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to &lt;a href="https://devmates.co/home/problems/-LwCkXibaMAhoEDDRsEv"&gt;share problem&lt;/a&gt; which was asked by 🏢Microsoft.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Given an array containing numbers 1 to n where array[i] = i+1.&lt;/p&gt;

&lt;p&gt;Find the minimum number of jumps required from arr[0] to arr[n-1].&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;From current position i, we can jump to positions i+1, i+2, i+3 and I+4&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;There are optional boosters given in the form of an object like - {1: 15, 5: 10} which means, if we reached at index 1 we can directly jump to index 15 similarly, if we reached at index 5, we can directly jump to index 10.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: &lt;br&gt;
    arr = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]&lt;br&gt;
    boosters  = {3: 8, 5:10}&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: 4&lt;br&gt;
  &lt;strong&gt;Why&lt;/strong&gt;: (1 -&amp;gt; 5 -&amp;gt; 10 -&amp;gt; 14 -&amp;gt; 15)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://devmates.co/home/problems/-LwCkXibaMAhoEDDRsEv"&gt;Link to the Problem&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;🙌 Don't hesitate to share your solutions directly on &lt;a href="https://devmates.co"&gt;devmates.co&lt;/a&gt;&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>[Devmates.co] Subtract Two Integers Represented as Array by 🏢Google</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Thu, 12 Dec 2019 18:23:44 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-subtract-two-integers-represented-as-array-by-google-an4</link>
      <guid>https://forem.com/alexwawl/devmates-co-subtract-two-integers-represented-as-array-by-google-an4</guid>
      <description>&lt;p&gt;Hello👋, &lt;br&gt;
&lt;em&gt;My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to share problem which was asked by 🏢Google.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Given a non-empty array of digits representing a non-negative integer and each element in the array contain a single digit.&lt;/p&gt;

&lt;p&gt;Subtract two integers represented as array and return result as array.&lt;/p&gt;

&lt;p&gt;You may assume the integer does not contain any leading zero, except the number 0 itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: Converting to the integer and back to the array is not allowed.&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: num1 = [3, 4, 5], num2 = [2,2,1]&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: [1, 2, 4]&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: num1 = [1, 0], num2 = [9]&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: [1]&lt;/p&gt;

&lt;p&gt;🙌 Don't hesitate to share your solutions directly on &lt;a href="https://devmates.co"&gt;devmates.co&lt;/a&gt;&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>[Devmates.co] Add One by 🚕Bolt</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Wed, 11 Dec 2019 16:13:19 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-add-one-by-bolt-4kle</link>
      <guid>https://forem.com/alexwawl/devmates-co-add-one-by-bolt-4kle</guid>
      <description>&lt;p&gt;Hello👋, &lt;br&gt;
&lt;em&gt;My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to share problem which was asked by 🚕Bolt.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Given a non-empty array of digits representing a non-negative integer and each element in the array contain a single digit.&lt;/p&gt;

&lt;p&gt;Add &lt;strong&gt;one (1)&lt;/strong&gt; to this integer and return it as array.&lt;/p&gt;

&lt;p&gt;You may assume the integer does not contain any leading zero, except the number 0 itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: Converting to the integer and back to the array is not allowed.&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: [3,2,1]&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: [3,2,2]&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: [9,9,9]&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: [1,0,0,0]&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: [5,6,9]&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: [5,7,0]&lt;/p&gt;

&lt;p&gt;🙌 Don't hesitate to share your solutions directly on &lt;a href="https://devmates.co"&gt;devmates.co&lt;/a&gt;&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>I launch Devmates Challenges, what do you think?</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Fri, 15 Nov 2019 16:26:28 +0000</pubDate>
      <link>https://forem.com/alexwawl/i-launch-devmates-challenges-what-do-you-think-2cp2</link>
      <guid>https://forem.com/alexwawl/i-launch-devmates-challenges-what-do-you-think-2cp2</guid>
      <description>&lt;p&gt;Hello👋, &lt;br&gt;
My name is &lt;a href="https://twitter.com/alexwawl" rel="noopener noreferrer"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co" rel="noopener noreferrer"&gt;Devmates.co&lt;/a&gt;. 😊&lt;/p&gt;

&lt;p&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hang out together on the internet. 🍻☕️💬&lt;/p&gt;

&lt;p&gt;I decided to start working on Challenges because I believe that the best way to learn is learning by doing. So I want to make some challenges on a weekly basis and work on something interesting together. You can collaborate with someone or do everything by yourself. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fcsiu6rt3legr4hib8e83.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fcsiu6rt3legr4hib8e83.png" alt="Challenges"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Challenges - micro-projects where you can learn new technologies, frameworks, languages, API, algorithms, approaches, etc. I hope it gives a chance for juniors developers to practice coding on some real projects. Senior engineers can learn something new by doing. &lt;br&gt;
For example, they can try to resolve it using a new language or framework. Challenges don’t have any language/framework/technology restrictions so you can resolve any problem using any tools. &lt;/p&gt;

&lt;p&gt;My motivation is to build a community around it and allow people to learn something new by making small projects. If someone stuck they can ask questions to people who are also working on the same “tasks” and get feedback.&lt;/p&gt;

&lt;p&gt;Right now you can see the first challenge named "Conway's Game of Life". It's a kind of classic coding problem that can be implemented in different ways and can be asked in real interviews. It's not just plain "algorithmic" problem, you should visualize it or adding some additional "behavior". It's a kind of "test" version of challenges but in the future, I want to provide more interesting ideas.&lt;/p&gt;

&lt;p&gt;So if you are working on some APIs, frameworks, etc let me know. Maybe we can collaborate and I can provide interesting challenges based on your Project. I think it's a great idea and would love to hear your feedback.&lt;/p&gt;

&lt;p&gt;I'm working on it in my free time so I would love to hear any ideas about Challenges or about platform at all. It can give me a chance make the platform more useful.&lt;br&gt;
Thanks for reading! &lt;/p&gt;

&lt;p&gt;Links:&lt;br&gt;
&lt;a href="https://devmates.co" rel="noopener noreferrer"&gt;Main page&lt;/a&gt;&lt;br&gt;
&lt;a href="//devmates.co/home/challenges"&gt;Challenges&lt;/a&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>discuss</category>
      <category>computerscience</category>
    </item>
    <item>
      <title>Introducing Devmates - community of engineers who are solving and sharing solution of Daily Coding Problems.</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Wed, 23 Oct 2019 15:30:03 +0000</pubDate>
      <link>https://forem.com/alexwawl/introducing-devmates-community-of-engineers-who-are-solving-and-sharing-solution-of-daily-coding-problems-12gj</link>
      <guid>https://forem.com/alexwawl/introducing-devmates-community-of-engineers-who-are-solving-and-sharing-solution-of-daily-coding-problems-12gj</guid>
      <description>&lt;p&gt;Hello👋, &lt;br&gt;
My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;. 😊&lt;/p&gt;

&lt;p&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hang out together on the internet. 🍻☕️💬&lt;/p&gt;

&lt;p&gt;I get these problems from our members or just searching them on the internet(leetcode forums, Glassdoor, teamblind, etc.).&lt;br&gt;
Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.  🙌 &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xbYAGX5Z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/zqk9nhblvlpekhk922wo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xbYAGX5Z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/zqk9nhblvlpekhk922wo.png" alt="Home Page"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Nowadays a lot of companies are still asking a huge amount of coding problems which not related to real day job. All the time you have a choice - avoiding companies like this or prepare and try yourself.&lt;/p&gt;

&lt;p&gt;I made &lt;a href="https://devmates.co"&gt;devmates.co&lt;/a&gt; - for engineers who are learning algorithms &amp;amp; data structures or want to prepare for their interviews.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plans for the future:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I want to add challenges where you can learn "new" tools/frameworks/libraries and share your solutions with others. I love the concept - learning by doing and want to implement it in Devmates.co.&lt;/p&gt;

&lt;p&gt;This is the absolute beginning for &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;, so please do let me know your thoughts. There are so many different directions I could take this in and I'd love to hear your ideas.&lt;/p&gt;

&lt;p&gt;Feel free to subscribe on &lt;a href="https://devmates.co"&gt;Devmates&lt;/a&gt; or create your account &lt;a href="//devmates.co/home"&gt;Here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I look forward to hearing everyone’s feedback! Please share the site with anyone who you think it could help 🙌&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>javascript</category>
    </item>
    <item>
      <title>[Devmates.co] Candy Crash 📈Bloomberg</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Mon, 14 Oct 2019 07:30:26 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-candy-crash-bloomberg-155f</link>
      <guid>https://forem.com/alexwawl/devmates-co-candy-crash-bloomberg-155f</guid>
      <description>&lt;p&gt;Hello👋, &lt;br&gt;
&lt;em&gt;My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to share problem which was asked by 📈Bloomberg.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Given a string, reduce the string by removing 3 or more consecutive identical characters. You should greedily remove characters from left to right.&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: "aaabbbc"&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: "c"&lt;br&gt;
  &lt;strong&gt;Why?&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Remove 3 'a': "aaabbbc" =&amp;gt; "bbbc"&lt;/li&gt;
&lt;li&gt;Remove 3 'b': "bbbc" =&amp;gt; "c"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: "aabbbacd"&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: "cd"&lt;br&gt;
  &lt;strong&gt;Why?&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Remove 3 'b': "aabbbacd" =&amp;gt; "aaacd"&lt;/li&gt;
&lt;li&gt;Remove 3 'a': "aaacd" =&amp;gt; "cd"&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: "aabbccddeeedcba"&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: ""&lt;br&gt;
  &lt;strong&gt;Why?&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Remove 3 'e': "aabbccddeeedcba" =&amp;gt; "aabbccdddcba"&lt;/li&gt;
&lt;li&gt;Remove 3 'd': "aabbccdddcba" =&amp;gt; "aabbcccba"&lt;/li&gt;
&lt;li&gt;Remove 3 'c': "aabbcccba" =&amp;gt; "aabbba"&lt;/li&gt;
&lt;li&gt;Remove 3 'b': "aabbba" =&amp;gt; "aaa"&lt;/li&gt;
&lt;li&gt;Remove 3 'a': "aaa" =&amp;gt; ""&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Input&lt;/strong&gt;: "aabbccddeeedcba"&lt;br&gt;
  &lt;strong&gt;Output&lt;/strong&gt;: ""&lt;br&gt;
  &lt;strong&gt;Why?&lt;/strong&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Remove 3 'e': "aabbccddeeedcba" =&amp;gt; "aabbccdddcba"&lt;/li&gt;
&lt;li&gt;Remove 3 'd': "aabbccdddcba" =&amp;gt; "aabbcccba"&lt;/li&gt;
&lt;li&gt;Remove 3 'c': "aabbcccba" =&amp;gt; "aabbba"&lt;/li&gt;
&lt;li&gt;Remove 3 'b': "aabbba" =&amp;gt; "aaa"&lt;/li&gt;
&lt;li&gt;Remove 3 'a': "aaa" =&amp;gt; ""&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>[Devmates.co] Group Anagrams 🏨 Booking</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Sat, 05 Oct 2019 08:30:05 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-group-anagrams-booking-34l2</link>
      <guid>https://forem.com/alexwawl/devmates-co-group-anagrams-booking-34l2</guid>
      <description>&lt;p&gt;&lt;em&gt;Hello👋, &lt;br&gt;
*My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to share problem which was asked by 🏨 Booking.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Given an array of strings, group anagrams together.&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; ["eat", "tea", "tan", "ate", "nat", "bat"],&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt;&lt;br&gt;
    [&lt;br&gt;
      ["ate","eat","tea"],&lt;br&gt;
      ["nat","tan"],&lt;br&gt;
      ["bat"]&lt;br&gt;
    ]&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>[Devmates.co] Roman 🏦 Goldman Sachs</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Thu, 03 Oct 2019 08:47:23 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-roman-goldman-sachs-1hf9</link>
      <guid>https://forem.com/alexwawl/devmates-co-roman-goldman-sachs-1hf9</guid>
      <description>&lt;p&gt;&lt;em&gt;Hello👋, &lt;br&gt;
*My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to share problem which was asked by 🏦 Goldman Sachs.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Roman numerals are represented by seven different symbols: &lt;strong&gt;I&lt;/strong&gt;, &lt;strong&gt;V&lt;/strong&gt;, &lt;strong&gt;X&lt;/strong&gt;, &lt;strong&gt;L&lt;/strong&gt;, &lt;strong&gt;C&lt;/strong&gt;, &lt;strong&gt;D&lt;/strong&gt; and &lt;strong&gt;M&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example, 2 is written as &lt;strong&gt;II&lt;/strong&gt; in Roman numeral, just two one's added together. 12 is written as, &lt;strong&gt;XII&lt;/strong&gt;, which is simply &lt;strong&gt;X&lt;/strong&gt; + &lt;strong&gt;II&lt;/strong&gt;. The number 27 is written as &lt;strong&gt;XXVII&lt;/strong&gt;, which is &lt;strong&gt;XX&lt;/strong&gt; + &lt;b&gt;V&lt;/b&gt; + &lt;strong&gt;II&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Roman numerals are usually written largest to smallest from left to right. However, the numeral for four is not &lt;strong&gt;IIII&lt;/strong&gt;. Instead, the number four is written as &lt;strong&gt;IV&lt;/strong&gt;. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is written as &lt;strong&gt;IX&lt;/strong&gt;. There are six instances where subtraction is used:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;I&lt;/strong&gt; can be placed before &lt;strong&gt;V&lt;/strong&gt; (5) and &lt;strong&gt;X&lt;/strong&gt; (10) to make 4 and 9. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;X&lt;/strong&gt; can be placed before &lt;strong&gt;L&lt;/strong&gt; (50) and &lt;strong&gt;C&lt;/strong&gt; (100) to make 40 and 90.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;C&lt;/strong&gt; can be placed before &lt;strong&gt;D&lt;/strong&gt; (500) and &lt;strong&gt;M&lt;/strong&gt; (1000) to make 400 and 900.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Given a &lt;strong&gt;Roman&lt;/strong&gt; numeral, &lt;strong&gt;convert it&lt;/strong&gt; to an integer. Input is guaranteed to be within the range from 1 to 3999.&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; "III"&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt; 3&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; "IX"&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt; 9&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; "LVIII"&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt; 58&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; "MCMXCIV"&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt; 1994&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>[Devmates.co] Product of Array 🍜 Yelp</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Tue, 01 Oct 2019 18:39:01 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-product-of-array-yelp-hml</link>
      <guid>https://forem.com/alexwawl/devmates-co-product-of-array-yelp-hml</guid>
      <description>&lt;p&gt;&lt;em&gt;Hello👋, &lt;br&gt;
*My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to share problem which was asked by 🍜 Yelp.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Given non-empty array &lt;strong&gt;nums&lt;/strong&gt; of integers,  return an array &lt;strong&gt;output&lt;/strong&gt; such that &lt;strong&gt;output[i]&lt;/strong&gt; is equal to the &lt;strong&gt;product of all&lt;/strong&gt; the elements of nums &lt;strong&gt;except&lt;/strong&gt; nums[i].&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; [1,2,3,4]&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt; [1,2,3,4]&lt;br&gt;
&lt;strong&gt;Why?&lt;/strong&gt;&lt;br&gt;
      output[0] = 2*3*4 = 24&lt;br&gt;
      output[1] = 1*3*4 = 12&lt;br&gt;
      output[2] = 1*2*4 = 8&lt;br&gt;
      output[3] = 1*2*3 = 6&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>[Devmates.co] Square Area</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Mon, 30 Sep 2019 08:45:53 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-square-area-3p7p</link>
      <guid>https://forem.com/alexwawl/devmates-co-square-area-3p7p</guid>
      <description>&lt;p&gt;&lt;em&gt;Hello👋, &lt;br&gt;
*My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to share problem which was asked by 📦 Amazon.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Given a 2D binary matrix filled with &lt;strong&gt;0&lt;/strong&gt;'s and &lt;strong&gt;1&lt;/strong&gt;'s, find the &lt;strong&gt;largest&lt;/strong&gt; square containing only &lt;strong&gt;1&lt;/strong&gt;'s and return its &lt;strong&gt;area&lt;/strong&gt;.&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;1 0 1 0 0&lt;br&gt;
1 0 &lt;strong&gt;1&lt;/strong&gt; &lt;strong&gt;1&lt;/strong&gt; 1&lt;br&gt;
1 1 &lt;strong&gt;1&lt;/strong&gt; &lt;strong&gt;1&lt;/strong&gt; 1&lt;br&gt;
1 0 0 1 0&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Output:&lt;/strong&gt; 4&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
    <item>
      <title>Devmates.co [Array Search]</title>
      <dc:creator>Alex Wawl 🐼</dc:creator>
      <pubDate>Thu, 26 Sep 2019 11:13:44 +0000</pubDate>
      <link>https://forem.com/alexwawl/devmates-co-reverse-words-in-string-2mkn</link>
      <guid>https://forem.com/alexwawl/devmates-co-reverse-words-in-string-2mkn</guid>
      <description>&lt;p&gt;&lt;em&gt;Hello👋, &lt;br&gt;
*My name is &lt;a href="https://twitter.com/alexwawl"&gt;Alex&lt;/a&gt; and I'm maker of &lt;a href="https://devmates.co"&gt;Devmates.co&lt;/a&gt;.&lt;/em&gt; 😊&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We are resolving daily coding problems which asked by top tech companies together. We share our solutions, give some help if anyone stuck, support each other and just hangout together in the internet.&lt;/em&gt; 🍻☕️💬&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I get this problem from our members or just searching them in the internet(leetcode forums, Glassdoor, teamblind, etc.). Sometimes this problem can be very easy, sometimes too 👷‍♂️hard, everything depends on skills but we are trying to resolve all of them and Have Fun.&lt;/em&gt;  🙌 &lt;/p&gt;

&lt;p&gt;Today I want to share problem which was asked by 🏢 Google.&lt;/p&gt;

&lt;h5&gt;
  
  
  Problem:
&lt;/h5&gt;

&lt;p&gt;Find the &lt;strong&gt;starting&lt;/strong&gt; and &lt;strong&gt;ending&lt;/strong&gt; position of a given &lt;strong&gt;target&lt;/strong&gt; value in array of integers &lt;strong&gt;nums&lt;/strong&gt; sorted in &lt;strong&gt;ascending&lt;/strong&gt; order.&lt;/p&gt;

&lt;p&gt;If the target is not found in the array, return [-1, -1].&lt;/p&gt;

&lt;h5&gt;
  
  
  Example:
&lt;/h5&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; nums = [3,4,7,7,9,9,9,10], target = 9&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt; [4,6]&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Input:&lt;/strong&gt; nums = [3,4,7,7,9,9,9,10], target = 8&lt;br&gt;
&lt;strong&gt;Output:&lt;/strong&gt; [-1,-1]&lt;/p&gt;

&lt;p&gt;Your algorithm's runtime complexity must be in the order of &lt;strong&gt;O(log n)&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>challenge</category>
    </item>
  </channel>
</rss>
