Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Click here
MAFI_728x90
Click here
MAFI_728x90
RPI Leaderboard
University of Maryland Masters of Economics Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
University of Maryland Masters of Economics  Leaderboard
NYU Tandon School of Engineering Leaderboard
Click here
University of California Irvine Leaderboard
University of California Irvine 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

Author: TFE Times

C++: N-Queens Problem

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged chess, n-queens problem, puzzle, queens problem
C++: N-Queens Problem

Solve the eight queens puzzle. You can extend the problem to solve the puzzle with a board of side NxN. For the number of solutions for small value

Continue Reading

C++: Delegate Behavior to Derived Classes

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged behavior, c, classes, delegate, derived, to
C++: Delegate Behavior to Derived Classes

INTENT Delegate behavior to derived classes without incurring the cost of run-time polymorphism. DESCRIPTION With the Curiously Recurring Tem

Continue Reading

C++: Binary Search Tree Verification

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged binary, c, search, tree, verification
C++: Binary Search Tree Verification

struct TreeNode { int data; TreeNode *left; TreeNode *right; }; bool isBST(TreeNode *node, int minData, int maxData) { if(node == NULL

Continue Reading

C++: Catalan Numbers

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, catalan, numbers
C++: Catalan Numbers

Catalan numbers are a sequence of numbers which can be defined directly: Or recursively: Or alternatively (also recursive):

Continue Reading

C++: Euler Method

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, differential equation, euler method, initial value problem, IVP, ODE
C++: Euler Method

Euler's method numerically approximates solutions of first-order ordinary differential equations (ODEs) with a given initial value. It is an explicit

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++: Multisplit

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged multisplit, split, strings
C++: Multisplit

It is often necessary to split a string into pieces based on several different (potentially multi-character) separator strings, while still retaining

Continue Reading

C++: Generate Random Number in Range

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, generate, in, number, random, range
C++: Generate Random Number in Range

int random_in_range(int a, int b) //Function that returns a random integer between 2 provided integers { return a + random() % (b-a+1); }

Continue Reading

C++: Fast Fourier Transform

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, fast, fourier, fourier transform, Math, sequence, transform
C++: Fast Fourier Transform

The purpose of this task is to calculate the FFT (Fast Fourier Transform) of an input sequence. The most general case allows for complex numbers at t

Continue Reading

C++: Find Common Directory Path

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, common, directory, file, find, path
C++: Find Common Directory Path

Create a routine that, given a set of strings representing directory paths and a single character directory separator, will return a string representi

Continue Reading

Posts navigation

Older posts
Newer posts
NYU Tandon School of Engineering Sideboard
Brandeis Business School
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
output_8BgzjE
Click here
University of California Berkeley Master of Financial Engineering MFE Sideboard
  • A hand holds an amber bottle with a generic pale ale label showing strength and volume.

    How to Read a Beer Label

    November 10, 2026October 19, 2026 by TFE Times
  • Overhead illustration comparing an instructor with four snowboard learners and a separate instructor with one learner on two snow practice areas.

    Snowboarding Lessons Explained: Group vs. Private

    November 9, 2026October 26, 2026 by TFE Times
  • A warm mid-century office with wooden desks, staff working at typewriters, a rotary telephone, stacked forms, and a small white ceramic duck on the foreground desk.

    History of Aflac

    November 9, 2026September 19, 2026 by TFE Times
  • 2026 College Football Power Rankings Week 11: Georgia No. 1, Notre Dame No. 2, Utah No. 3, UCLA No. 4 and Miami No. 5, shown as helmets under stadium lights.

    2026 College Football Power Rankings — Week 11: Notre Dame Beats Miami as Georgia Holds No. 1

    November 9, 2026 by TFE Times
  • Best Restaurants in Detroit: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Detroit: 15 Standout Places to Eat

    November 9, 2026October 17, 2026 by TFE Times
  • A three-person group ski lesson on the left and an individual lesson on the right of a spacious beginner area.

    Ski Lessons Explained: Group vs. Private Lessons

    November 9, 2026October 25, 2026 by TFE Times
  • 5 Ways Young Entrepreneurs Can Gain Practical Business Finance Skills

    November 9, 2026 by TFE Times
  • App-Based Car Rentals: Sorting Out Fault and Insurance

    November 9, 2026 by TFE Times
  • Illustrated history cover for the Chicago Bears

    History of the Chicago Bears: From Halas and the Staleys to the Monsters of the Midway

    November 9, 2026October 17, 2026 by TFE Times
  • A hand holds a steel shaker and strainer while pouring a pale citrus cocktail into a coupe at a teal-tiled preparation station.

    How Cocktails Are Made: The Basics

    November 9, 2026October 25, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes