Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

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
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
NYU Tandon School of Engineering Sideboard
Click here
University of California Irvine Leaderboard
  • How Do Car Accident Laws Work in Queens Under New York’s No-Fault System?

    September 17, 2025 by TFE Times
  • All About Playing at Golden Crown Casino: A Guide for Australian Players

    September 17, 2025 by TFE Times
  • Table Games at Legiano Casino: Roulette, Poker and Blackjack

    September 17, 2025 by TFE Times
  • Supporting Curiosity and Critical Thinking in Young Learners

    September 17, 2025 by TFE Times
  • Post-Pandemic GDP Recovery

    September 17, 2025May 25, 2025 by TFE Times
  • Imports’ Share Of Economies

    September 16, 2025May 25, 2025 by TFE Times
  • Why Millennials and Gen Z Are Choosing Slots Over Traditional Table Games

    September 15, 2025 by TFE Times
  • How to Open a Checking Account and Start Building Financial Independence

    September 15, 2025 by TFE Times
  • The Cost Of Cash: Interest Rates In 2025

    September 15, 2025September 17, 2025 by TFE Times
  • The World’s 50 Most Valuable Companies

    September 14, 2025May 25, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes