강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

andantej99 のプロフィール画像
andantej99

投稿した質問数

チョン・ヘギョンファンタスティックデータ構造in C

第28講. BST実装 (概念と初期化, add)

bst 강의 중 간단한 질문!

作成

·

203

0

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

else
     parent->right = node;

 

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

c

回答

回答を待っている質問です
最初の回答を残してください!
andantej99 のプロフィール画像
andantej99

投稿した質問数

質問する