## BFSS or Brute force string Search | C Programming | DSA |

Write a Modular C Programming code to implement BFSS or Brute force string Search DSA Input − The text and the pattern Output − locations, where the pattern is present in the …

## Breadth First Search or BFS | C Programming | DSA | Factsprime

Write a Modular C Programming code to implement Breadth First Search or BFS traversal using Matrix in a given Graph DSA Example:  In the following graph, we start traversal from …

## DFS Adjacency Matrix | C Programming | DSA | Factsprime

Write a Modular C Programming code to implement DFS traversal using Adjacency Matrix in a given Graph DSA Example: Input: V = 7, E = 7 Connections: 0-1, 0-2, 1-3, 1-4, 1-5, …

## Bellman–Ford Algorithm | C Programming | DSA | Factsprime

Write a Modular C Programming code for Bellman–Ford Algorithm DSA 4 iterations, with (a) is the original graph. (b), (c), (d), (e) correspond to result after each iteration. Step 1: …

## Floyd Warshall Algorithm | C Programming | Factsprime

Write a Modular C Programming code for ‎Floyd Warshall Algorithm DSA How Floyd-Warshall Algorithm Works? Let the given graph be:     Refer : C Programming HackerRank all solutions for …

## Kruskal’s Minimum Spanning Tree Algorithm | Factsprime

Write a Modular C Programming code for ‎Kruskal’s Minimum Spanning Tree Algorithm DSA Input Graph: The graph contains 9 vertices and 14 edges. So, the minimum spanning tree formed will …

## Prim’s Minimum Spanning Tree (MST) | Greedy Algo | Factsprime

Write a Modular C Programming code for ‎Prim’s Minimum Spanning Tree (MST) | Greedy Algo DSA   Prim’s algorithm always starts with a single node and it moves through several …

## Dijkstra’s Shortest Path Algorithm | Greedy Algo | Factsprime

Write a Modular C Programming code for ‎Dijkstra’s Shortest Path Algorithm DSA Examples: Input: src = 0, the graph is shown below. Output: 0 4 12 19 21 11 9 8 14 …

## Quick Sort Algorithm | C Programming | Factsprime – DSA

Write a Modular C Programming code for ‎Quick Sort Algorithm DSA QuickSort is a Divide and Conquer algorithm. It picks an element as a pivot and partitions the given array …

## C Programming – HackerRank Solution | Sam Height insert sorting |

(HackerRank) Write a Modular C Programming code to solve Sam Height insert sorting Sam among his friends wants to go to watch a movie in Armstord Cinema. There is something …

## C Programming – HackerRank Solution | N-M Elements sorting |

(HackerRank) Write a Modular C Programming code to solve N-M Elements sorting, Your task is to calculate the difference between the maximum sum and minimum sum of N-M elements Coders …

## CP Sorting Algorithm | C Programming | Factsprime – DSA

Write a Modular C Programming code for ‎CP Sorting Algorithm DSA   This a special type of sorting which deals with dividing according to need and merging it !!!  By …

## Merge Sort Algorithm | C Programming | Factsprime – DSA

Write a Modular C Programming code for ‎Merge Sort Algorithm DSA Merge sort is a sorting algorithm that works by dividing an array into smaller subarrays, sorting each subarray, and then …

## C Programming – HackerRank Solution | Save India from Aliens |

(HackerRank) Write a Modular C Programming code to solve QUEUES – Save India from Aliens, Name of the Superhero who leads the team. During the attack of Aliens on Earth …

## C Programming – HackerRank Solution | Traffic Signals |

(HackerRank) Write a Modular C Programming code to solve QUEUES – Traffic Signals, The experiment ends when either Ptolem or Neil or both stacks are empty. Trump has been stuck …