About 120,000 results
Open links in new tab
  1. Morse Encoding with Binary Tree in Python - Stack Overflow

    Apr 8, 2022 · I am trying to code a program that encodes/decodes Morse Code using a binary tree. Initially my code worked by taking an input when run and successfully converted it to Morse code. …

  2. java - Morse Code and Binary Tree - Stack Overflow

    Apr 17, 2017 · Morse Code and Binary Tree Asked 8 years, 8 months ago Modified 8 years, 8 months ago Viewed 4k times

  3. java - Morse Code - Binary Tree - Stack Overflow

    Nov 19, 2012 · java binary-tree binary-search-tree morse-code edited Nov 19, 2012 at 0:41 asked Nov 18, 2012 at 23:46 MosesA

  4. How do I insert characters into a binary tree? - Stack Overflow

    Your current code actually uses a lexicographic code on the characters, so you normally obtain a sorted alphabet. If you want to build a binary tree consistant with the morse code of each letter, you must …

  5. c++ - Inserting Morse Code into binary tree - Stack Overflow

    May 6, 2014 · I am trying to insert the Morse Code into a binary tree but my Insert() is acting up. I'm stumped as to why it's failing. Binary tree class: class BST { private: struct Node ...

  6. Python -- Morse Code Translation through a binary tree

    Apr 23, 2013 · I'm writing a program that will create a binary tree of the Morse Code alphabet (as well as a period and an apostrophe), and which will then read a line of Morse Code and translate it into …

  7. encoder - Morse Code Converter in C - Stack Overflow

    Jan 20, 2015 · You'll need to start with the binary tree parsed in preorder, find the index of the letter you want to encode to morse, convert that to binary, ignore the first digit, and then just assign the zeros …

  8. binary tree - Python Morse Code not working for phrases - Stack …

    Aug 22, 2021 · I have this code: class Morse_Code_Bin_Tree (object): """Class that initializes and populates a binary tree for translating morse code strings into letters. """...

  9. Segmentation Fault in Morse Code Binary Search Tree

    Jul 29, 2017 · Essentially in this program a binary search tree is created, full of TREENODE structs consisting of a letter amd 2 TREENODE pointers (left and right) to connect to other nodes and …

  10. java - Recursive Traverse of Binary Tree Not Terminating At Return ...

    I have created a class that populates a binary tree with morse code. Where traversing to the left signifies a DOT and traversing to the right signifies a DASH. Everything was going great until I am