Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, forward difference, integer, pascal's triangle
C++: Forward Difference

Provide code that produces a list of numbers which is the n-th order forward difference, given a non-negative integer (specifying the order) and a lis

Continue Reading

C++: Balanced Ternary

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged balanced, c, ternary
C++: Balanced Ternary

Balanced ternary is a way of representing numbers. Unlike the prevailing binary representation, a balanced ternary integer is in base 3, and each digi

Continue Reading

C++: Matrix Exponentiation Operator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, exponent, exponentation, iation, matrices, matrix, matrix exponentiation operator, operator
C++: Matrix Exponentiation Operator

Most programming languages have a built-in implementation of exponentiation for integers and reals only. Demonstrate how to implement matrix expone

Continue Reading

C++: Hofstadter-Conway $10,000 Sequence

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged 10000, c, conway, hofstadter, hofstadter. sequence, sequence
C++: Hofstadter-Conway $10,000 Sequence

The definition of the sequence is colloquially described as: Starting with the list [1,1], Take the last number in the list so far: 1, I'll ca

Continue Reading

C++: Single Inheritance

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, inheritance, inheritancec, single
C++: Single Inheritance

Inheritance is an operation of type algebra that creates a new type from one or several parent types. The obtained type is called derived type. It inh

Continue Reading

C++: Binary Search Tree Insertion

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binary, c, insertion, search, tree
C++: Binary Search Tree Insertion

void insert(Node*& root, int data) { if (!root){ root = new Node(data); } else if (data < root->data){ insert(root->left,

Continue Reading

C++: Create a Two-Dimensional Array at Runtime

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, array, at, c, create, crete, rry, runtime, t, twodimensional, twodimensionl
C++: Create a Two-Dimensional Array at Runtime

Get two integers from the user, then create a two-dimensional array where the two dimensions have the sizes given by those numbers, and which can be a

Continue Reading

C++ Code

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++Tagged code
C++ Code

[pt_view id="e30eb21e03"]

Continue Reading

C++: Normal PDF

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, normal, pdf
C++: Normal PDF

const double Pi = 3.14159265359; // Standard Normal probability density function double Normal_PDF(const double & x) // Normal PDF(x) = e

Continue Reading

C++: Equilibrium Index

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, Equilibrium, index, sequence
C++: Equilibrium Index

An equilibrium index of a sequence is an index into the sequence such that the sum of elements at lower indices is equal to the sum of elements at hig

Continue Reading

Posts navigation

Older posts
Newer posts
NYU Tandon School of Engineering Sideboard
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
output_8BgzjE
University of California Berkeley Master of Financial Engineering MFE Sideboard
Brandeis Business School
Click here
University of California Irvine Leaderboard
  • Top 10 Restaurants in Portland, Maine

    August 2, 2026June 20, 2026 by TFE Times
  • How Custom CRM Helps Businesses Work Better

    August 1, 2026August 1, 2026 by TFE Times
  • How Buying Health Insurance Early Improves Waiting Period Readiness

    August 1, 2026 by TFE Times
  • Top 10 Restaurants in Monaco

    August 1, 2026June 20, 2026 by TFE Times
  • The skills that get RNs promoted are not the ones that made them good at the bedside

    July 31, 2026 by TFE Times
  • History of the 5-Hybrid: The Club That Made the 5-Iron Optional

    July 31, 2026July 13, 2026 by TFE Times
  • Things To Consider Before Filing For Divorce

    July 30, 2026 by TFE Times
  • FOX Nails USA: A One-Stop Shop for Salon-Quality Nail Products

    July 30, 2026 by TFE Times
  • Top 5 Best Large-Breed Dog Food Brands Made with Organic Ingredients

    July 30, 2026 by TFE Times
  • The Future of Financial Literacy Starts in Childhood With These Economics Resources

    July 30, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes