0 votes 0 votes Algorithms huffman-code greedy-algorithm algorithm-design + – Nisha Bharti asked Nov 26, 2022 Nisha Bharti 581 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Kabir5454 commented Nov 26, 2022 reply Follow Share yes .but depending on the convention you have used . It is implementation dependent . if i implement the code considering i will put left edge as ‘0’ and right edge as ‘1’ then A will get code as “00” . 0 votes 0 votes Chandrabhan Vishwa 1 commented Nov 26, 2022 reply Follow Share if nothing is mention then left side children have zero and right side children have 1 if mention then do with corresponding it . 0 votes 0 votes Kabir5454 commented Nov 26, 2022 reply Follow Share if nothing mention go with the option . 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes This is purely based on implementation and there is no hard and fast rule for that Psy Duck answered Dec 26, 2022 Psy Duck comment Share Follow See all 0 reply Please log in or register to add a comment.