Graph for Sorting Plotted using R

The following graph shows the time details to execute a sorting algorithm written in python.Array size for sort is 200. The values for plotting the above graph is taken from the following readings. Sat May 24 18:48:25 IST 2014 real 0m0.032s user 0m0.028s sys 0m0.000s real 0m0.027s user 0m0.020s sys 0m0.004s real 0m0.029s user 0m0.024s …

R shell session to plot a Graph

The following is a R shell session to plot a graph. $R R version 3.0.3 (2014-03-06) — “Warm Puppy” Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type ‘license()’ or ‘licence()’ for …

bubble(think so) sort in python programming language

# bubblesort attempted to be ported to python by # Jeffrin Jose T <ahiliation@yahoo.co.in> # from bubble.php by # detour@metalshell.com # License : GPL.   array_size = 20; import random result = [] # hash values of numbers between -5 to 256 are the same as the # numbers themselves. So, whatever may be the …

How to write a shell script to find the greatest among three numbers ?

#!/bin/bash # # Linux Shell Scripting Tutorial 1.05r3, Summer-2002 # # Written by Vivek G. Gite <vivek@nixcraft.com> # modified by Jeffrin Jose T. <ahiliation@yahoo.co.in> # Latest version can be found at http://www.nixcraft.com/ # # Q2. Script to find out biggest number # # Algo: # 1) START: Take three nos as n1,n2,n3. # 2) Is …