<?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: Daniel</title>
    <description>The latest articles on DEV Community by Daniel (@dannyhabibs).</description>
    <link>https://dev.to/dannyhabibs</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%2F686813%2F6b5dd936-c715-48b3-9b3d-52659a2dab60.jpeg</url>
      <title>DEV Community: Daniel</title>
      <link>https://dev.to/dannyhabibs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dannyhabibs"/>
    <language>en</language>
    <item>
      <title>Solve any data structures and algorithms problem instantly with AI</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Mon, 14 Nov 2022 23:58:42 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/solve-any-data-structures-and-algorithms-problem-instantly-with-ai-517i</link>
      <guid>https://dev.to/dannyhabibs/solve-any-data-structures-and-algorithms-problem-instantly-with-ai-517i</guid>
      <description>&lt;p&gt;I just built this &lt;a href="https://leetdesign.com/tools/algo_solver?utm_source=devto&amp;amp;utm_medium=social"&gt;tool&lt;/a&gt; that solves any Data structures instantly leveraging AI&lt;/p&gt;

&lt;p&gt;Check it out!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--5KUrJYkS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ikkpeawc7pxw2e59ezpr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5KUrJYkS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ikkpeawc7pxw2e59ezpr.jpg" alt="Image description" width="800" height="681"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I explained how I built it &lt;a href="https://twitter.com/DannyHabibs/status/1591189160257556480?s=20&amp;amp;t=_sAhbK6TR7TZpwawxMb8Bg"&gt;here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>tooling</category>
      <category>career</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>System Design: Stock Exchange</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Wed, 05 Oct 2022 10:33:04 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/system-design-stock-exchange-460i</link>
      <guid>https://dev.to/dannyhabibs/system-design-stock-exchange-460i</guid>
      <description>&lt;p&gt;How would you design a Stock Exchange meant to operate at scale?&lt;/p&gt;

&lt;h2&gt;
  
  
  Estimated Usage
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;500 million order per day&lt;/li&gt;
&lt;li&gt;Uniform usage throughout the day&lt;/li&gt;
&lt;li&gt;200 listed companies on the market&lt;/li&gt;
&lt;li&gt;1:1 Buy to Sell orders&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Functional Requirements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Users should be able to put in orders to buy or sell&lt;/li&gt;
&lt;li&gt;Users should be able to cancel orders&lt;/li&gt;
&lt;li&gt;Buy orders should be matched to sell orders with the same price if they exist&lt;/li&gt;
&lt;li&gt;User accounts have a balance where they have to preload funds in order to place a buy order&lt;/li&gt;
&lt;li&gt;User should be able to check the current price&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Nonfunctional Requirements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;99.999% reliability&lt;/li&gt;
&lt;li&gt;Price checks need to be updated within 3000 milliseconds&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try to submit your solution on &lt;a href="http://leetdesign.com/problems/stock-exchange?utm_source=devto&amp;amp;utm_medium=social"&gt;LeetDesign&lt;/a&gt;, share the link in the comments and I'll give you feedback on how you did!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--UJ-s7bLV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nezck87zjvvxkzl3k1tm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--UJ-s7bLV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nezck87zjvvxkzl3k1tm.png" alt="An image of the problem" width="880" height="803"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>systemdesign</category>
      <category>programming</category>
      <category>architecture</category>
    </item>
    <item>
      <title>How would you design an Instagram-like backend?</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Thu, 29 Sep 2022 12:49:16 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/how-would-you-design-an-instagram-like-backend-5c07</link>
      <guid>https://dev.to/dannyhabibs/how-would-you-design-an-instagram-like-backend-5c07</guid>
      <description>&lt;p&gt;📸 Instagram has roughly 500m Daily Active Users&lt;/p&gt;

&lt;p&gt;When designing a system to support that scale there are special considerations that need to be made.&lt;/p&gt;

&lt;p&gt;How would you design an Instagram-like app to support 500m DAU?&lt;/p&gt;

&lt;p&gt;Try out the newest problem we launched on LeetDesign Share a link to your submission in the comments and I'll give you feedback on how you did!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://leetdesign.com/problems/instagram"&gt;https://leetdesign.com/problems/instagram&lt;/a&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>systems</category>
    </item>
    <item>
      <title>Search Engine - System Design optimal solution</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Fri, 16 Sep 2022 12:09:14 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/search-engine-system-design-optimal-solution-16k5</link>
      <guid>https://dev.to/dannyhabibs/search-engine-system-design-optimal-solution-16k5</guid>
      <description>&lt;p&gt;Search engines are built to help users find relevant resources based on an inputted search query. In our case, our search engine needs to scan, organize and serve relevant urls to users in a timely manner.&lt;/p&gt;

&lt;p&gt;Most search engines require us to organize the search data in a way that allows users to quickly get their results, and ours is no exception. The secret to this problem is understanding that we need to preprocess the data to make it more easily searchable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Functional Requirements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;10 relevant results should be returned for each query if they exist&lt;/li&gt;
&lt;li&gt;When a user clicks on a result they should be sent to the page&lt;/li&gt;
&lt;li&gt;A "good match" is when a url contains a specific keyword&lt;/li&gt;
&lt;li&gt;Searches can only consists of a single keyword&lt;/li&gt;
&lt;li&gt;All grammatical tenses should map back to the same base words&lt;/li&gt;
&lt;li&gt;All "stop words"( a, an, you, or ,etc.) should not be included in the index&lt;/li&gt;
&lt;li&gt;Urls should be checked daily for updates&lt;/li&gt;
&lt;li&gt;Urls do not need to be ranked off of any relevancy&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How would you design this system?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://leetdesign.com/problems/search-engine/solution"&gt;Optimal Solution&lt;/a&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>systems</category>
      <category>interview</category>
    </item>
    <item>
      <title>Design a movie ticketing application</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Tue, 30 Aug 2022 04:11:39 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/design-a-movie-ticketing-application-2ic8</link>
      <guid>https://dev.to/dannyhabibs/design-a-movie-ticketing-application-2ic8</guid>
      <description>&lt;p&gt;We just published a new System Design Interview practice problem on LeetDesign!&lt;/p&gt;

&lt;p&gt;You can check it out &lt;a href="https://leetdesign.com/problems/movie-ticketing-application"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prompt&lt;/strong&gt;&lt;br&gt;
Design an online ticketing system where users can browse whats available and purchase movie tickets&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Functional Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Users can see theatre's and times for chosen films&lt;/li&gt;
&lt;li&gt;Users can stand by assuming quite seats could open up from cancellation&lt;/li&gt;
&lt;li&gt;Users can book tickets from the client&lt;/li&gt;
&lt;li&gt;Films should be filterable by city&lt;/li&gt;
&lt;li&gt;Users should be able to purchase additional seats after initial purchase&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Nonfunctional Requirements&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Financial transactions need to be secure&lt;/li&gt;
&lt;li&gt;Data must be stored for 5 years&lt;/li&gt;
&lt;li&gt;Must not sell the same ticket to more than one user&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>systems</category>
      <category>systemdesign</category>
      <category>interview</category>
      <category>career</category>
    </item>
    <item>
      <title>New System Design Problem: Dropbox</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Wed, 24 Aug 2022 05:50:32 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/new-system-design-problem-dropbox-5h34</link>
      <guid>https://dev.to/dannyhabibs/new-system-design-problem-dropbox-5h34</guid>
      <description>&lt;p&gt;9/100 Days of posting new system design problems 🔥&lt;/p&gt;

&lt;p&gt;Sadly, I missed yesterday due to some violent food poisoning but after 24 hours of sitting in bed and drinking water, I'm back at it!&lt;/p&gt;

&lt;p&gt;You can learn a lot about how big companies work by studying their infrastructure, and Dropbox is no exception!&lt;/p&gt;

&lt;p&gt;Give it a whirl and lmk what you come up with&lt;/p&gt;

&lt;p&gt;leetdesign.com/problems/dropbox&lt;/p&gt;

</description>
      <category>leetdesign</category>
      <category>interview</category>
      <category>career</category>
      <category>system</category>
    </item>
    <item>
      <title>System Design Practice Problems</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Tue, 16 Aug 2022 08:16:10 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/system-design-practice-problems-111o</link>
      <guid>https://dev.to/dannyhabibs/system-design-practice-problems-111o</guid>
      <description>&lt;p&gt;Just kicked off a new list of system design practice problems! &lt;/p&gt;

&lt;p&gt;Problems so far:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Chat system&lt;/li&gt;
&lt;li&gt;Tiny Url&lt;/li&gt;
&lt;li&gt;Search engine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Give them a shot and send me your diagrams on twitter!&lt;br&gt;
&lt;a href="https://leetdesign.com/"&gt;https://leetdesign.com/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>interview</category>
      <category>career</category>
      <category>systemdesign</category>
      <category>programming</category>
    </item>
    <item>
      <title>Best Engineering Blogs for tech companies</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Thu, 30 Jun 2022 20:32:23 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/best-engineering-blogs-for-tech-companies-4594</link>
      <guid>https://dev.to/dannyhabibs/best-engineering-blogs-for-tech-companies-4594</guid>
      <description>&lt;p&gt;When studying for system design interviews, it is always helpful to understand the companies system and how they work. This means looking into their engineering blog and getting familiar with what they are currently working on.&lt;/p&gt;

&lt;p&gt;Instead of having to search for each companies engineering blog, I put together a resource that not only links each tech companies blog &amp;amp; RSS feed, but rates the quality of the blog. I share 1-5 stars based on the quality of the content, frequency of posting, engineering deep dives, RSS feed, organization, and graphics. &lt;/p&gt;

&lt;p&gt;Check it out here: &lt;a href="https://www.hackpack.io/engineering-blogs"&gt;https://www.hackpack.io/engineering-blogs&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let us know if you have feedback or think we are missing any good ones!&lt;/p&gt;

&lt;h3&gt;
  
  
  Join the community
&lt;/h3&gt;

&lt;p&gt;Looking for a study partner? Hackpack is the most active community of engineers studying for programming interviews. We hold each other accountable, provide support, and fight burnout to study more efficiently and get the job faster.&lt;/p&gt;

&lt;p&gt;Apply &lt;a href="https://www.hackpack.io/"&gt;Here&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://discord.gg/VQkMr234zk?event=970275330294153257"&gt;Events&lt;/a&gt; | &lt;a href="https://www.youtube.com/channel/UCfotE5RL1pfhIZ0fv2kAN9Q"&gt;Youtube&lt;/a&gt; | &lt;a href="https://twitter.com/hackpack_"&gt;Twitter&lt;/a&gt; | &lt;a href="https://www.linkedin.com/company/hackpack-io/?viewAsMember=true"&gt;LinkedIn&lt;/a&gt; | &lt;a href="https://fangprep.substack.com/"&gt;Newsletter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>systems</category>
      <category>webdev</category>
      <category>programming</category>
      <category>discuss</category>
    </item>
    <item>
      <title>VR Mock Coding Interview - Coding Interview - Longest Palindromic Substring</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Wed, 29 Jun 2022 15:59:52 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/vr-mock-coding-interview-coding-interview-longest-palindromic-substring-1h79</link>
      <guid>https://dev.to/dannyhabibs/vr-mock-coding-interview-coding-interview-longest-palindromic-substring-1h79</guid>
      <description>&lt;p&gt;Verdict: &lt;strong&gt;Pass&lt;/strong&gt;&lt;br&gt;
Score: 5/5&lt;/p&gt;

&lt;p&gt;Coding: 5&lt;br&gt;
Communication: 5&lt;br&gt;
Problem Solving: 5&lt;br&gt;
Inspection: 3&lt;br&gt;
Review: 5&lt;/p&gt;

&lt;p&gt;Leetcode #5 - Longest Palindromic Substring (&lt;a href="https://leetcode.com/problems/longest.."&gt;https://leetcode.com/problems/longest..&lt;/a&gt;.)&lt;/p&gt;

&lt;p&gt;The candidate did an excellent job. He had seen the problem during his practice, but was still able to explain the details of an optimal solution and bring the interviewer along for the ride. He coded the solution fluently, and reviewed thoroughly. Excellent work.&lt;/p&gt;

&lt;p&gt;What they did well&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Able to code the optimal solution quickly&lt;/li&gt;
&lt;li&gt;Explained his thinking &lt;/li&gt;
&lt;li&gt;Drew out an example and walked me through it&lt;/li&gt;
&lt;li&gt;Was able to deduce the runtime and space complexity confidently&lt;/li&gt;
&lt;li&gt;Handled questions from the interviewer really well&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What could be better&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Nothing significant that needed to be improved on.&lt;/li&gt;
&lt;li&gt;As an interviewer, I would have loved to see more of the problem solving process involved with coming up with the solution with more questions about the inputs and outputs. But since the candidate was able to so clearly articulate the solution I disregarded this.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Check out the full interview: &lt;a href="https://www.youtube.com/watch?v=Aiw3m8EK0rs&amp;amp;t=179s"&gt;https://www.youtube.com/watch?v=Aiw3m8EK0rs&amp;amp;t=179s&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Join the community
&lt;/h2&gt;

&lt;p&gt;Looking for a study partner? Hackpack is the most active community of engineers studying for programming interviews. We hold each other accountable, provide support, and fight burnout to study more efficiently and get the job faster.&lt;/p&gt;

&lt;p&gt;Apply &lt;a href="https://www.hackpack.io/"&gt;Here&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://discord.gg/VQkMr234zk?event=970275330294153257"&gt;Events&lt;/a&gt; | &lt;a href="https://www.youtube.com/channel/UCfotE5RL1pfhIZ0fv2kAN9Q"&gt;Youtube&lt;/a&gt; | &lt;a href="https://twitter.com/hackpack_"&gt;Twitter&lt;/a&gt; | &lt;a href="https://www.linkedin.com/company/hackpack-io/?viewAsMember=true"&gt;LinkedIn&lt;/a&gt; | &lt;a href="https://fangprep.substack.com/"&gt;Newsletter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>programming</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Are you ready for your FAANG Interview? - Free Quiz</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Tue, 28 Jun 2022 17:18:28 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/are-you-ready-for-your-faang-interview-free-quiz-2d3</link>
      <guid>https://dev.to/dannyhabibs/are-you-ready-for-your-faang-interview-free-quiz-2d3</guid>
      <description>&lt;p&gt;Gauging how prepared someone is for a big tech interview is a tricky thing to do. There are hundreds of questions an interviewer could ask and they have complete control of which one they chose. You could get something random that has never been asked before, which can make preparation seem impossible. &lt;/p&gt;

&lt;p&gt;The good news is that most interviewers behave within a certain bounds. This means you can prepare and have a 90%+ chance of being ready for it. So while nothing is 100%, this quiz includes the same general questions that I ask the &lt;a href="https://www.hackpack.io/"&gt;Hackpack&lt;/a&gt; community to gauge if they are 90%+ ready for their interview. &lt;/p&gt;

&lt;p&gt;After you take the quiz, you will be emailed with a % score on how ready you are for the interview! Enjoy! &lt;/p&gt;

&lt;p&gt;Link to Quiz: &lt;a href="https://www.hackpack.io/ready-faang-interview"&gt;https://www.hackpack.io/ready-faang-interview&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Join the community
&lt;/h3&gt;

&lt;p&gt;Looking for a study partner? Hackpack is the most active community of engineers studying for programming interviews. We hold each other accountable, provide support, and fight burnout to study more efficiently and get the job faster.&lt;/p&gt;

&lt;p&gt;Apply &lt;a href="https://www.hackpack.io/"&gt;Here&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://discord.gg/VQkMr234zk?event=970275330294153257"&gt;Events&lt;/a&gt; | &lt;a href="https://www.youtube.com/channel/UCfotE5RL1pfhIZ0fv2kAN9Q"&gt;Youtube&lt;/a&gt; | &lt;a href="https://twitter.com/hackpack_"&gt;Twitter&lt;/a&gt; | &lt;a href="https://www.linkedin.com/company/hackpack-io/?viewAsMember=true"&gt;LinkedIn&lt;/a&gt; | &lt;a href="https://fangprep.substack.com/"&gt;Newsletter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>career</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>The Big Tech Coding Interview Framework - Pt 4. Review</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Mon, 27 Jun 2022 13:46:20 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/the-big-tech-coding-interview-framework-pt-4-review-28cm</link>
      <guid>https://dev.to/dannyhabibs/the-big-tech-coding-interview-framework-pt-4-review-28cm</guid>
      <description>&lt;p&gt;This is the 4th part of a four-part series. For those who want to jump ahead, here is a link to the &lt;a href="https://docs.google.com/spreadsheets/d/1gy9cmPwNhZvola7kqnfY3DElk7PYrz2ARpaCODTp8Go/edit#gid=0"&gt;entire framework&lt;/a&gt;. In addition, if you want to read the first three parts, they can be found here: &lt;a href="https://fangprep.substack.com/p/the-coding-interview-pt-1-inspect"&gt;first&lt;/a&gt;, &lt;a href="https://fangprep.substack.com/p/the-big-tech-coding-interview-framework"&gt;second&lt;/a&gt;, &amp;amp; &lt;a href="https://fangprep.substack.com/p/the-big-tech-coding-interview-framework-cfb"&gt;third&lt;/a&gt;. &lt;/p&gt;

&lt;h2&gt;
  
  
  Review
&lt;/h2&gt;

&lt;p&gt;Now that you have &lt;a href="https://fangprep.substack.com/p/the-coding-interview-pt-1-inspect"&gt;inspected&lt;/a&gt; the problem, created a &lt;a href="https://fangprep.substack.com/p/the-big-tech-coding-interview-framework"&gt;strategy&lt;/a&gt;, and &lt;a href="https://fangprep.substack.com/p/the-big-tech-coding-interview-framework-cfb"&gt;coded&lt;/a&gt;, all of the hard work is essentially over. The final step is to make sure you review your code. Even if you have only a few minutes at the end of the interview, you want to review your code to make sure you didn’t do anything wrong. It is also better to catch any little mistakes before the interviewer does. In addition to ensuring that the problem you just coded actually works, interviewers want to see that you are someone who checks their code. Working at one of these Big Tech companies means you are sometimes impacting billions of people with your code. Interviewers want to know that you are not someone who ships out bugs.&lt;/p&gt;

&lt;p&gt;In the absolute worse case, If you don’t have any time at the end of your interview, make sure you are at least pretending to try and review what you did before your time is up. This isn’t something you should really bank on doing but if you are down to the wire and still want to make it clear you check over your work, just try to go through the motions. &lt;/p&gt;

&lt;h3&gt;
  
  
  Do not ask “Am I done?”
&lt;/h3&gt;

&lt;p&gt;Do not ask an interviewer “Am I done?”. It shows a lack of confidence in the work that you are doing. Instead, when you think you are finished, immediately start running through one of your input examples. If you followed this framework correctly you should of already explicitly stated what the input and desired output was and drawn up an example (done in step one: &lt;a href="https://fangprep.substack.com/p/the-coding-interview-pt-1-inspect"&gt;inspection&lt;/a&gt;) &lt;/p&gt;

&lt;p&gt;In addition, there are a few things that you can run through to review your code that we will review in this article.  &lt;/p&gt;

&lt;h2&gt;
  
  
  Questions to ask
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Did I prove my runtime complexity?
&lt;/h3&gt;

&lt;p&gt;You should look at the solution you wrote and make sure that it matches the runtime that you stated as you were &lt;a href="https://fangprep.substack.com/p/the-big-tech-coding-interview-framework"&gt;strategizing&lt;/a&gt;. Compare them directly. If you have the time, go through your code and explain the performance of your code in depth. &lt;/p&gt;

&lt;h3&gt;
  
  
  Did I prove my space complexity?
&lt;/h3&gt;

&lt;p&gt;You should do the same here but for space complexity. Look through the solution you wrote and make sure it matches the space that you stated out as you were strategizing. You can also go line by line and show that some lines incur constant space while others are more expensive.&lt;/p&gt;

&lt;h3&gt;
  
  
  Did I write up different test cases and process them?
&lt;/h3&gt;

&lt;p&gt;After you try testing your input example, run through a few additional test cases. Start simple and get more complex. &lt;/p&gt;

&lt;h3&gt;
  
  
  Did I go line by line no matter how trivial?
&lt;/h3&gt;

&lt;p&gt;Did you read through what you actually wrote? Did you read through every line in your function and make sure that it actually does what you think it does? Do you have any ‘off by one errors’? Is your syntax correct? After 30 stressful minutes of inspecting, strategizing and coding under pressure, it can be easy to forget a semicolon. Take it slow if you can and work line by line to make sure nothing is off. You don’t want your interviewer calling out some small error you missed because you were moving too fast. &lt;/p&gt;

&lt;h3&gt;
  
  
  Did I have to make any changes when reviewing my code?
&lt;/h3&gt;

&lt;p&gt;This is more for your own personal reflection. If you are making the same mistakes and changing the same piece of code every time you do a problem, it should be called out and addressed. For example, if you are always having off by one errors when doing binary search, recognize that. Keep yourself honest here. The more you learn from your frequent mistakes the more you will grow. &lt;/p&gt;

&lt;h2&gt;
  
  
  If you have time
&lt;/h2&gt;

&lt;p&gt;In a perfect world, you would have time to run through each of these questions at the end of the interview. You would test your code and ensure it is perfect before you finish. The reality is, sometimes you are running short on time and by the end of the interview you feel like there is no time to review. &lt;/p&gt;

&lt;p&gt;Even if you only have a few minutes, it is super important for the interviewer to see that you are someone who checks your code. For a lot of interviewers this is just a box they need to check for them to know that you aren’t someone that will send bugs to production. &lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;If you have the time, check your code! If you followed the framework correctly, this should be a super simple run through. Feel proud of yourself once you have finished this step! You can now apply a simple framework to attack every programming interview. This should fuel your confidence and allow you to enter your interview knowing you can handle anything that they throw at you. &lt;/p&gt;

&lt;h2&gt;
  
  
  Join the community
&lt;/h2&gt;

&lt;p&gt;Looking for a study partner? Hackpack is the most active community of engineers studying for programming interviews. We hold each other accountable, provide support, and fight burnout to study more efficiently and get the job faster.&lt;/p&gt;

&lt;p&gt;Apply &lt;a href="https://www.hackpack.io/"&gt;Here&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://discord.gg/VQkMr234zk?event=970275330294153257"&gt;Events&lt;/a&gt; | &lt;a href="https://www.youtube.com/channel/UCfotE5RL1pfhIZ0fv2kAN9Q"&gt;Youtube&lt;/a&gt; | &lt;a href="https://twitter.com/hackpack_"&gt;Twitter&lt;/a&gt; | &lt;a href="https://www.linkedin.com/company/hackpack-io/?viewAsMember=true"&gt;LinkedIn&lt;/a&gt; | &lt;a href="https://fangprep.substack.com/"&gt;Newsletter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>career</category>
      <category>programming</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Identify Where you are Uncomfortable and Lean into it</title>
      <dc:creator>Daniel</dc:creator>
      <pubDate>Sat, 25 Jun 2022 13:52:56 +0000</pubDate>
      <link>https://dev.to/dannyhabibs/identify-where-you-are-uncomfortable-and-lean-into-it-3jg4</link>
      <guid>https://dev.to/dannyhabibs/identify-where-you-are-uncomfortable-and-lean-into-it-3jg4</guid>
      <description>&lt;p&gt;It took me two months to open a JSON file. I didn’t know anything about them and every time they came up at work I would avoid being involved in the conversation. I had a mental block that came up every time I heard someone say “check the JSON” file. It wasn’t until I accidentally opened one that I realized how simple they were. I can’t believe it took me that long to even try to learn what they were &lt;em&gt;facepalm&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;The real lesson here is that avoiding a topic because it makes you uncomfortable can hinder your progression. The sooner you lean into what makes you uncomfortable, the faster you will grow as a software engineer. As they say at Replit: “seek pain”.&lt;/p&gt;

&lt;p&gt;Anyone else have a similar experience? &lt;/p&gt;

&lt;h3&gt;
  
  
  Join the community
&lt;/h3&gt;

&lt;p&gt;Looking for a study partner? Hackpack is the most active community of engineers studying for programming interviews. We hold each other accountable, provide support, and fight burnout to study more efficiently and get the job faster.&lt;/p&gt;

&lt;p&gt;Apply &lt;a href="https://www.hackpack.io/"&gt;Here&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="https://discord.gg/VQkMr234zk?event=970275330294153257"&gt;Events&lt;/a&gt; | &lt;a href="https://www.youtube.com/channel/UCfotE5RL1pfhIZ0fv2kAN9Q"&gt;Youtube&lt;/a&gt; | &lt;a href="https://twitter.com/hackpack_"&gt;Twitter&lt;/a&gt; | &lt;a href="https://www.linkedin.com/company/hackpack-io/?viewAsMember=true"&gt;LinkedIn&lt;/a&gt; | &lt;a href="https://fangprep.substack.com/"&gt;Newsletter&lt;/a&gt;&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>beginners</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
