12 Nov 2019 - 11:07pm
Why code 3 ?? it is not forming the prefix code. But the only issue i found is it will not be able to decode string like 1111001 as there is no letter for 11 but on the other hand i thought if 11 is not given to any character then there is no way that it can come in any encoding of file please reply @sumitverma.
17 Nov 2018 - 7:45am
How?? there can be maximum n*n vertices are possible and in MST all are to be included..so i think ans should be n*n-1 can u please elaborate how it is n-1??
17 Nov 2018 - 7:36am