Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

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

Author: TFE Times

C++: Lucas-Lehmer Test

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, lehmer, lucas, lucas-lehmer test, prime, test
C++: Lucas-Lehmer Test

Lucas-Lehmer Test: for p an odd prime, the Mersenne number 2p − 1 is prime if and only if 2p − 1 divides S(p − 1) where S(n + 1) = (S(n))2 − 2

Continue Reading

C++ vs Python: 1 Hour Pong Challenge

Posted on September 1, 2017October 9, 2017 by TFE Times
Posted in C++ VideosTagged 1, challenge, hour, pong, Python, vs
C++ vs Python: 1 Hour Pong Challenge

https://www.youtube.com/watch?v=v0lAdyhgqio

Continue Reading

C++: Hickerson Series of Almost Integers

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged almost, c, erie, hickerson, hickerson series, integer, of, s, series
C++: Hickerson Series of Almost Integers

The following function, due to D Hickerson, is said to generate "Almost integers" by the "Almost Integer" page of Wolfram Mathworld. (December 31 2013

Continue Reading

C++: For Loop with a Specified Step

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, for loop, loop, specified, step, with
C++: For Loop with a Specified Step

Demonstrate a for-loop where the step-value is greater than one. This prints all odd digits: for (int i = 1; i < 10; i += 2) std::cout &

Continue Reading

C++: Pythagorean Means

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, means, pythagorean
C++: Pythagorean Means

Compute all three of the Pythagorean means of the set of integers 1 through 10. Show that for this set of positive integers. The most common

Continue Reading

C++: AVL Tree

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged avl, c, tree
C++: AVL Tree

In computer science, an AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by a

Continue Reading

C++: Calendar

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ PuzzlesTagged calendar
C++: Calendar

Create a routine that will generate a text calendar for any year. Test the calendar by generating a calendar for the year 1969, on a device of the tim

Continue Reading

C++: Closures/Value Capture

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, capture, closuresvalue
C++: Closures/Value Capture

Task: Create a list of 10 functions, in the simplest manner possible (anonymous functions are encouraged), such that the function at index i (you may

Continue Reading

C++: Determine if a String Is Numeric

Posted on September 1, 2017October 10, 2017 by TFE Times
Posted in C++ StringsTagged a, determine, if, is, numeric, string
C++: Determine if a String Is Numeric

Create a boolean function which takes in a string and tells whether it is a numeric string (floating point and negative numbers included) in the synta

Continue Reading

C++: Generic Swap

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, generic, swap, variables
C++: Generic Swap

The task is to write a generic swap function or operator which exchanges the values of two variables (or, more generally, any two storage places that

Continue Reading

Posts navigation

Older posts
Newer posts
University of Maryland Masters of Economics Sideboard
University of California Irvine Leaderboard
University of Maryland Masters of Economics Sideboard
output_8BgzjE
NYU Tandon School of Engineering Sideboard
Click here
University of California Berkeley Master of Financial Engineering MFE Sideboard
Brandeis Business School
  • How to Build an AI Strategy That Delivers Business Value

    August 25, 2026 by TFE Times
  • Long-Distance Animal Migrations

    August 25, 2026December 30, 2025 by TFE Times
  • Why Employers Should Address Workplace Restrictions Promptly

    August 24, 2026 by TFE Times
  • Global Trade Growth By Product

    August 24, 2026December 30, 2025 by TFE Times
  • Smart Ways to Cut Operating Costs Without Slowing Business Growth

    August 23, 2026 by TFE Times
  • Average Hourly Wage By State

    August 23, 2026December 30, 2025 by TFE Times
  • Top 10 Restaurants in Denver, Colorado

    August 23, 2026June 20, 2026 by TFE Times
  • Top 10 Restaurants in Berlin, Germany

    August 22, 2026June 20, 2026 by TFE Times
  • The History of the 8-Iron: The Club That Turned Approach Shots Into Scoring Opportunities

    August 21, 2026July 13, 2026 by TFE Times
  • Custom Metalwork Meets Digital Design: Inside CopperSmith’s Manufacturing Model

    August 20, 2026August 20, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes