Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Category: C++ Puzzles

C++: Align Columns

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged align, columns
C++: Align Columns

Given a text file of many lines, where fields within a line are delineated by a single 'dollar' character, write a program that aligns each column of

Continue Reading

C++: Increment a Numerical String

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged a, increment, numerical, string
C++: Increment a Numerical String

This task is about incrementing a numerical string. // standard C++ string stream operators #include <cstdlib> #include <string> #in

Continue Reading

C++: IBAN

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged bban, characters, code, iban, International Bank Account Number
C++: IBAN

The International Bank Account Number (IBAN) is an internationally agreed means of identifying bank accounts across national borders with a reduced ri

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++: Greatest Subsequential Sum

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged continuous subsequence, greatest, max, subsequence, subsequential, sum
C++: Greatest Subsequential Sum

Given a sequence of integers, find a continuous subsequence which maximizes the sum of its elements, that is, the elements of no other single subseque

Continue Reading

C++: Deal Cards for FreeCell

Posted on September 1, 2017June 2, 2022 by TFE Times
Posted in C++ PuzzlesTagged cards, deal, for, freecell
C++: Deal Cards for FreeCell

Free Cell is the solitaire card game that Paul Alfille introduced to the PLATO system in 1978. Jim Horne, at Microsoft, changed the name to FreeCell a

Continue Reading

C++: Deranged Anagrams

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged anagrams, deranged
C++: Deranged Anagrams

Two or more words are said to be anagrams if they have the same characters, but in a different order. By analogy with derangements we define a derange

Continue Reading

C++: Multiplication Tables

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged multiplication, multiplication table, s, table, tables
C++: Multiplication Tables

Produce a formatted 12×12 multiplication table of the kind memorised by rote when in primary school. Only print the top half triangle of products.

Continue Reading

C++: Fibonacci Word

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged fibonacci, fibonacci word, Word
C++: Fibonacci Word

The Fibonacci Word may be created in a manner analogous to the Fibonacci Sequence as described here: Define F_Word1 as 1; Define F_Word2 as 0;

Continue Reading

C++: Man Or Boy Test

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged donald knuth, knuth, man or boy test
C++: Man Or Boy Test

Background: The man or boy test was proposed by computer scientist Donald Knuth as a means of evaluating implementations of the ALGOL 60 programming

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
NYU Tandon School of Engineering Sideboard
Brandeis Business School
Click here
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
University of Maryland Masters of Economics Sideboard
  • Five arrangements of grains, wood samples and small tasting glasses on a pale table, illustrating different whiskey traditions.

    The Different Types of Whiskey Explained

    November 1, 2026October 24, 2026 by TFE Times
  • A white band-collar shirt on a dark wooden tailoring form beside a detached white collar on a wooden rest and a board displaying white ribbed fabric, dark denim, and navy, white, and red polo-style textiles.

    History of PVH

    October 31, 2026September 19, 2026 by TFE Times
  • Illustrative dining collage for Best Restaurants in Blacksburg: 15 Standout Places to Eat

    Best Restaurants in Blacksburg: 15 Standout Places to Eat

    October 31, 2026October 16, 2026 by TFE Times
  • Cabernet Sauvignon Explained: The Bold Red Wine Behind Bordeaux and Napa Valley

    October 31, 2026October 18, 2026 by TFE Times
  • Illustration of grapes, a potato, grain, sugarcane and agave beside a copper still and clear and amber spirit samples.

    What Are Spirits? A Beginner’s Guide

    October 31, 2026October 25, 2026 by TFE Times
  • Best Restaurants in Raleigh: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Raleigh: 15 Standout Places to Eat

    October 30, 2026October 16, 2026 by TFE Times
  • What The Top 1% Pays In Taxes Across The U.S.

    October 30, 2026October 17, 2026 by TFE Times
  • Paired illustrative Arabica and Robusta coffee branches with red cherries, glossy leaves and green coffee seeds.

    Arabica vs. Robusta: What’s the Difference?

    October 30, 2026October 24, 2026 by TFE Times
  • A warm, dim box-office counter with a mechanical ticket device, paper roll, and road case transitions through venue railings to a cool-lit arena entrance, contactless scanner, crowded concert floor, and illuminated stage.

    History of Live Nation Entertainment

    October 29, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Lubbock: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Lubbock: 15 Standout Places to Eat

    October 29, 2026October 16, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes