<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Paras vasoya on Medium]]></title>
        <description><![CDATA[Stories by Paras vasoya on Medium]]></description>
        <link>https://medium.com/@parasvasoya1999?source=rss-5be303d92c42------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xYegJ6E60TKKySPKMwNVTQ.jpeg</url>
            <title>Stories by Paras vasoya on Medium</title>
            <link>https://medium.com/@parasvasoya1999?source=rss-5be303d92c42------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 11:03:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@parasvasoya1999/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Analysis of algorithm]]></title>
            <link>https://medium.com/@parasvasoya1999/analysis-of-algorithm-bef81530f143?source=rss-5be303d92c42------2</link>
            <guid isPermaLink="false">https://medium.com/p/bef81530f143</guid>
            <dc:creator><![CDATA[Paras vasoya]]></dc:creator>
            <pubDate>Sun, 01 Sep 2019 15:20:32 GMT</pubDate>
            <atom:updated>2019-09-01T15:20:32.137Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Some brilliant brains says that “every problem have a solution”. But to find that solution first we need to analyse the problem.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Q0nJ3eSUD_N9kLoZnAiJtg.jpeg" /></figure><p>Above picture is not concern about analysis of algorithm but definitely concern about analysis. as you know that analysis is major and important part of chemical reaction and processes. If you don’t take proper care in that then it can be lead to serious physical or economical damage. Same is applicable for analysis of algorithm, but difference is here loss in form of money and time. So analysis of algorithm is important topic in algorithm subject.</p><p>Related to algorithm subject there are mainly two topics.</p><blockquote>Analysis of algorithm</blockquote><blockquote>Algorithm design techniques</blockquote><p>We do analysis of algorithm to calculate complexity and find efficiency of algorithm.</p><p>For example if we want to compare two different algorithm for same problem that time we analyse the algorithm and choose which ever is best based on complexity and efficiency.</p><p>There are major two ways to do analysis of algorithm.</p><h4>1) Post analysis</h4><p>In this , first we write all algorithm then implement using code and do analysis by entering some valid inputs and consider that input as ideal. Based on calculation time with respect to number of inputs we calculate complexity of algorithm.</p><h4>2) pre analysis</h4><p>In pre analysis, before implement actual algorithm through code ,first we calculate complexity of algorithm by using mathematical tools and logical . To do that there are so many techniques are available. So based on our algorithm type we can apply technique and find complexity of algorithm.</p><p>So from above discussion we can conclude that analysis of algorithm is nothing but find complexity of algorithm to evaluate efficiency of algorithm.</p><p>So in analysis we deal with mainly two type of complexity.</p><ol><li>Time complexity</li><li>Space complexity</li></ol><p>Now a days space complexity is not a much concern of subject because today’s more space(memory chip) available at lower price.</p><p>on other hand time complexity of algorithm become much concern of people because we want to decrease response time of algorithm.</p><p>To do that first of all we need to find out complexity of our current algorithm and make another algorithm which has less complexity that current algorithm for same problem and this whole process analysis of algorithm plays important role.</p><p>So now that should we clear that analysis of algorithm means generally find complexity of algorithm.</p><p>To find complexity of algorithm we divide algorithm in two types.</p><blockquote>Iterative algorithm</blockquote><blockquote>Recursive algorithm</blockquote><p>Based on type of algorithm we choose techniques to analyse the algorithm (means find complexity of algorithm).</p><p>There are so many good books are available in market to learn methods to do analysis of algorithm.</p><blockquote>Thank you for your valuable time…</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bef81530f143" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Glance at a algorithm]]></title>
            <link>https://medium.com/@parasvasoya1999/glance-at-a-algorithm-a954315dad7a?source=rss-5be303d92c42------2</link>
            <guid isPermaLink="false">https://medium.com/p/a954315dad7a</guid>
            <dc:creator><![CDATA[Paras vasoya]]></dc:creator>
            <pubDate>Mon, 19 Aug 2019 15:59:59 GMT</pubDate>
            <atom:updated>2019-08-19T15:59:59.396Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Glance at a algorithm</li></ol><p>If you are person related to computer science field then you definitely come cross word algorithm. Today’s we are going to discuss about algorithm and it’s importance.</p><h4>Definition:-</h4><p>algorithm is a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.</p><p>When we want to solve some problem by code that time first we need to write algorithm for the problem.then according to the algorithm we can easily write a code for problem.</p><h3>Next is how to write algorithm</h3><p>There are basically two way to write algorithm.</p><p>1)by writing pseudo code</p><p>It is similar to our native language. Simple example of pseudo code to find whether given number is prime number or not.</p><p>Step 1: Start</p><p>Step 2: Declare variables n, i, flag</p><p>Step 3: Initialize variables flag=1, i=2</p><p>Step 4: Read n from user</p><p>Step 5: If n&lt;=1 // Any number below 1 is not prime Display &quot;n is not a prime number&quot; Goto step 7</p><p>Step 5: Repeat the steps until i&lt;[(n/2)+1] 5.1 If remainder of n divide i equals to 0, Set flag=0 Goto step 6 5.2 i=i+1</p><p>Step 6: If flag==0, Display &quot;n is not prime number&quot; Else Display &quot;n is prime number&quot;</p><p>Step 7: Stop</p><p>So in pseudo code generally we write steps to slove the problem and compute results.</p><p>2) using flow chart method</p><p>Algorithm for above same problem also can be written in form of flow chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*-dlbLQcJCumaUl5sKLv3AQ.png" /></figure><p>There are so many well established rule to draw flow chart. This method come very handy when we work with lopping problems.</p><h4>Characteristics of algorithm</h4><ol><li>Correctness</li><li>Finiteness</li><li>Definite</li></ol><p>There major two topics in the algorithm subject.</p><ol><li>Analysis of algorithm</li><li>Algorithm design techniques</li></ol><p>For more information about algorithm visit :-</p><p><a href="https://whatis.techtarget.com/">https://whatis.techtarget.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a954315dad7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>