Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Category: C++

C++: Fibonacci Sequence

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, fibonacci, fibonacci sequence, sequence
C++: Fibonacci Sequence

The Fibonacci sequence is a sequence Fn of natural numbers defined recursively: F0 = 0 F1 = 1 Fn = Fn-1 + Fn-2, if n>1 Write a function to ge

Continue Reading

C++: Delegates

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

A delegate is a helper object used by another object. The delegator may send the delegate certain messages, and provide a default implementation when

Continue Reading

C++: Hailstone Sequence

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, collatz conjecture, hailstone sequence
C++: Hailstone Sequence

The Hailstone sequence of numbers can be generated from a starting positive integer, n by: If n is 1 then the sequence ends. If n is even then

Continue Reading

C++: Insertion Sort

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, insertion, sort
C++: Insertion Sort

#include <algorithm> template<class Iterator> void insertion_sort( Iterator a, Iterator end ) { std::iter_swap( a, std::min_ele

Continue Reading

C++: Check That File Exists

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, check, exists, file, that
C++: Check That File Exists

In this task, the job is to verify that a file called "input.txt" and the directory called "docs" exist. This should be done twice: once for the curre

Continue Reading

C++: Heap Sort

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, heap, sort
C++: Heap Sort

#include <algorithm> // for std::make_heap, std::sort_heap template <typename Iterator> void heap_sort(Iterator begin, Iterator en

Continue Reading

C++: Ackermann Function

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged ackermann, c, function
C++: Ackermann Function

The Ackermann function is a classic example of a recursive function, notable especially because it is not a primitive recursive function. It grows ver

Continue Reading

C++: Mutual Recursion

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, mutual, mutual recursion, recursion
C++: Mutual Recursion

Two functions are said to be mutually recursive if the first calls the second, and in turn the second calls the first. Write two mutually recursive

Continue Reading

Best C++ Books

Posted on September 1, 2017April 2, 2018 by TFE Times
Posted in C++Tagged best, books, c
Best C++ Books

Reference Style - All Levels A Tour of C++ (Bjarne Stroustrup) The "tour" is a quick (about 180 pages and 14 chapters) tutorial overview of all

Continue Reading

C++: Maximum Triangle Path Sum

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, maximum, maximum path, path, sum, triangle
C++: Maximum Triangle Path Sum

Starting from the top of a pyramid of numbers like this, you can walk down going one step on the right or on the left, until you reach the bottom row:

Continue Reading

Posts navigation

Older posts
Newer posts
NYU Tandon School of Engineering Sideboard
Brandeis Business School
output_8BgzjE
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
Click here
University of Maryland Masters of Economics Sideboard
  • Illustrative cover for Best Restaurants in Antwerp: 15 Standout Places to Eat

    Best Restaurants in Antwerp: 15 Standout Places to Eat

    October 8, 2026October 2, 2026 by TFE Times
  • How Champagne Became the Drink of Celebration

    October 8, 2026July 13, 2026 by TFE Times
  • Best Restaurants in Reno: 15 Standout Places to Eat — food and city collage

    Best Restaurants in Reno: 15 Standout Places to Eat

    October 7, 2026October 2, 2026 by TFE Times
  • How to Make Room for Spontaneity in a Structured Lifestyle

    October 7, 2026 by TFE Times
  • 2026 NFL Power Rankings Week 4: 49ers Stay No. 1, Chiefs Rise as Jaguars Surge

    October 7, 2026October 6, 2026 by TFE Times
  • A small vintage radio chassis with vacuum tubes and a soldering iron sits to the left of a blue-and-silver portable cassette player with orange-foam headphones on a dark charcoal background.

    History of Sony

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

    Best Restaurants in Amherst: 15 Standout Places to Eat

    October 6, 2026October 2, 2026 by TFE Times
  • 2.7 Billion People Who Can’t Afford A Healthy Diet

    October 6, 2026June 20, 2026 by TFE Times
  • How Businesses Can Improve Digital Efficiency With Better Connectivity

    October 5, 2026 by TFE Times
  • How to Prepare Family Members for Temporary Mobility Changes

    October 5, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes