Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Generate temporary variables | |
gen temp_1 = 1 | |
gen temp_2 = 2 | |
gen temp_ 3 = 3 | |
//Initialize global macro | |
global mylist test | |
//Find all vars that start with var_ and append them to the global macro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void preOrder (Node root) | |
{ | |
if(root == null) return; | |
//inOrder(root.getLeft()); | |
System.out.println(root.toString()); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package huffmanTree; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.io.PrintStream; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
import os, re, sys | |
import matplotlib.pyplot as plt | |
#root_dir= "C://Users//Amir//PycharmProjects//untitled" | |
#keyword = "keyword" | |