Skip to content

DSA

  • Algorithms
  • DSA
  • Array
  • Stack
  • Queue
  • Matrix
  • Programs

DSA

  • Algorithms
  • DSA
  • Array
  • Stack
  • Queue
  • Matrix
  • Programs

Author: YASH PAL

  1. Home
  2. Articles posted by : YASH PAL
  3. Page 3
Shell Sorting in C Programming
October 7, 2022

Shell Sorting in C Programming

  • shell sorting
  • Sorting techniques
  • YASH PAL

SHELL SORTING: It is also called diminishing increment sort, named after its discoverer. Shell sort algorithm provides mofo significant improvement on simple insertion sort. This method sorts separate sub-files of the original file. These subfiles contain every k elements of the original file. The value of k is called an increment or a gap. The […]

  • Tags:
  • DSA
  • shell sorting
  • sorting techniques
Read More
Insertion Sorting in C Programming
October 7, 2022

Insertion Sorting in C Programming

  • insertion sorting
  • Sorting techniques
  • YASH PAL

INSERTION SORTING: – An insertion sort is one that sorts a set of records by inserting records into an existing sorted file. If the initial file is sorted only one comparison is made on each pass so that the sort is O (N). If the file is initially sorted in reverse order, the sort is […]

  • Tags:
  • DSA
  • insertion sorting
  • sorting techniques
Read More
Bubble Sorting in C Programming
October 7, 2022

Bubble Sorting in C Programming

  • bubble sorting
  • Sorting techniques
  • YASH PAL

BUBBLE SORTING: One of the characteristics of this sort is that it is easy to understand and program it is probably the least efficient. The basic idea underlying the bubble sort is to pass through the file sequentially several times. Each pass consists of comparing each element in the file with its successor and interchanging […]

  • Tags:
  • bubble sorting
  • DSA
  • sorting techniques
Read More
Selection Sorting in C Programming
October 5, 2022

Selection Sorting in C Programming

  • selection sorting
  • Sorting techniques
  • YASH PAL

SELECTION SORTING: The selection sort starts from the first element and searches the entire list until it finds the minimum value. The sort places the minimum value i the first place, select the second element, and searches for the second smallest element. The process continues until the complete list is sorted. A selection sort is […]

  • Tags:
  • DSA
  • selection sorting
  • sorting techniques
Read More
Arrays in Data Structure
October 4, 2022

Arrays in Data Structure

  • algorithms
  • array
  • data structures
  • YASH PAL

An array is a list of a finite number of homogenous data elements (i.e. data elements of the same type) Arrays can be classified as One – dimensional array or linear array that requires only one index to access an individual element of the array. Two – dimensional arrays require two indices to access an individual […]

  • Tags:
  • arrays
  • DSA
Read More
Algorithm to Calculate factorial using function
September 27, 2022

Algorithm to Calculate factorial using function

  • algorithms
  • YASH PAL

In this tutorial, we will write an algorithm to calculate factorials using the function. using this algorithm we can make a program to calculate factorial using functions in most programming languages like java python c++ and c programming. Algorithm to Calculate factorial using function. 1. Read N. 2. ANS=FACT(N). 3. Write ANS. 4. Exit [This […]

  • Tag:
  • algorithm
Read More
Algorithm for Linear Search in Array
September 26, 2022

Algorithm for Linear Search in Array

  • algorithms
  • YASH PAL

In this tutorial, we are going to write a Linear search algorithm in Array. using this algorithm we can write a program to linear search in the array for an element in almost every programming language like java, python, c++, and c programming. Algorithm for Linear Search in Array. 1. Read N 2. Repeat step3 […]

  • Tag:
  • algorithm
Read More
Algorithm to find whether a number is prime or not
September 26, 2022

Algorithm to find whether a number is prime or not

  • algorithms
  • YASH PAL

In this tutorial, we are going to write an algorithm to verify whether a number is prime or not. using this algorithm we can write a program to verify whether a number is prime or not or find whether a number is prime or not in most programming languages like java, python, c++, and c. […]

  • Tag:
  • algorithm
Read More
Algorithm to reverse a given number
September 25, 2022

Algorithm to reverse a given number

  • algorithms
  • YASH PAL

In this tutorial, we are going to write an Algorithm to reverse the digits of given n-digit numbers. using this algorithm we can write a program to reverse the digits of given n-digit numbers or a number in almost most programming languages like java python c++ and c programming. Algorithm to reverse a given number. […]

  • Tag:
  • algorithm
Read More
Algorithm to print series 1 to N using do while loop
September 24, 2022

Algorithm to print series 1 to N using do while loop

  • algorithms
  • YASH PAL

In this tutorial, we are going to write an algorithm to print the series 1 to N using the do-while loop. using this algorithm we can write a program to print the series 1 to N using the do-while loop in most programming languages like java, python, c++, and c programming. Algorithm to print the […]

  • Tag:
  • algorithm
Read More
  • 1
  • 2
  • 3
  • 4
  • 5

Asides

  • Parenthesis Matching program in C programming
  • Tower of Hanoi Non-Recursive Using Stack program in C programming
  • Tower of Hanoi Recursive program in C Programming
  • Check the Palindrome number program in c programming
  • Print the reverse of a string using Stack program in c
  • Evaluate a Postfix and Prefix equation program in c
  • Infix to Postfix and Prefix Equation program in c
  • Stack Operations program in c Programming
  • Quick Sorting (Recursive and Non Recursive)
  • Tower of Hanoi (Recursive & Non-recursive)
Home About Contact Privacy DMCA
Copyright © datastructuresandalgorithms.com 2022