<?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: vishwasenthil76</title>
    <description>The latest articles on DEV Community by vishwasenthil76 (@vishwasenthil76).</description>
    <link>https://dev.to/vishwasenthil76</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%2F3946065%2F8036acd9-1d02-4705-a08e-a9ee189f65a0.png</url>
      <title>DEV Community: vishwasenthil76</title>
      <link>https://dev.to/vishwasenthil76</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vishwasenthil76"/>
    <language>en</language>
    <item>
      <title>CRACKING CODING INTERVIEW</title>
      <dc:creator>vishwasenthil76</dc:creator>
      <pubDate>Sun, 24 May 2026 06:25:56 +0000</pubDate>
      <link>https://dev.to/vishwasenthil76/cracking-coding-interview-5dg</link>
      <guid>https://dev.to/vishwasenthil76/cracking-coding-interview-5dg</guid>
      <description>&lt;p&gt;&lt;strong&gt;Technical Interview&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Technical interviews are an important part of the hiring process in many technology companies. These interviews are designed not only to test coding ability but also to evaluate problem-solving skills, communication, and technical knowledge. Understanding how interviewers assess candidates helps students prepare effectively.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A) Role of Algorithm &amp;amp; Coding Questions&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Algorithms form major part of interviews&lt;/li&gt;
&lt;li&gt;Interview focuses on problem solving&lt;/li&gt;
&lt;li&gt;Sometimes only one problem is discussed in an interview because time is 
limited (around 45 minutes)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;B) Skills Evaluated by Interviewers&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Analytical Skills&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Problem solving ability&lt;/li&gt;
&lt;li&gt;Solution optimization&lt;/li&gt;
&lt;li&gt;Decision making&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Coding Skills&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Writing clean code&lt;/li&gt;
&lt;li&gt;Error handling&lt;/li&gt;
&lt;li&gt;Code organization&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Technical Knowledge&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data structures&lt;/li&gt;
&lt;li&gt;Algorithms&lt;/li&gt;
&lt;li&gt;CS fundamentals&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Experience&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Projects&lt;/li&gt;
&lt;li&gt;Technical decisions&lt;/li&gt;
&lt;li&gt;Initiative&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Communication &amp;amp; Culture Fit&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Communication is important because employees work in teams.&lt;br&gt;
Interviewers observe:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Confidence&lt;/li&gt;
&lt;li&gt;Communication style&lt;/li&gt;
&lt;li&gt;Teamwork&lt;/li&gt;
&lt;li&gt;Personality fit with company culture&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Evaluation is based on Ability to convert logic into code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interviewers observe:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clean code writing&lt;/li&gt;
&lt;li&gt;Proper formatting&lt;/li&gt;
&lt;li&gt;Error handling&lt;/li&gt;
&lt;li&gt;Readability&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;for Example:&lt;/p&gt;

&lt;p&gt;Bad code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Good code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;numbers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;

&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;num&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;numbers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;num&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;C) Why Companies Use This Process?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Problem-solving skills are valuable&lt;/p&gt;

&lt;p&gt;Companies believe candidates who solve difficult problems can contribute effectively.&lt;/p&gt;

&lt;p&gt;Data structures &amp;amp; algorithms knowledge&lt;/p&gt;

&lt;p&gt;Topics like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Trees&lt;/li&gt;
&lt;li&gt;Graphs&lt;/li&gt;
&lt;li&gt;Lists&lt;/li&gt;
&lt;li&gt;Sorting&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;are considered important foundations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Whiteboard Interviews&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Focus on logic instead of syntax&lt;/li&gt;
&lt;li&gt;Encourages communication&lt;/li&gt;
&lt;li&gt;Tests thinking process&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Interviewers do not expect perfect syntax. They observe how candidates approach solutions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;D) Interview Question Selection&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No fixed question list in most companies&lt;/li&gt;
&lt;li&gt;Interviewers choose questions individually&lt;/li&gt;
&lt;li&gt;Questions are often similar across companies like Google, Amazon, and Meta&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;E) Candidate Evaluation System&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Candidates are assessed by comparing performance with previous candidates who solved the same question rather than using fixed marks. Hard questions are difficult for everyone, so receiving a difficult problem does not necessarily reduce chances of success.&lt;br&gt;
Candidate Evaluation Process&lt;/p&gt;

&lt;p&gt;There is usually no strict marking scheme.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interviewers compare candidates based on:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Speed&lt;/li&gt;
&lt;li&gt;Solution quality&lt;/li&gt;
&lt;li&gt;Hints required&lt;/li&gt;
&lt;li&gt;Alternative approaches&lt;/li&gt;
&lt;li&gt;Communication&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;Candidate A → solved in 10 mins independently&lt;br&gt;
Candidate B → solved in 20 mins with hints&lt;/p&gt;

</description>
      <category>books</category>
      <category>crackinginterview</category>
      <category>coding</category>
      <category>interview</category>
    </item>
    <item>
      <title>Looping Concept</title>
      <dc:creator>vishwasenthil76</dc:creator>
      <pubDate>Fri, 22 May 2026 12:50:17 +0000</pubDate>
      <link>https://dev.to/vishwasenthil76/looping-concept-4kkh</link>
      <guid>https://dev.to/vishwasenthil76/looping-concept-4kkh</guid>
      <description>&lt;p&gt;In python, loops are mainly used to execute a block of code repeatedly.&lt;br&gt;
There are two main types of loop:&lt;br&gt;
                      1.While loop&lt;br&gt;
                      2.For loop&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. While Loop&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A while loop runs as long as the condition is true.&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;i = 1

while i &amp;lt;= 5:
    print(i)
    i += 1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;1&lt;br&gt;
2&lt;br&gt;
3&lt;br&gt;
4&lt;br&gt;
5&lt;/p&gt;

&lt;p&gt;flowchart of While loop:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdkp4eiht8xrgxcua14vw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdkp4eiht8xrgxcua14vw.png" alt=" " width="640" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. For Loop&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A for loop is used to repeat a block of code for every item in a sequence such as a string, list, or range.&lt;/p&gt;

&lt;p&gt;Using For Loop with String&lt;/p&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;name = "Python"

for ch in name:
    print(ch)

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

&lt;/div&gt;



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

&lt;p&gt;P&lt;br&gt;
y&lt;br&gt;
t&lt;br&gt;
h&lt;br&gt;
o&lt;br&gt;
n&lt;/p&gt;

&lt;p&gt;flowchart of For loop:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3hjdt95ofbh87a741hm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fq3hjdt95ofbh87a741hm.png" alt=" " width="635" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Linear Search&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;In Linear Search, we iterate over all the elements of the array and check if it the current element is equal to the target element. If we find any element to be equal to the target element, then return the index of the current element. Otherwise, if no element is equal to the target element, then return -1 as the element is not found. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Linear search is also known as sequential search.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Time Complexity of Linear search:&lt;br&gt;
-&amp;gt;Best case: O(1)&lt;br&gt;
-&amp;gt;Average case: O(N)&lt;br&gt;
-&amp;gt;Worst case: O(N)&lt;/p&gt;

&lt;p&gt;Flowchart of Linear search:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhu3d6phitzfkdn0tx17j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhu3d6phitzfkdn0tx17j.png" alt=" " width="503" height="764"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Binary search&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Binary search works only on sorted data. Instead of checking every element one by one, it checks the middle element and decides whether to search on the left side or right side.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This method reduces the number of comparisons and makes searching faster.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Time Complexity of Binary search: &lt;br&gt;
-&amp;gt; Best Case: O(1)&lt;br&gt;
-&amp;gt; Average Case: O(log N)&lt;br&gt;
-&amp;gt; Worst Case: O(log N)&lt;/p&gt;

&lt;p&gt;Flowchart of Binary search:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsqd3wshoidmyeerqmwik.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsqd3wshoidmyeerqmwik.png" alt=" " width="483" height="273"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;references:&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/python/loops-in-python/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/python/loops-in-python/&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.geeksforgeeks.org/dsa/linear-search/" rel="noopener noreferrer"&gt;https://www.geeksforgeeks.org/dsa/linear-search/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>forloop</category>
      <category>whileloop</category>
      <category>binarysearch</category>
      <category>linearsearch</category>
    </item>
  </channel>
</rss>
