Skip to content

A bundle of algorithms and data structures. Created using the TDD approach

Notifications You must be signed in to change notification settings

Joanna-Szczesna/Algorithms_and_Data_Structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Algorithms

Binary Search

  • loop
  • recursive

Insertion Sort

Bubble Sort

Factorial

  • Long
  • BigInteger

Euclidean Algorithm

BFS - Graph Breadth First Search

For provided graph find shortest way between start root and choosen vertex

DFS - Graph Depth First Search

The first line of input contains a positive number n, next n lines contains pairs of positive integers, where each pair identifies a connection between two vertices in a graph. Please provide a working code that will give us the answer for the following questions: how many separated graphs are in the input.

Sample:

For the input:

3
4 3
1 4
5 6

expected output is:

2


BFS - Breadth Firt Search

Return shortest way between two nodes


Dijkstra - Graph

[EN] In a weighted connected graph, find the shortest paths from the selected starting vertex to all other vertices.

[PL] W spójnym grafie ważonym znaleźć najkrótsze ścieżki od wybranego wierzchołka startowego do wszystkich pozostałych wierzchołków.

Data Structures

Linked List

About

A bundle of algorithms and data structures. Created using the TDD approach

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages