Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Month: September 2017

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, enforced, immutability
C++: Enforced Immutability

Demonstrate any means your language has to prevent the modification of values, or to create objects that cannot be modified after they have been creat

Continue Reading

C++: Empty String

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged empty, string
C++: Empty String

Languages may have features for dealing specifically with empty strings (those containing no characters). The task is to: Demonstrate how to a

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

C++: Greatest Subsequential Sum

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged continuous subsequence, greatest, max, subsequence, subsequential, sum
C++: Greatest Subsequential Sum

Given a sequence of integers, find a continuous subsequence which maximizes the sum of its elements, that is, the elements of no other single subseque

Continue Reading

C++: Evolutionary Algorithm

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, evolutionary, evolutionary algorithm
C++: Evolutionary Algorithm

Starting with: The target string: "METHINKS IT IS LIKE A WEASEL". An array of random characters chosen from the set of upper-case letters toge

Continue Reading

Posts navigation

Older posts
Newer posts
Brandeis Business School
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of California Irvine Leaderboard
NYU Tandon School of Engineering Sideboard
  • The Greenest Cities In America

    April 6, 2026October 28, 2025 by TFE Times
  • Best Car Floor Mats for Protecting Interiors from Dirt and Moisture

    April 5, 2026April 5, 2026 by TFE Times
  • Tuition Costs Of Top U.S. Colleges

    April 5, 2026October 28, 2025 by TFE Times
  • The World’s Oldest People In History

    April 4, 2026October 28, 2025 by TFE Times
  • The Cost Of Utilities Around The World

    April 3, 2026October 28, 2025 by TFE Times
  • Largest Labor Forces By Country

    April 2, 2026October 28, 2025 by TFE Times
  • The 10 Most Powerful U.S. Hurricanes

    April 1, 2026October 28, 2025 by TFE Times
  • The World’s Largest Merchant Fleets

    March 31, 2026October 28, 2025 by TFE Times
  • Median Household Income By State

    March 30, 2026October 28, 2025 by TFE Times
  • How Senior Home Care Improves Mental Health in Aging Adults

    March 29, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes