Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

MAFI_728x90
University of Maryland Masters of Economics Leaderboard
NYU Tandon School of Engineering Leaderboard
University of Maryland Masters of Economics  Leaderboard
RPI Leaderboard
University of California Irvine Leaderboard
Brandeis University Master of Finance Leaderboard 728x90
Click here
MAFI_728x90
University of California Irvine Leaderboard
Click here
Click here
  • Business
  • Culture
    • Beer Guide
    • Cheese Guide
    • Cigar Guide
    • Coffee Guide
    • Wine Guide
  • 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
  • WSET
    • WSET Level 1 Beer
    • WSET Level 2 Beer
    • WSET Level 1 Sake
    • WSET Level 2 Sake
    • WSET Level 3 Sake
    • WSET Level 1 Spirits
    • WSET Level 2 Spirits
    • WSET Level 3 Spirits
    • WSET Level 1 Wine
    • WSET Level 2 Wine
    • WSET Level 3 Wine
    • WSET Level 4 Wine

C++: Merge Sort

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged c, merge, sort
C++: Merge Sort

#include <iostream> using namespace std; void merge(int a[], const int low, const int mid, const int high) { // Variables declarati

Continue Reading

Read/convert an InputStream to a String

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged a, an, inputstream, inputstrem, n, readconvert, redconvert, string, to
Read/convert an InputStream to a String

If you have java.io.InputStream object, how should you process that object and produce a String? Suppose I have an InputStream that contains te

Continue Reading

C++ String Algorithms

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged algorithms, c, string
C++ String Algorithms

[pt_view id="ce50e34ece"]

Continue Reading

C++ Sorts

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

[pt_view id="cd7c62717a"]

Continue Reading

Creating a Memory Leak With Java

Posted on September 1, 2017November 7, 2026 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, 2017November 7, 2026 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

C++: What is The Rule of Three?

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged c, is, of, rule, the, three, what
C++: What is The Rule of Three?

What does copying an object mean? What are the copy constructor and the copy assignment operator? When do I need to declare them myself? How can I

Continue Reading

C++ Binary Search Trees

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged binary, c, search, trees
C++ Binary Search Trees

[pt_view id="3a985d76d6"]

Continue Reading

C++: Why is one loop so much slower than two loops?

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged c, is, loop, loops, much, one, s, slower, so, than, two, why
C++: Why is one loop so much slower than two loops?

Suppose a1, b1, c1, and d1 point to heap memory and my numerical code has the following core loop. const int n=100000 for(int j=0;j<n;j++){

Continue Reading

C++: What does the explicit keyword in C++ mean?

Posted on September 1, 2017November 7, 2026 by TFE Times
Posted in C++Tagged c, does, explicit, in, keyword, mean, the, what
C++: What does the explicit keyword in C++ mean?

Someone posted in a comment to another question about the meaning of the explicit keyword in C++. So, what does it mean? Skizz Answer: In C++, th

Continue Reading

Posts navigation

Older posts
Newer posts
University of California Berkeley Master of Financial Engineering MFE Sideboard
NYU Tandon School of Engineering Sideboard
output_8BgzjE
Brandeis Business School
Click here
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
  • Best Restaurants in East Lansing: 15 Standout Places to Eat — food and city collage

    Best Restaurants in East Lansing: 15 Standout Places to Eat

    November 15, 2026October 16, 2026 by TFE Times
  • A skier asking a lift attendant for guidance beside an empty chair at a lower loading terminal.

    How to Ride a Chairlift and Other Ski Lifts

    November 15, 2026October 25, 2026 by TFE Times
  • The History of the 1-Iron: Golf’s Most Feared Club

    November 15, 2026November 7, 2026 by TFE Times
  • Conceptual distillery cutaway showing grain preparation, fermentation, a copper still and maturation barrels from left to right.

    How Whiskey Is Made: From Grain to Glass

    November 15, 2026October 24, 2026 by TFE Times
  • Close view of black boots in bindings on a blue snowboard, with the toe-side steel edge and snow crystals prominent in the foreground.

    Heel-Side vs. Toe-Side: Understanding Your Snowboard Edges

    November 14, 2026October 26, 2026 by TFE Times
  • A warmly lit vintage laboratory bench with two microscopes, testing devices, and a rack of glass tubes stands beside a large white-and-blue modern automated laboratory analyzer in a spacious room.

    History of Labcorp Holdings

    November 14, 2026September 19, 2026 by TFE Times
  • Best Restaurants in Fargo: 15 Standout Places to Eat — illustrative city and food montage

    Best Restaurants in Fargo: 15 Standout Places to Eat

    November 14, 2026October 16, 2026 by TFE Times
  • Rounded S-shaped ski tracks crossing a broad groomed slope in low winter sunlight.

    How to Control Your Speed While Skiing

    November 14, 2026October 25, 2026 by TFE Times
  • Chardonnay Explained: The Versatile White Wine Beyond Oak and Butter

    November 14, 2026October 18, 2026 by TFE Times
  • Illustrated exhibit with separate bays for beer and grain, wine and grapes, and a spirit sample beside distillation equipment.

    Spirits vs. Wine vs. Beer: What’s the Difference?

    November 14, 2026October 25, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes