Union-Find (Disjoint Set)

Main idea Imagine you're invited to a party, and as soon as you arrive, the person who invited you introduces you to someone else at the event. You both shake hands and form a connection, sta...
0 Read More

Bubble Sort Got Bible

list = [3,1,2,4,2]easiest sort algorithm ever seen ⛶for i loop list { for j loop list - i { // i = 0 // j = 0,1,2,3,4 // this calculate the max value and push to last ...
0 Read More

3169. Count Days Without Meetings

3169. Count Days Without MeetingsDifficulty: MediumTopics: Array, SortingYou are given a positive integer days representing the total number of days an employee is available for work (starting from da...
0 Read More