January 21, 2020

Bubble sort is a simple sorting algorithm that repeatedly steps through the list should be sorted, compares each pair of adjacent items and swaps them if they are in the wrong order. The pass through the list is repeated until no swaps are needed, which indicates that the list is sorted. Do you know why its called as Bubble sort because The smaller value bubbles up to the top of the list, while the larger value sinks to the bottom.

January 18, 2020

This script is used to collect files creation and modification date information from your system drive, we can search any date to know the results and all output will be stored in a flat file, so its easier to view the log. Before running this program, please confirm the read/write permission for the output flat file (FileList.txt).

January 15, 2020

A binary search tree is a node-based data structure, the whole idea of a binary search tree is to keep the data in sorted order so we can search the data in a little faster.There are three kinds of nodes are playing key role in this tree (Parent Node,Left Child Node & Right Child Node).The value of the left child node is always lesser than the value of the parent node, the same as the value of the right child node is always greater than the value of the parent node.

January 04, 2020

Breadth first search (BFS) is an algorithm for traversing or searching tree. It starts at the tree root and moves neighbor nodes (child nodes) first, before moving to the next level neighbors (grandchild nodes). Actually, this algorithm using FIFO (FIRST IN FIRST OUT) data structure internally to handling traversal moves.

Power by Blogger