Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Month: September 2017

C++ Interview Questions

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++Tagged Interview, interview questions, question, s
C++ Interview Questions

According to the C++11 standard, what is the output of this program? template <class T> void f(T &i) { std::cout << 1; } templ

Continue Reading
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

C++: Linear Congruential Generator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, congruential, generator, linear, linear congruential generator, number, random
C++: Linear Congruential Generator

The linear congruential generator is a very simple example of a random number generator. All linear congruential generators use this formula:

Continue Reading

C++: Letter Frequency

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ PuzzlesTagged frequency, letter, letter frequency
C++: Letter Frequency

Open a text file and count the occurrences of each letter. Some of these programs count all characters (including punctuation), but some only count

Continue Reading

C++: Integer Sequence

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

Create a program that, when run, would display all integers from 1 to ∞ (or any relevant implementation limit), in sequence (i.e. 1, 2, 3, 4, etc) i

Continue Reading

C++: I Before E Except After C

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged after, before, e, except, i, mnemonic, phrase
C++: I Before E Except After C

The phrase "I before E, except after C" is a widely known mnemonic which is supposed to help when spelling English words. Task Description

Continue Reading

C++: Fibonacci Word Fractals

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged fibonacci, fibonacci word, fractal, fractals, s, Word
C++: Fibonacci Word Fractals

The Fibonacci word may be represented as a fractal as described here: For F_wordm start with F_wordCharn=1 Draw a segment forward If curren

Continue Reading

C++: Break OO Privacy

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged break, c, oo, privacy
C++: Break OO Privacy

Show how to access private or protected members of a class in an object-oriented language from outside an instance of the class, without calling non-p

Continue Reading

C++: Base64 Encode Data

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged base64, data, encode
C++: Base64 Encode Data

Convert an array of bytes or binary string to the base64-encoding of that string and output that value. Use the icon for Rosetta Code as the data to c

Continue Reading

Creating a Memory Leak With Java

Posted on September 1, 2017April 2, 2018 by TFE Times
Posted in JavaTagged a, creating, creting, jv, leak, lek, memory, with
Creating a Memory Leak With Java

I just had an interview, and I was asked to create a memory leak with Java. Needless to say I felt pretty dumb having no clue on how to even start cre

Continue Reading

Avoiding “!= Null” Statements in Java?

Posted on September 1, 2017April 2, 2018 by TFE Times
Posted in JavaTagged avoiding, in, java, null, statements
Avoiding “!= Null” Statements in Java?

I work with Java all day long. The most used idiom (code snippet) I’m programming in Java, is to test if an object != null before I use it. This is

Continue Reading

Posts navigation

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