Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

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++: 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++: 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++: 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++: 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++ Interview Question 17 Answer

Posted on April 17, 2015June 20, 2016 by TFE Times
Posted in C++, Interview Questions
C++ Interview Question 17 Answer

Answer This question is compilable and deterministic. Its output is "B". Explanation The "trick" here is that B::f() is called even though i

Continue Reading

C++ Interview Question 16 Answer

Posted on April 17, 2015June 20, 2016 by TFE Times
Posted in C++, Interview Questions
C++ Interview Question 16 Answer

Answer This question is compilable and deterministic. Its output is "abBA". Explanation The base class constructor is called before the inhe

Continue Reading

C++ Interview Question 15 Answer

Posted on April 17, 2015June 20, 2016 by TFE Times
Posted in C++, Interview Questions
C++ Interview Question 15 Answer

Answer This question is compilable and deterministic. Its output is "abBA". Explanation Member variables are initialized before the construc

Continue Reading

C++ Interview Question 14 Answer

Posted on April 17, 2015June 20, 2016 by TFE Times
Posted in C++, Interview Questions
C++ Interview Question 14 Answer

Answer This question is compilable and deterministic. Its output is "acabBA". Explanation Static local variables are initialized the first t

Continue Reading

Posts navigation

Older posts
Newer posts
output_8BgzjE
University of Maryland Masters of Economics Sideboard
Brandeis Business School
NYU Tandon School of Engineering Sideboard
Click here
University of California Irvine Leaderboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of Maryland Masters of Economics Sideboard
  • FreeAud Casino: 180% Bonus, $28 Free, and 3,000+ Games for Australian Players in 2026

    July 14, 2026 by TFE Times
  • How to Choose the Best Online Pokies Real Money Australia

    July 14, 2026 by TFE Times
  • English Proficiency Around The World

    July 14, 2026November 28, 2025 by TFE Times
  • How to Respond to Requests for Additional Immigration Documents

    July 13, 2026 by TFE Times
  • The Most Common Electric Bike Maintenance Mistakes and How to Avoid Them

    July 13, 2026 by TFE Times
  • Why Businesses Use Steel Tubing For Custom Commercial Projects

    July 13, 2026 by TFE Times
  • Are JILI Games Easy to Learn? A Beginner’s Perspective (Guide for New Players)

    July 13, 2026 by TFE Times
  • Lucky Mate Casino for Australians: Registration, Verification, and Local Payments

    July 13, 2026 by TFE Times
  • America’s Most & Least Affordable Cities In 2025

    July 13, 2026June 7, 2026 by TFE Times
  • Top 10 Restaurants in Houston, Texas

    July 12, 2026June 20, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes