Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Author: TFE Times

C++: For Loop with a Specified Step

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, for loop, loop, specified, step, with
C++: For Loop with a Specified Step

Demonstrate a for-loop where the step-value is greater than one. This prints all odd digits: for (int i = 1; i < 10; i += 2) std::cout &

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++: 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

Posts navigation

Older posts
Newer posts
Click here
NYU Tandon School of Engineering Sideboard
University of Maryland Masters of Economics Sideboard
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
output_8BgzjE
  • A relief globe showing the North Atlantic with a glowing green loop between North America and the British Isles, beside a polished brass stock-exchange bell.

    History of Citizens Financial Group

    October 18, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Jersey City: 15 Standout Places to Eat — illustrative cover

    Best Restaurants in Jersey City: 15 Standout Places to Eat

    October 18, 2026October 17, 2026 by TFE Times
  • The History of the 5-Iron: Golf’s Disappearing Middleweight

    October 18, 2026October 17, 2026 by TFE Times
  • 5 Everyday Business Expenses Worth Reviewing Every Year

    October 17, 2026 by TFE Times
  • Before the Damage Spreads: Outdoor Maintenance Warning Signs in Winter Garden

    October 17, 2026 by TFE Times
  • Running Trading Backtests on a Rented Server: What Quant Students Need

    October 17, 2026 by TFE Times
  • Best Restaurants in Oxford, Mississippi: 15 Standout Places to Eat — illustrative food collage

    Best Restaurants in Oxford: 15 Standout Places to Eat

    October 17, 2026October 16, 2026 by TFE Times
  • The Judgment of Paris: The Tasting That Changed Wine

    October 17, 2026October 16, 2026 by TFE Times
  • Two period factory workers handle a large automobile tire beside an early motorcar outside a red-brick industrial building, while a silver airship floats overhead.

    History of Goodyear Tire & Rubber

    October 16, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Milwaukee: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Milwaukee: 15 Standout Places to Eat

    October 16, 2026October 3, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes