Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

University of California Irvine Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
Click here
MAFI_728x90
University of California Irvine Leaderboard
Click here
University of Maryland Masters of Economics Leaderboard
NYU Tandon School of Engineering Leaderboard
University of Maryland Masters of Economics  Leaderboard
MAFI_728x90
RPI Leaderboard
  • Business
  • Culture
    • Beer Guide
    • Cheese Guide
    • Cigar Guide
    • Coffee Guide
    • Wine Guide
  • 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
  • WSET
    • WSET Level 1 Beer
    • WSET Level 2 Beer
    • WSET Level 1 Sake
    • WSET Level 2 Sake
    • WSET Level 3 Sake
    • WSET Level 1 Spirits
    • WSET Level 2 Spirits
    • WSET Level 3 Spirits
    • WSET Level 1 Wine
    • WSET Level 2 Wine
    • WSET Level 3 Wine
    • WSET Level 4 Wine

Tag: algorithm

C++: Five Weekends

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, calendar, date, five, weekends
C++: Five Weekends

The month of October in 2010 has five Fridays, five Saturdays, and five Sundays. The task Write a program to show all months that have this sa

Continue Reading

C++: FizzBuzz

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, fizzbuzz, integer, print
C++: FizzBuzz

Write a program that prints the integers from 1 to 100. But for multiples of three print "Fizz" instead of the number, and for the multiples of fiv

Continue Reading

C++: Dijkstra’s Algorithm

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged algorithm, c, Dijkstra, s
C++: Dijkstra’s Algorithm

Dijkstra's algorithm, conceived by Dutch computer scientist Edsger Dijkstra in 1956 and published in 1959, is a graph search algorithm that solves the

Continue Reading

C++: MD5

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, encryption, md5
C++: MD5

Encode a string using an MD5 algorithm. The algorithm can be found on wikipedia. Optionally, validate your implementation by running all of the tes

Continue Reading

C++: Move-To-Front Algorithm

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, array, move to front, movetofront
C++: Move-To-Front Algorithm

Given a symbol table of a zero-indexed array of all possible input symbols this algorithm reversibly transforms a sequence of input symbols into an ar

Continue Reading

C++: Main Step of GOST 28147-89

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged algorithm, c, encryption, feistel network, GOST 28147-89, main, of, step
C++: Main Step of GOST 28147-89

GOST 28147-89 is a standard symmetric encryption based on a Feistel network. Structure of the algorithm consists of three levels: encryption mode

Continue Reading

C++: Bresenham’s Line Algorithm

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged algorithm, bresenhams, c, Line
C++: Bresenham’s Line Algorithm

Using the data storage type defined on this page for raster graphics images, draw a line given 2 points with the Bresenham's line algorithm. void

Continue Reading

C++: Execute a Markov Algorithm

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, algorithm, execute, markov, markov algorithm, strings
C++: Execute a Markov Algorithm

Create an interpreter for a Markov Algorithm. Rules have the syntax: <ruleset> ::= ((<comment> | <rule>) <newline>+)* <c

Continue Reading

C++: Evolutionary Algorithm

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, evolutionary, evolutionary algorithm
C++: Evolutionary Algorithm

Starting with: The target string: "METHINKS IT IS LIKE A WEASEL". An array of random characters chosen from the set of upper-case letters toge

Continue Reading

C++: Knuth’s Algorithm S

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, algorithm s, knuths, s
C++: Knuth’s Algorithm S

This is a method of randomly sampling n items from a set of M items, with equal probability; where M >= n and M, the number of items is unknown unt

Continue Reading

Posts navigation

Older posts
University of California Irvine Leaderboard
Brandeis Business School
University of Maryland Masters of Economics Sideboard
NYU Tandon School of Engineering Sideboard
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of Maryland Masters of Economics Sideboard
Click here
  • A warmly lit vintage laboratory bench with two microscopes, testing devices, and a rack of glass tubes stands beside a large white-and-blue modern automated laboratory analyzer in a spacious room.

    History of Labcorp Holdings

    November 14, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Fargo: 15 Standout Places to Eat — illustrative city and food montage

    Best Restaurants in Fargo: 15 Standout Places to Eat

    November 14, 2026October 16, 2026 by TFE Times
  • Rounded S-shaped ski tracks crossing a broad groomed slope in low winter sunlight.

    How to Control Your Speed While Skiing

    November 14, 2026October 25, 2026 by TFE Times
  • Chardonnay Explained: The Versatile White Wine Beyond Oak and Butter

    November 14, 2026October 18, 2026 by TFE Times
  • Illustrated exhibit with separate bays for beer and grain, wine and grapes, and a spirit sample beside distillation equipment.

    Spirits vs. Wine vs. Beer: What’s the Difference?

    November 14, 2026October 25, 2026 by TFE Times
  • A helmeted snowboarder in an olive jacket brushing a modest fan of snow while bringing a board across a broad open slope.

    How to Stop on a Snowboard

    November 13, 2026October 26, 2026 by TFE Times
  • A partially framed single-story house, two builders, lumber, and an old pickup beside a dirt road that transitions into a broad modern residential development with curving streets and rows of homes.

    History of PulteGroup

    November 13, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Winston-Salem: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Winston-Salem: 15 Standout Places to Eat

    November 13, 2026October 16, 2026 by TFE Times
  • A learner in a turquoise jacket making a shallow ski turn while an instructor observes from the side.

    How to Make Your First Turns on Skis

    November 13, 2026October 25, 2026 by TFE Times
  • Countries That Grew Their Wealth The Most

    November 13, 2026November 6, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes