Pushing into the min heap

what is this concept of pushing into the queue using { } inside the pq.push( ) method ?

hello @sonalbera
push is always required to put a new element inside heap.

if the element that we are inserting is pair or vector then we use {} breaces.

for example->
pq.push ( { a, b} ) ;

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.