Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Algorithms
QuickFindUF
C# Class Algorithms.QuickFindUF
Datei anzeigen
Open project: beginor/practice
Public Methods
Method
Description
Connected
(
int
p
,
int
q
) :
bool
Find
(
int
p
) :
int
QuickFindUF
(
int
n
)
Union
(
int
p
,
int
q
) :
void
Method Details
Connected()
public
method
public
Connected
(
int
p
,
int
q
) :
bool
p
int
q
int
return
bool
Find()
public
method
public
Find
(
int
p
) :
int
p
int
return
int
QuickFindUF()
public
method
public
QuickFindUF
(
int
n
)
n
int
Union()
public
method
public
Union
(
int
p
,
int
q
) :
void
p
int
q
int
return
void