Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

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 California Berkeley Master of Financial Engineering MFE Sideboard
NYU Tandon School of Engineering Sideboard
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
Click here
Brandeis Business School
  • The Cost Of Raising A Child

    July 2, 2026November 28, 2025 by TFE Times
  • The Global Cost Of Violence

    July 1, 2026November 28, 2025 by TFE Times
  • The Future of Short-Term Lending: How Fintech Is Reshaping Access to Funds

    June 30, 2026 by TFE Times
  • Leading Causes Of Death In The U.S.

    June 30, 2026November 28, 2025 by TFE Times
  • Most Anticipated CS2 Tournaments in the Second Half of 2026

    June 29, 2026 by TFE Times
  • Who Drinks The Most Coffee?

    June 29, 2026November 28, 2025 by TFE Times
  • Top 10 Restaurants in San Antonio, Texas

    June 28, 2026June 20, 2026 by TFE Times
  • Top 10 Restaurants in Florence, Italy

    June 27, 2026June 20, 2026 by TFE Times
  • What Employees Should Know After A Workplace Injury

    June 26, 2026 by TFE Times
  • Countries Where Money Loses Value The Fastest

    June 26, 2026November 28, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes