diff --git a/README.md b/README.md index 5632563e2..8bae7946d 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,4 @@ - [Lectures](https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ) - [Course website](https://www.techwithkunal.com/courses/dsa) - [Assignments](https://github.com/kunal-kushwaha/DSA-Bootcamp-Java/tree/main/assignments) (solutions can be found on LeetCode) +-This course is helping me grow! diff --git a/hello b/hello new file mode 100644 index 000000000..b34074733 --- /dev/null +++ b/hello @@ -0,0 +1 @@ +hello there, have a nice day! diff --git a/lectures/27-huffman-coding/code/HuffmanCoder.java b/lectures/27-huffman-coding/code/HuffmanCoder.java index d62d6e02f..ee803534c 100644 --- a/lectures/27-huffman-coding/code/HuffmanCoder.java +++ b/lectures/27-huffman-coding/code/HuffmanCoder.java @@ -88,11 +88,11 @@ public String encode(String source) { return ans; } - public String decode(String codedString) { + public String decode(String encodedString) { String key = ""; String ans = ""; - for(int i=0; i