Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

C++: Longest Common Subsequence

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged common, longest, subsequence
C++: Longest Common Subsequence

#include <algorithm> #include <string> #include <vector> #include <stdio.h> #include <string.h> // See http

Continue Reading

Why doesn’t GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C QuestionsTagged aaaaaa, doesnt, gcc, optimize, to, why
Why doesn’t GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?

I am doing some numerical optimization on a scientific application. One thing I noticed is that GCC will optimize the call pow(a,2) by compiling it in

Continue Reading

C++: Bubble Sort

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged bubble, c, sort
C++: Bubble Sort

#include <algorithm> template<typename Iterator> void bubbleSort(Iterator first, Iterator last) { Iterator i, j; for (i = fir

Continue Reading

C++: Merge Sort

Posted on September 1, 2017April 1, 2018 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, 2017April 2, 2018 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, 2017April 1, 2018 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, 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

C++: What is The Rule of Three?

Posted on September 1, 2017April 1, 2018 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

Posts navigation

Older posts
Newer posts
Click here
output_8BgzjE
Brandeis Business School
University of California Berkeley Master of Financial Engineering MFE Sideboard
University of Maryland Masters of Economics Sideboard
NYU Tandon School of Engineering Sideboard
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
  • Illustrated dining collage for Best Restaurants in Ames: 15 Standout Places to Eat

    Best Restaurants in Ames: 15 Standout Places to Eat

    October 10, 2026October 2, 2026 by TFE Times
  • Wide aerial view of a nuclear generating complex beside tidal marshes and a broad river, with a large cooling tower, rounded reactor buildings, an electrical switchyard, and rows of transmission towers.

    History of Public Service Enterprise Group

    October 9, 2026September 19, 2026 by TFE Times
  • Illustrated dining collage for Best Restaurants in Ann Arbor: 15 Standout Places to Eat

    Best Restaurants in Ann Arbor: 15 Standout Places to Eat

    October 9, 2026October 2, 2026 by TFE Times
  • The Most Overlooked Feature of Modern Travel Data Plans

    October 9, 2026 by TFE Times
  • Champions under pressure: how every defending champion looked after five games

    October 9, 2026 by TFE Times
  • The History of the Putter: How Golf’s Simplest Club Became Its Most Personal

    October 9, 2026July 13, 2026 by TFE Times
  • 6 Leading GEO Agencies for ChatGPT, Gemini, and AI Search Visibility

    October 8, 2026 by TFE Times
  • A central pharmacy conveyor with blank cartons, a prescription container, and skincare bottles runs between two dark wooden counters, one displaying herbs, apothecary drawers, a brass balance, and a mortar, and the other displaying amber bottles, glass vessels, a scale, and a soda-fountain glass.

    History of Walgreens Boots Alliance

    October 8, 2026September 19, 2026 by TFE Times
  • Illustrative cover for Best Restaurants in Antwerp: 15 Standout Places to Eat

    Best Restaurants in Antwerp: 15 Standout Places to Eat

    October 8, 2026October 2, 2026 by TFE Times
  • How Champagne Became the Drink of Celebration

    October 8, 2026July 13, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes