=
in attributes.{{
and }}
is not special syntax: it's a JavaScript object tucked inside JSX curly braces.? :
)&&
)if
statement.{cond ? <A /> : <B />}
means "if cond
, render <A />
, otherwise <B />
".{cond && <A />}
means "if cond
, render <A/>
, otherwise nothing".if
.heap_sort
)make_heap
의 수행시간은?heap_sort
의 수행시간 = O(nlogn)insert
) 연산delete_max
) 연산insert
와 delete_max
의 수행시간