<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Algorithm on Fincz Finance Blog</title>
    <link>/tags/algorithm/</link>
    <description>Recent content in Algorithm on Fincz Finance Blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>Copyright © 2020-2026 Fincz. All Rights Reserved.
</copyright>
    <lastBuildDate>Tue, 17 Mar 2026 08:00:00 +0530</lastBuildDate><atom:link href="/tags/algorithm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Basic Algorithm Interview Questions</title>
      <link>/algorithm-questions-and-answers/</link>
      <pubDate>Tue, 17 Mar 2026 08:00:00 +0530</pubDate>
      <guid>/algorithm-questions-and-answers/</guid>
      <description><![CDATA[<h3 id="basic-algorithm-interview-questions-and-answers" data-numberify>Basic Algorithm Interview Questions and Answers<a class="anchor ms-1" href="#basic-algorithm-interview-questions-and-answers"></a></h3>
<p><strong>1. What is an algorithm?</strong></p>
<p>Simple steps to solve a problem. Think of it like a <strong>recipe</strong> for cooking: step 1, step 2, step 3 to get the result.</p>
<p><strong>2. Explain the difference between linear search and binary search.</strong></p>
<ul>
<li><strong>Linear Search:</strong> Checking items <strong>one by one</strong>, like reading every page of a book to find a word. Works on any list.</li>
<li><strong>Binary Search:</strong> Only works on <strong>sorted</strong> lists. You open the book in the middle; if the word is before, you ignore the second half and repeat. It cuts the search area in half every time.</li>
</ul>
<p><strong>3. What is the time complexity of linear search and binary search?</strong></p>]]></description>
    <enclosure url="/images/2026/03/algorithm-interview.jpg" length="36573" type="image/.jpg" />
    </item>
    
  </channel>
</rss>

