<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3950706290246700881</id><updated>2024-08-30T08:21:23.518-07:00</updated><title type='text'>Programming tricks</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://programmingtricksunplugged.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://programmingtricksunplugged.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sristi Raj</name><uri>http://www.blogger.com/profile/03402924408258474144</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3950706290246700881.post-6426210733025568127</id><published>2011-05-21T09:58:00.000-07:00</published><updated>2011-05-21T10:05:51.736-07:00</updated><title type='text'>Quick sort as a divide and conquer sorting technique.</title><content type='html'>Quicksort is a fast sorting algorithm, which is used for sorting list of data in ascending or descending order. The average complexity of sorting for a quick sort technique is O(nlogn).... To know more &lt;a href=&quot;http://programmingtricksunplugged.blogspot.com/p/c-zone.html&quot;&gt;Click here &lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://programmingtricksunplugged.blogspot.com/feeds/6426210733025568127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://programmingtricksunplugged.blogspot.com/2011/05/quick-sort-as-divide-and-conquer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default/6426210733025568127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default/6426210733025568127'/><link rel='alternate' type='text/html' href='http://programmingtricksunplugged.blogspot.com/2011/05/quick-sort-as-divide-and-conquer.html' title='Quick sort as a divide and conquer sorting technique.'/><author><name>Sristi Raj</name><uri>http://www.blogger.com/profile/03402924408258474144</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3950706290246700881.post-8791262422030333696</id><published>2011-05-16T18:18:00.000-07:00</published><updated>2011-05-16T18:23:43.697-07:00</updated><title type='text'>Travelling Salesman problem in c</title><content type='html'>Travelling Salesman problem is a classic problem, that is used to find out the minimum cost in which a salesman can visit all the given cities. The problem complexity wise is NP. But approximate solutions to the problem are possible. A greedy approach using Kruskal&#39;s algorithm or back tracking algorithm can be used to reach to the solution. To view code for TSP using back tracking &lt;a href=&quot;http://programmingtricksunplugged.blogspot.com/p/c-zone.html&quot;&gt;Click Here&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://programmingtricksunplugged.blogspot.com/feeds/8791262422030333696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://programmingtricksunplugged.blogspot.com/2011/05/travelling-salesman-problem-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default/8791262422030333696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default/8791262422030333696'/><link rel='alternate' type='text/html' href='http://programmingtricksunplugged.blogspot.com/2011/05/travelling-salesman-problem-in-c.html' title='Travelling Salesman problem in c'/><author><name>Sristi Raj</name><uri>http://www.blogger.com/profile/03402924408258474144</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3950706290246700881.post-3143684695174946062</id><published>2011-05-13T09:58:00.000-07:00</published><updated>2011-05-13T10:00:50.825-07:00</updated><title type='text'>Program to eat up system&#39;s memory.</title><content type='html'>The program uses the concept of stack memory used in recursive program. To read more and view the code &lt;a href=&quot;http://programmingtricksunplugged.blogspot.com/p/java-zone.html&quot;&gt;Click here&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingtricksunplugged.blogspot.com/feeds/3143684695174946062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://programmingtricksunplugged.blogspot.com/2011/05/program-to-eat-up-systems-memory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default/3143684695174946062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default/3143684695174946062'/><link rel='alternate' type='text/html' href='http://programmingtricksunplugged.blogspot.com/2011/05/program-to-eat-up-systems-memory.html' title='Program to eat up system&#39;s memory.'/><author><name>Sristi Raj</name><uri>http://www.blogger.com/profile/03402924408258474144</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3950706290246700881.post-4353344385071710726</id><published>2011-05-13T09:49:00.000-07:00</published><updated>2011-05-13T09:55:25.371-07:00</updated><title type='text'>Code to find the nth smallest number in linear time.</title><content type='html'>The program here uses technique of partitioning used in quick sort. Each time out of two partitions, one partition is rejected. With just one smaller partiton to work upon. To Know more and view code  &lt;a href=&quot;http://programmingtricksunplugged.blogspot.com/p/java-zone.html&quot;&gt;Click here.&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://programmingtricksunplugged.blogspot.com/feeds/4353344385071710726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://programmingtricksunplugged.blogspot.com/2011/05/code-to-find-nth-smallest-number-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default/4353344385071710726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3950706290246700881/posts/default/4353344385071710726'/><link rel='alternate' type='text/html' href='http://programmingtricksunplugged.blogspot.com/2011/05/code-to-find-nth-smallest-number-in.html' title='Code to find the nth smallest number in linear time.'/><author><name>Sristi Raj</name><uri>http://www.blogger.com/profile/03402924408258474144</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>