Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binary, c, digits
C++: Binary Digits

The task is to output the sequence of binary digits for a given non-negative integer. The decimal value 5, should produce an output of 101 The deci

Continue Reading

Posts navigation

Older posts
Newer posts
Click here
NYU Tandon School of Engineering Sideboard
Brandeis Business School
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
  • Average Salary By State In 2025

    October 2, 2025May 25, 2025 by TFE Times
  • How a Motorcycle Accident Attorney Can Strengthen Your Case

    October 1, 2025 by TFE Times
  • The Future of Work: Why Skilled Trades Are Essential in a Tech-Driven Economy

    October 1, 2025 by TFE Times
  • What Internet Culture Looks Like in the 2020s

    October 1, 2025 by TFE Times
  • The World’s Top 40 Financial Centers

    October 1, 2025May 25, 2025 by TFE Times
  • The Most Popular Browser Extensions for Money Management

    September 30, 2025 by TFE Times
  • How Cybersecurity Systems Work in iGaming

    September 30, 2025 by TFE Times
  • Gut feeling or data? The decision dilemma

    September 30, 2025 by TFE Times
  • How Wire Rope Lubricators Work

    September 30, 2025 by TFE Times
  • Free Play Lightning Link Slots Without Registration

    September 30, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes