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
class Node | |
attr_accessor :data, :left, :right | |
def initialize(data = nil) | |
@data = data | |
@left = nil | |
@right = nil | |
end | |
end |
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
// | |
// ViewController.swift | |
// VideoCompression | |
// | |
// Created by Gabriel Lima on 02/03/19. | |
// Copyright © 2019 Gabriel Lima. All rights reserved. | |
// | |
import UIKit | |
import AVFoundation |