PL - algorytm find & union pozwala nam na szybkie sprawdzenie czy 2 punkty są połączone. pierwsze co musisz wpisać jest ilość tych połączeń, a potem po kolei które punkty są połączone. Następnie scratch cat zapyta się o ilość zapytań, gdzie będziesz wpisywał dwa punkty które chcesz sprawdzić czy są połączone. Po każdym pytaniu scratch cat odpowie albo TRUE (znaczy, że punkty są połączone), albo FALSE (znaczy, że punkty nie są połączone) ENG - The find & union algorithm allows us to quickly check if 2 points are connected. the first thing you have to enter is the number of these connections, and then one by one which points are connected. Then scratch cat will ask you the number of queries, where you will type in the two points you want to check if they are connected. After each query scratch cat will respond with either TRUE (meaning the points are connected) or FALSE (meaning the points are not connected).