Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

Click here
Brandeis University Master of Finance Leaderboard 728x90
University of California Irvine Leaderboard
University of California Irvine Leaderboard
RPI Leaderboard
Click here
MAFI_728x90
NYU Tandon School of Engineering Leaderboard
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++: Find the Last Sunday of Each Month

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged calendar, date, each, find, last, month, of, sunday, the
C++: Find the Last Sunday of Each Month

Write a program or a script that returns the last Sundays of each month of a given year. The year may be given through any simple input method in your

Continue Reading

C++: Do While Loop

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, do while, loop, loops
C++: Do While Loop

Start with a value at 0. Loop while value mod 6 is not equal to 0. Each time through the loop, add 1 to the value then print it. The loop must execute

Continue Reading

C++: Continuous Knapsack Problem

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged continuous, knapsack problem
C++: Continuous Knapsack Problem

A robber burgles a butcher's shop, where he can select from some items. He knows the weights and prices of each items. Because he has a knapsack with

Continue Reading

C++: Compare a List of Strings

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, compare, list, of, strings
C++: Compare a List of Strings

Given a list of arbitrarily many strings, show how to: test if they are all lexically equal test if every string is lexically less than the on

Continue Reading

C++: Black Scholes Call Option Delta

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, call, delta, option, scholes
C++: Black Scholes Call Option Delta

// Calculate the Black Scholes European call option Delta double BS_Call_Option_Delta(double S, double K, double r, double v, double T) // Para

Continue Reading

C++: Normal CDF

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

const double Pi = 3.14159265359; // Standard Normal cumulative distribution function double Normal_CDF(const double & x) { double k = 1

Continue Reading

C++: Move-To-Front Algorithm

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged algorithm, array, move to front, movetofront
C++: Move-To-Front Algorithm

Given a symbol table of a zero-indexed array of all possible input symbols this algorithm reversibly transforms a sequence of input symbols into an ar

Continue Reading

C++: Matrix Transposition

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, matrix, matrix transposition, transposition
C++: Matrix Transposition

Transpose an arbitrarily sized rectangular Matrix. Library: Boost.uBLAS #include <boost/numeric/ublas/matrix.hpp> #include <boost/nu

Continue Reading

C++ Graphics

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, graphics
C++ Graphics

[pt_view id="e8370874e7"]

Continue Reading

C+: Mandelbrot Set

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, mandelbrot, mandelbrot set, set
C+: Mandelbrot Set

Generate and draw the Mandelbrot set. Note that there are many algorithms to draw Mandelbrot set and there are many functions which generate it.

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
NYU Tandon School of Engineering Sideboard
Brandeis Business School
University of California Irvine Leaderboard
  • 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
  • Sustainable Trade Index

    March 29, 2026October 28, 2025 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes