Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

RPI Leaderboard
University of Maryland Masters of Economics Leaderboard
University of Maryland Masters of Economics  Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
University of California Irvine Leaderboard
Click here
Click here
University of California Irvine Leaderboard
MAFI_728x90
NYU Tandon School of Engineering Leaderboard
Click here
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++: 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++: 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++: 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
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of Maryland Masters of Economics Sideboard
Brandeis Business School
Click here
output_8BgzjE
NYU Tandon School of Engineering Sideboard
  • A wide scene transitions from an early brick auto-parts shop with a period car and two men at a wooden counter to warehouse racks and a modern counter where an employee hands a component to a repair technician.

    History of Advance Auto Parts

    October 11, 2026September 19, 2026 by TFE Times
  • 6 Factors That Determine How Much You Should Be Saving Each Month

    October 11, 2026 by TFE Times
  • Fiberglass Roofing Panels: Benefits, Uses and How to Choose the Right One

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

    Best Restaurants in Morgantown: 15 Standout Places to Eat

    October 11, 2026October 2, 2026 by TFE Times
  • Illustrated dining collage for Best Restaurants in Ames: 15 Standout Places to Eat

    Best Restaurants in Ames: 15 Standout Places to Eat

    October 10, 2026October 2, 2026 by TFE Times
  • Wide aerial view of a nuclear generating complex beside tidal marshes and a broad river, with a large cooling tower, rounded reactor buildings, an electrical switchyard, and rows of transmission towers.

    History of Public Service Enterprise Group

    October 9, 2026September 19, 2026 by TFE Times
  • Illustrated dining collage for Best Restaurants in Ann Arbor: 15 Standout Places to Eat

    Best Restaurants in Ann Arbor: 15 Standout Places to Eat

    October 9, 2026October 2, 2026 by TFE Times
  • The Most Overlooked Feature of Modern Travel Data Plans

    October 9, 2026 by TFE Times
  • Champions under pressure: how every defending champion looked after five games

    October 9, 2026 by TFE Times
  • The History of the Putter: How Golf’s Simplest Club Became Its Most Personal

    October 9, 2026July 13, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes