Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged huffman-code
4
votes
1
answer
1
GO Classes Test Series 2024 | Mock GATE | Test 14 | Question: 19
Which of the following frequencies for A,B,C and D can generate the following Huffman tree? (Select all that apply.) $p_A=0.4, p_B=0.3, p_C=0.2, p_D=0.1$ $p_A=0.35, p_B=0.25, p_C=0.2, p_D=0.2$ $p_A=0.25, p_B=0.25, p_C=0.25, p_D=0.25$ $p_A=0.2, p_B=0.35, p_C=0.2, p_D=0.25$
GO Classes
asked
in
Algorithms
Feb 5
by
GO Classes
405
views
goclasses2024-mockgate-14
algorithms
huffman-code
multiple-selects
1-mark
11
votes
1
answer
2
GO Classes Test Series 2024 | Mock GATE | Test 13 | Question: 42
Consider the following statements related to Huffman's algorithm: $\text{S1:}$ If there is exactly one symbol with a frequency of $1 / 3$, and all other symbols have frequencies strictly less than $1 / 3$, then Huffman's algorithm may ... $\mathrm{S} 1$ is false, but $\mathrm{S} 2$ is true. S1 is false, and S2 is false.
GO Classes
asked
in
Algorithms
Jan 28
by
GO Classes
610
views
goclasses2024-mockgate-13
goclasses
algorithms
greedy-algorithm
huffman-code
2-marks
11
votes
1
answer
3
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 1
Consider the two statements regarding the Huffman's algorithm - $\text{S1:}$ The character with the highest probability (all probabilities are unique) is guaranteed to be one of the leaves that is closest to the root (i.e it ... $\mathrm{S} 2$ is correct Both are correct statements Both are incorrect statements
GO Classes
asked
in
Algorithms
Jan 21
by
GO Classes
846
views
goclasses2024-mockgate-12
goclasses
algorithms
greedy-algorithm
huffman-code
1-mark
1
vote
1
answer
4
consider the following message BCCABBDDAECCBBAEDDCC find the no of bits requiered for huffman encoding of above message
amrit22
asked
in
Algorithms
Sep 24, 2023
by
amrit22
615
views
algorithms
greedy-algorithm
huffman-code
3
votes
1
answer
5
Please draw the huffman diagram for the following question
h4kr
asked
in
Algorithms
Jan 10, 2023
by
h4kr
473
views
huffman-code
algorithms
0
votes
1
answer
6
Which one is right ? what will be the right answer assigning 0 to the left edges or right?
Nisha Bharti
asked
in
Algorithms
Nov 26, 2022
by
Nisha Bharti
562
views
huffman-code
greedy-algorithm
algorithm-design
0
votes
1
answer
7
#made easy workbook questions
Q.which of the following data structure cannot be used for efficient implementation of Huffman encoding? a. Binary min heap b. Binary max heap c. AVL tree (height balanced bst)
Shraddha dwevedi
asked
in
Algorithms
Nov 24, 2021
by
Shraddha dwevedi
329
views
made-easy-booklet
data-structures
huffman-code
13
votes
2
answers
8
GATE CSE 2021 Set 2 | Question: 26
Consider the string $\textrm{abbccddeee}$. Each letter in the string must be assigned a binary code satisfying the following properties: For any two letters, the code assigned to one letter must not be a prefix of the code assigned to the other letter. ... which satisfy the above two properties, what is the minimum length of the encoded string? $21$ $23$ $25$ $30$
Arjun
asked
in
Algorithms
Feb 18, 2021
by
Arjun
9.3k
views
gatecse-2021-set2
algorithms
huffman-code
2-marks
5
votes
2
answers
9
ISRO2020-34
Huffman tree is constructed for the following data :$\{A,B,C,D,E\}$ with frequency $\{0.17,0.11,0.24,0.33\ \text{and} \ 0.15 \}$ respectively. $100\ 00\ 01101$ is decoded as $BACE$ $CADE$ $BAD$ $CADD$
Satbir
asked
in
Algorithms
Jan 13, 2020
by
Satbir
4.5k
views
isro-2020
algorithms
huffman-code
normal
0
votes
0
answers
10
virtual gate(huffman coding)
We use Huffman's algorithm to obtain an encoding of alphabet {a, b, c} with frequencies fa, fb, fc. Which of the following codes cannot possibly be obtained (no matter what the frequencies are) Code 1 = {0, 10, 11} Code 2 = {0, 1, 00} Code 3 = {10, 01, ... 2 (B) Only code 2 and code 3 (C) Only code 1 and code 3 (D) None answer given -(B) why code 3 is incorrect??
BASANT KUMAR
asked
in
Algorithms
Dec 2, 2018
by
BASANT KUMAR
449
views
huffman-code
0
votes
0
answers
11
self doubt on HUFFMAN
in Huffman Code, we get extract the minimum at each time, but my minimum is creating duplicate, then which one i choose? i am getting the same avg.no.of bits for every Huffman tree, but the problem is my tree is changing therefore representing the character also changed, if some one asks ... $\frac{12}{30} $
Shaik Masthan
asked
in
Algorithms
Jul 26, 2018
by
Shaik Masthan
1.2k
views
greedy-algorithm
huffman-code
0
votes
1
answer
12
MadeEasy Test Series: Algorithms - Greedy Algorithm
Consider the following message: The number of bits required for huffman encoding of the above message are __________? My Strategy:- But the answer given is 52bits i used standard Algorithem Made Easy Solution :-
Na462
asked
in
Algorithms
Apr 30, 2018
by
Na462
4.4k
views
made-easy-test-series
huffman-code
greedy-algorithm
algorithms
1
vote
2
answers
13
Space complexity of Huffman coding
what is Space complexity of Huffman coding?
Akash Kumar Roy
asked
in
Algorithms
Apr 26, 2018
by
Akash Kumar Roy
3.9k
views
huffman-code
algorithms
space-complexity
1
vote
0
answers
14
Huffman Coding
Which of the following statements is/are correct? P:In Huffman Coding, the item with the second lowest probability is always at the leaf that is furthest from the root Q: In Huffman Coding, the item with the highest probability is always at the leaf that is closest to the ... leaf that is the child of the root Edit :Answer is P and Q R is not always true and always word i missed :(
sunil sarode
asked
in
Algorithms
Jan 27, 2018
by
sunil sarode
1.6k
views
huffman-code
algorithms
1
vote
0
answers
15
Huffman code solution
RavindraBabu Ravula is trying to send a message to Anand. The following message is: GATE2018GAATTTEEEE22000011188 What is the average length of bits required for encoding each letter using Huffman coding___? given solution : My solution using min heap ? I am also ... ,does we get more than one tree and hence more than one solution? sorry if it is naive and already discussed
sunil sarode
asked
in
Algorithms
Dec 28, 2017
by
sunil sarode
1.4k
views
huffman-code
algorithms
data-structures
0
votes
1
answer
16
huffman code
question based on huffman coding for symbol A with probability 0.3 , B with 0.15 ,c with 0.1 ,D with 0.25 ,E with 0.2 (with the convention 0 labeled for left branch and 1 for right) the minimum no of bits required to represent all the symbols together is?? a)1 b)2 c)3 d)4 which bit this question asking??
aaru14
asked
in
Algorithms
Dec 2, 2017
by
aaru14
6.4k
views
huffman-code
1
vote
3
answers
17
Huffman coding
The following message is: GATE2018GAATTTEEEE22000011188 What is the average length of bits required for encoding each letter using Huffman coding___?
Parshu gate
asked
in
Algorithms
Nov 16, 2017
by
Parshu gate
2.6k
views
huffman-code
algorithms
2
votes
1
answer
18
Huffman coding
atul_21
asked
in
Algorithms
Nov 13, 2017
by
atul_21
674
views
algorithms
huffman-code
3
votes
2
answers
19
Optimal merge pattern
Is there any difference in between draw tree for huffman coding and optimal merge pattern if yes please give detailed explanation.
learner_geek
asked
in
Algorithms
Jul 23, 2017
by
learner_geek
3.5k
views
huffman-code
descriptive
1
vote
2
answers
20
huffman coding
how to find the comparision complexities in huffman coding algorithm?
akankshadewangan24
asked
in
Algorithms
Jul 2, 2017
by
akankshadewangan24
1.1k
views
huffman-code
1
vote
1
answer
21
What would be Huffman coding for :
What would be huffman coding for following : Character Frequency a 10 l 15 i 12 o 3 u 4 s 13 t 1 Explain this with suitable diagram..
Anup patel
asked
in
Algorithms
May 21, 2017
by
Anup patel
801
views
huffman-code
algorithms
0
votes
1
answer
22
Huffman coding question
Question:What is the time complexity of Huffman algorithms when the input is already sorted
Rackson
asked
in
Algorithms
Apr 19, 2017
by
Rackson
700
views
algorithms
huffman-code
time-complexity
descriptive
0
votes
2
answers
23
gready
A file contain charecters a,e,i,o,u,s,t with frequencies 10,15,12,3,4,13,&1 respectively , if we use huffman codeing for data compression then avg code length will be .
air1ankit
asked
in
Algorithms
Mar 22, 2017
by
air1ankit
398
views
huffman-code
numerical-answers
algorithms
Page:
1
2
3
next »
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged huffman-code
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...