Skip to content
  • Home
  • jQuery
  • PL/SQL
  • Data Structure
  • Terms & Conditions
  • Privacy

Roy Tutorials

Technical…Practical…Theoretical…

  • Home
  • jQuery
  • PL/SQL
  • Data Structure

Category: Data Structure

Array C Data Structure Sort Algorithm 

Quick Sort using C

 May 31, 2018  November 4, 2017 by Soumitra Roy Sarkar

Quick sort or quicksort (sometimes called partition-exchange sort) is an efficient and very fast sorting algorithm for internal sorting, serving as a systematic method for placing the elements of an array in order. When implemented well, it can be about two or…

No comment
Continue Reading
Array C Data Structure Sort Algorithm 

Bubble Sort using C

 March 31, 2018  November 3, 2017 by Soumitra Roy Sarkar

Bubble sort is one of the most popular sorting methods. It can be treated as a selection sort because it is based on successively selecting the smallest element, second smallest element and so on. In order to find the successive smallest elements…

No comment
Continue Reading
Array C Data Structure Sort Algorithm 

Straight Selection Sort using C

 March 31, 2018  November 2, 2017 by Soumitra Roy Sarkar

Selection sorting refers to a class of algorithms for sorting a list of items using comparisons. These algorithms select successively smaller or larger items from the list and add them to the output sequence. This is an improvement of the Simple Selection…

No comment
Continue Reading
Array C Data Structure Sort Algorithm 

Simple Selection Sort using C

 March 31, 2018  November 1, 2017 by Soumitra Roy Sarkar

The simplest possible technique based on the principle of repeated selection makes use of “n” passes over an array elements. In the i-th pass, the i-th smallest element is selected from the given array and it is placed in the i-th position…

No comment
Continue Reading
Array C Data Structure Sort Algorithm 

Shell Sort using C

 March 31, 2018  October 31, 2017 by Soumitra Roy Sarkar

This method makes repeated use of straight insertion or shuttle sort. An array with n elements, in each pass, an increment is chosen. The increment must be less than n and the increment progressively should be smaller and the last increment must…

No comment
Continue Reading
Array C Data Structure Sort Algorithm 

Straight Insertion Sort using C

 March 31, 2018  October 29, 2017 by Soumitra Roy Sarkar

Insertion sort is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. More details can be found here at https://en.wikipedia.org/wiki/Insertion_sort Let’s say we have an array a, so at each i-th pass, a[i] is…

No comment
Continue Reading
Array C Data Structure Sort Algorithm 

Shuttle Sort using C

 March 31, 2018  October 28, 2017 by Soumitra Roy Sarkar

In Shuttle Sort technique for n elements in an array a, it requires n-1 passes. When i-th pass(1<=i<=n) begins, the first i elements, i.e., elements a[0] to a[i-1] have been sorted and these occupy the first i positions of the array. To…

No comment
Continue Reading
C Data Structure 

Binary Tree using pointer in C

 March 6, 2018  October 8, 2017 by Soumitra Roy Sarkar

Binary tree is an important class of tree in data structure. A node in binary tree can have at most two children, which are called sub-trees. Children of a node in binary tree are ordered. One child is called left child and…

No comment
Continue Reading
C Data Structure Structure 

Queue using Linked List in C Program

 March 6, 2018  September 21, 2017 by Soumitra Roy Sarkar

A queue like a stack is another special type of ordered list. In queue insertion operations are permitted at one end of the list and deletion operations are performed at the other end of the list. The end where insertion operations are…

No comment
Continue Reading
C Data Structure Structure 

Stack using Linked List in C Program

 March 8, 2018  September 15, 2017 by Soumitra Roy Sarkar

Stack is a special kind of linear list. Linear list is an ordered collection of a number of items of the same type. Two operations are performed frequently from linear list – insertion and deletion. A stack is a linear list where…

No comment
Continue Reading

Posts navigation

1 2 3 Next

Categories

Recent Posts

Monitor health of a URL using Unix

February 2, 2019
No comment

File Upload Example using Angular

January 22, 2019
No comment

Figure out which cron job chokes up your system in Linux

January 14, 2019
No comment

Read last n lines from file using Python

December 18, 2018
No comment

Fibonacci Series using Python Programming

December 5, 2018
No comment
Facebook Like me on facebook
Twitter Tweet me on twitter
Linkedin Join me on Linkedin
GooglePlus Join me on Google Plus
Reddit Join me on Reddit

About Me

Soumitra Roy Sarkar
I am a professional Web developer, Enterprise Application developer, Software Engineer and Blogger. Connect me on JEE Tutorials | Twitter | Facebook | Google Plus | Linkedin | Reddit

Grid Posts

Monitor health of a URL using Unix

February 2, 2019
No comment

File Upload Example using Angular

January 22, 2019
No comment

Figure out which cron job chokes up your system in Linux

January 14, 2019
No comment

Random Posts

jQuery ajaxComplete

November 4, 2015
No comment

Dynamically generate months in PHP

August 13, 2016
No comment

Detect Operating System using PHP

May 13, 2017
No comment

Useful Links

  • jQuery
  • PL/SQL
  • Privacy
  • Terms & Conditions
Copyright © 2019 Roy Tutorials
Privacy   Terms & Conditions