Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Tag: c

C++: Combinations

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

Given non-negative integers m and n, generate all size m combinations of the integers from 0 to n-1 in sorted order (each combination is sorted and th

Continue Reading

C++: Greatest Element of a List

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, element, greatest, gretest, list, max, of
C++: Greatest Element of a List

Create a function that returns the maximum value in a provided set of values, where the number of values may not be known until runtime. This will

Continue Reading

C++: Accumulator Factory

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged accumulator, c, factory
C++: Accumulator Factory

A problem posed by Paul Graham is that of creating a function that takes a single (numeric) argument and which returns another function that is an acc

Continue Reading

C++: Exponentiation Operator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, exponentiation, operator
C++: Exponentiation Operator

Most all programming languages have a built-in implementation of exponentiation. Re-implement integer exponentiation for both intint and floatint as b

Continue Reading

C++: Infinite Loops

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, infinite, infinite loop, loops
C++: Infinite Loops

Specifically print out "SPAM" followed by a newline in an infinite loop. while (true) std::cout << "SPAM" << std::endl; or

Continue Reading

C++: Ethiopian Multiplication

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, ethiopian, multiplication
C++: Ethiopian Multiplication

A method of multiplying integers using only addition, doubling, and halving. Method: Take two numbers to be multiplied and write them down at

Continue Reading

C++: Construct from Rational Number

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, construct, from, number, rational
C++: Construct from Rational Number

To understand this task in context please see Continued fraction arithmetic The purpose of this task is to write a function r2cf(int N1,int N2), or

Continue Reading

C++: Hash From Two Arrays

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged array, c, from, hash, map, mapping, s, two
C++: Hash From Two Arrays

Using two Arrays of equal length, create a Hash object where the elements from one array (the keys) are linked to the elements of the other (the value

Continue Reading

C++: Median

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

Write a program to find the median value of a vector of floating-point numbers. The program need not handle the case where the vector is empty, but mu

Continue Reading

C++: First-Class Functions

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, first class function, firstclass, firtcla, function, functions, s
C++: First-Class Functions

A language has first-class functions if it can do each of the following without recursively invoking a compiler or interpreter or otherwise metaprogra

Continue Reading

Posts navigation

Older posts
Newer posts
output_8BgzjE
NYU Tandon School of Engineering Sideboard
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
Brandeis Business School
Click here
  • How Seasonal Contractors Strengthen Coverage With Umbrella Insurance

    June 13, 2026 by TFE Times
  • Top 5 Contractors Insurance Providers in Florida Worth Considering in 2026

    June 13, 2026 by TFE Times
  • Custom ERP System Explained in Simple Words

    June 13, 2026June 13, 2026 by TFE Times
  • Top 20 Highest Paying Jobs With No College Degree Required

    June 13, 2026November 22, 2025 by TFE Times
  • America’s Incarceration Rates

    June 12, 2026November 22, 2025 by TFE Times
  • Bunny96 Casino Australia: $20 No Deposit Bonus in 2026

    June 11, 2026 by TFE Times
  • Bankroll Management Tips for Online Pokies Players

    June 11, 2026 by TFE Times
  • The Last Five Winners of the Oaks

    June 11, 2026June 13, 2026 by TFE Times
  • The World’s Most Powerful Rivers

    June 11, 2026November 22, 2025 by TFE Times
  • Where People Eat The Most Meat

    June 10, 2026November 22, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes