Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Algorithms
WeightedQuickUnionUF
C# Class Algorithms.WeightedQuickUnionUF
Mostrar archivo
Open project: beginor/practice
Public Methods
Method
Description
Connected
(
int
p
,
int
q
) :
bool
Find
(
int
p
) :
int
Union
(
int
p
,
int
q
) :
void
WeightedQuickUnionUF
(
int
n
)
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
Union()
public
method
public
Union
(
int
p
,
int
q
) :
void
p
int
q
int
return
void
WeightedQuickUnionUF()
public
method
public
WeightedQuickUnionUF
(
int
n
)
n
int