Forums: » Register « |  Free Tools |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |

New Free Tools on Dev Shed!

#1
November 28th, 2012, 01:38 AM
 Claudia_the_gal
Registered User

Join Date: Nov 2012
Posts: 4
Time spent in forums: 59 m 25 sec
Reputation Power: 0
Huffman code

Describe the Huffman codes for the characters c1 , c2 , · · · , cn in a file where
the number of occurrences of character ci is the ith Fibonacci number.

#2
November 28th, 2012, 01:47 AM
 Jacques1
You have been warned

Join Date: Jul 2012
Posts: 3,156
Time spent in forums: 2 Months 3 Weeks 6 Days 13 h 2 m 49 sec
Reputation Power: 1092
Wow, that must be the homework for a whole week.

If you have three tasks and obviously not the slightest idea what to do, have you thought about that you might be in the wrong course?

#3
November 28th, 2012, 01:52 AM
 Claudia_the_gal
Registered User

Join Date: Nov 2012
Posts: 4
Time spent in forums: 59 m 25 sec
Reputation Power: 0
tell if u know

#4
November 28th, 2012, 03:34 AM
 Winters
Super Moderator

Join Date: Jul 2003
Posts: 4,003
Time spent in forums: 1 Month 2 Weeks 4 Days 4 h 29 m 24 sec
Reputation Power: 2726
I would strongly suggest that you open your mathematics and introduction to programming coursework books.

You will need to understand the concepts of Pascal's triangle and the Fibonacci sequence.

Getting a quick answer here is going to save you for a week at most.

Good luck!
__________________
[PHP] | [Perl] | [Python] | [Java] != [JavaScript] | [XML] | [ANSI C] | [C++] | [LUA] | [MySQL] | [FirebirdSQL] | [PostgreSQL] | [HTML] | [XHTML] | [CSS]

W3Fools - A W3Schools Intervention.

#5
November 28th, 2012, 11:32 AM
 b49P23TIvg
Contributing User

Join Date: Aug 2011
Posts: 4,213
Time spent in forums: 1 Month 3 Weeks 2 Days 17 h 59 m 58 sec
Reputation Power: 455
Huffman code assigns the longest bit patterns to the least frequently occurring data patterns. Click here to read an essay on Huffman codes.
__________________
[code]Code tags[/code] are essential for python code!

 Viewing: Dev Shed Forums > Programming Languages > Python Programming > Huffman code