Skip to content

Learn & Lead

Man is still the most extraordinary computer of all

Menu
  • Home
  • Algorithms
    • Sorting Algorithms
    • String Algorithms
    • Kadane’s Algorithm
  • Computer Graphics
    • Lab 1 – Print Green Window
    • Lab 2 – Sierpinski Triangle
    • Lab 3 – Two Dots
    • Lab 4 – Square in Square
    • Lab 5 – Qaudrilateral
    • LAB 6- e^(-x)*cos(2*x*π ) Graph
    • Lab 7 – sin(x)/x Graph
    • Lab 8 – Dot on Click
    • Lab 9 – (i) Chess Board
    • Lab 9 – (ii) Colored Chess Board
    • Lab 10 – Freehand Drawing
    • Lab 11 – Mouse Click Polyline
    • Lab – 12. Color Freehand Drawing
  • Data Structures
    • Linked List
    • Queues
    • Stacks
    • Trees
  • Networking
    • Linux Assembly Language Premier
      • Part – 1 System Organization
      • Part – 2 Virtual Memory Organization
    • Socket Programming
      • Socket Programming – Part 1
      • Socket Programming – Part 2
    • TCP Client program in C language
    • TCP Server program in C language
    • UDP Client program in C language
    • UDP Server program in C language
  • About Me

Category: Algorithms

Posted onMay 1, 2019May 6, 2019Algorithms

GDB useful commands for C-program debugging

by RobinLeave a comment on GDB useful commands for C-program debugging

To debug a C-program in gdb, compile the program and use the following command to enter into gdb mode in linux terminal – gdb ./your_program…

Read More
Posted onApril 10, 2015September 23, 2015Algorithms

Matrix Multiplication

by RobinLeave a comment on Matrix Multiplication

[wpdm_package id=’1153′]  

Read More
Posted onSeptember 29, 2014April 10, 2015Algorithms

Bubble Sort on Linked List

by RobinLeave a comment on Bubble Sort on Linked List

[wpdm_package id=’1161′] We have seen sorting on numbers in arrays. Now what about sorting a linked list using bubble sort? Before we continue, we must…

Read More
Posted onSeptember 19, 2014September 23, 2015Algorithms

Appending a Linked List to Another

by RobinLeave a comment on Appending a Linked List to Another

[wpdm_package id=’1177′] Appending a linked list onto another is pretty easy. All you have to do is, make the last node’s next pointer of the…

Read More
Posted onSeptember 15, 2014September 23, 2015Algorithms

Removing Duplicates from a Sorted Linked List

by RobinLeave a comment on Removing Duplicates from a Sorted Linked List

[wpdm_package id=’1405′] Algorithm: [sourcecode lang=”cpp”] void RemoveDuplicates(intnode* head) { intnode* current = head; if (current == NULL) return; // do nothing if the list is…

Read More
Posted onSeptember 14, 2014September 23, 2015Algorithms

Decimal to Binary Conversion using Stack

by RobinLeave a comment on Decimal to Binary Conversion using Stack

[wpdm_package id=’1413′] We had discussed here a few applications of stack. And here is another one. Converting positive decimals to binary using a stack. You…

Read More
Posted onSeptember 13, 2014April 10, 2015Algorithms

Radix Sort

by RobinLeave a comment on Radix Sort

[wpdm_package id=’1164′] Radix sort by sorting the input numbers on each digit, for each of the digits in the numbers. There are 2 types of…

Read More
Posted onAugust 26, 2014September 23, 2015Algorithms

Merge Sort

by RobinLeave a comment on Merge Sort

[wpdm_package id=’1181′] A merge sort is based on the classic divide and conquer paradigm. Steps: 1. Divide: Partition the n-element sequence to be sorted into two…

Read More
Posted onAugust 25, 2014September 23, 2015Algorithms

Quick Sort

by RobinLeave a comment on Quick Sort

[wpdm_package id=’1367′] Quick Sort is one of the fastest sorting algorithms used. Steps: 1. Choose a pivot element. Here, we are choosing the middle element.…

Read More
Posted onOctober 20, 2013September 23, 2015Algorithms

Check if two Trees are Structurally Similar

by RobinLeave a comment on Check if two Trees are Structurally Similar

[wpdm_package id=’1352′] Algorithm: Use Recursion. If both the trees are NULL, return true. If only one of the trees is NULL return false. Recursively find…

Read More

Posts navigation

Page 1 Page 2 … Page 5 Next Page

Categories

  • Abroad Studies
  • Algorithms
  • Android
  • Bitwise Programming
  • Computer Graphics
  • Conference Paper
  • Data Structures
  • How to do?
  • Interview
  • Linux
  • Netcentric Programming
  • Networking
  • Open Source
  • Operating Systems
  • Parallel system Architecture
  • Technology
  • Uncategorized
  • Web Development

Archives

  • April 2020
  • May 2019
  • December 2016
  • November 2016
  • September 2016
  • August 2016
  • April 2015
  • September 2014
  • August 2014
  • April 2014
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013

Recent Comments

  • priya on SAP Labs India hires me!!
  • robin on SAP Labs India hires me!!
  • robin on Simple Login Authentication Application with Session using JSP / JSTL
  • robin on SAP Labs India hires me!!
  • robin on SAP Labs Coding Interview Question 1
Amphibious Theme by TemplatePocket ⋅ Powered by WordPress