Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Click here
MAFI_728x90
MAFI_728x90
University of California Irvine Leaderboard
University of California Irvine Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
NYU Tandon School of Engineering Leaderboard
RPI Leaderboard
Click here
  • Business
  • Culture
  • Technology
  • International Rankings
    • Bangladesh
    • Canada
    • Egypt
    • India
    • Nigeria
    • Pakistan
    • Philippines
    • United Kingdom
    • United States of America
  • Masters Rankings
    • Accounting
    • Business Analytics
    • Chiropractic
    • Computer Engineering
    • Computer Science
    • Economics
    • Education
    • Finance
    • Financial Economics
    • Financial Engineering
    • Law
    • Management
    • Marketing
    • MBA
    • Nursing
    • Social Work
  • Resources
    • C++
      • Beginner’s Guide to C++
      • An Introduction to the Imperative Part of C++
      • C++ Code
        • Sorts
        • Binary Search Trees
        • Strings
        • Binary Search
        • Math
        • Quant
        • Puzzles/Games
        • Language Concepts
        • Graphics
        • OS Operations
        • Graphs
      • C++ Full Course
      • C++ Crash Course
      • C++ Interview Questions
      • C++ Q/A
      • C++ Books
      • C++ Free Books
      • C++ Videos
    • C Questions
    • C Programming Tips
    • Java Questions
    • Quant Data Sources
    • Quant Questions

Month: September 2017

C++: Huffman Coding

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged binary, binary encoding, coding, encoding, huffman, huffman coding
C++: Huffman Coding

Huffman encoding is a way to assign binary codes to symbols that reduces the overall number of bits used to encode a typical string of those symbols.

Continue Reading

C++: Fractal Tree

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, fractal, fractal tree, graphics, tree
C++: Fractal Tree

Generate and draw a fractal tree. To draw a fractal tree is simple: Draw the trunk At the end of the trunk, split by some angle and draw tw

Continue Reading

C++: Binary Digits

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binary, c, digits
C++: Binary Digits

The task is to output the sequence of binary digits for a given non-negative integer. The decimal value 5, should produce an output of 101 The deci

Continue Reading

Best C++ Videos

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++, VideosTagged best, videos
Best C++ Videos

[pt_view id="17aa22899c"]

Continue Reading

C++: Luhn Test of Credit Card Numbers

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged Credit card, luhn test, numbers, of
C++: Luhn Test of Credit Card Numbers

The Luhn test is used by some credit card companies to distinguish valid credit card numbers from what could be a random selection of digits. Those

Continue Reading

C++: File Input/Output

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, file, files, inputoutput
C++: File Input/Output

In this task, the job is to create a file called "output.txt", and place in it the contents of the file "input.txt", via an intermediate variable. In

Continue Reading

C++: Dining Philosophers

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged dining, philosophers, problem, semaphores

The dining philosophers problem illustrates non-composability of low-level synchronization primitives like semaphores. It is a modification of a probl

Continue Reading

C++: Levenshtein Distance

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged distance, levenshtein
C++: Levenshtein Distance

template <class T> unsigned int edit_distance(const T& s1, const T& s2) { const size_t len1 = s1.size(), len2 = s2.size(); vect

Continue Reading

C++: LZW Compression

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged compression, lzw, lzw algorithm
C++: LZW Compression

The Lempel-Ziv-Welch (LZW) algorithm provides lossless data compression. You can read a complete description of it in the Wikipedia article on the sub

Continue Reading

C++: Execute Only Part of Loop

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, execute, loop, loops, of, only, part
C++: Execute Only Part of Loop

Quite often one needs loops which, in the last iteration, execute only part of the loop body. The goal of this task is to demonstrate the best way to

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Irvine Leaderboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
NYU Tandon School of Engineering Sideboard
output_8BgzjE
Brandeis Business School
  • The Greenest Cities In America

    April 6, 2026October 28, 2025 by TFE Times
  • Best Car Floor Mats for Protecting Interiors from Dirt and Moisture

    April 5, 2026April 5, 2026 by TFE Times
  • Tuition Costs Of Top U.S. Colleges

    April 5, 2026October 28, 2025 by TFE Times
  • The World’s Oldest People In History

    April 4, 2026October 28, 2025 by TFE Times
  • The Cost Of Utilities Around The World

    April 3, 2026October 28, 2025 by TFE Times
  • Largest Labor Forces By Country

    April 2, 2026October 28, 2025 by TFE Times
  • The 10 Most Powerful U.S. Hurricanes

    April 1, 2026October 28, 2025 by TFE Times
  • The World’s Largest Merchant Fleets

    March 31, 2026October 28, 2025 by TFE Times
  • Median Household Income By State

    March 30, 2026October 28, 2025 by TFE Times
  • How Senior Home Care Improves Mental Health in Aging Adults

    March 29, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes