Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, mode
C++: Mode

Write a program to find the mode value of a collection. The case where the collection is empty may be ignored. Care must be taken to handle the case w

Continue Reading

C++: Pythagorean Means

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, means, pythagorean
C++: Pythagorean Means

Compute all three of the Pythagorean means of the set of integers 1 through 10. Show that for this set of positive integers. The most common

Continue Reading

C++: AVL Tree

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged avl, c, tree
C++: AVL Tree

In computer science, an AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by a

Continue Reading

C++: Calendar

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged calendar
C++: Calendar

Create a routine that will generate a text calendar for any year. Test the calendar by generating a calendar for the year 1969, on a device of the tim

Continue Reading

C++: Closures/Value Capture

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, capture, closuresvalue
C++: Closures/Value Capture

Task: Create a list of 10 functions, in the simplest manner possible (anonymous functions are encouraged), such that the function at index i (you may

Continue Reading

C++: Determine if a String Is Numeric

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, determine, if, is, numeric, string
C++: Determine if a String Is Numeric

Create a boolean function which takes in a string and tells whether it is a numeric string (floating point and negative numbers included) in the synta

Continue Reading

C++: Generic Swap

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, generic, swap, variables
C++: Generic Swap

The task is to write a generic swap function or operator which exchanges the values of two variables (or, more generally, any two storage places that

Continue Reading

C++: Harshad/Niven Series

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, digit, digits, harshad, niven, series
C++: Harshad/Niven Series

The Harshad or Niven numbers are positive integers >= 1 that are divisible by the sum of their digits. For example, 42 is a Harshad number as 42

Continue Reading

C++: Bounded Knapsack Problem

Posted on September 1, 2017June 19, 2022 by TFE Times
Posted in C++ PuzzlesTagged bounded, knapsack problem
C++: Bounded Knapsack Problem

A tourist wants to make a good trip at the weekend with his friends. They will go to the mountains to see the wonders of nature. So he needs some item

Continue Reading

C++: Knuth Shuffle

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged donald knuth, knuth, shuffle
C++: Knuth Shuffle

Implement the Knuth shuffle (a.k.a. the Fisher-Yates shuffle) for an integer array (or, if possible, an array of any type). The Knuth shuffle is used

Continue Reading

Posts navigation

Older posts
Newer posts
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
University of Maryland Masters of Economics Sideboard
NYU Tandon School of Engineering Sideboard
Brandeis Business School
  • 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