강의

멘토링

커뮤니티

Inflearn Community Q&A

andantej99's profile image
andantej99

asked

Jeong Hye-kyung Fantastic Data Structure in C

28. BST Implementation (Concept and Initialization, add)

bst 강의 중 간단한 질문!

Written on

·

203

0

if (data < parent->data)
     parent->left = node

else
     parent->right = node;

 

여기서 값을 대소비교할 때 node->data 말고 그냥 함수로 받은 data로 사용해도 되나요?

c

Answer

This question is waiting for answers
Be the first to answer!
andantej99's profile image
andantej99

asked

Ask a question