Cracking the Coding Challenge at Sunrise Futures: Insights on MovAvg and C++

Sunrise Futures | 技术电面 | Interview Experience

Interview Date: Not specified
Result: Not specified
Difficulty: Not specified

Interview Process

The interview consisted of a coding section where I was asked to implement a class MovAvg that calculates the moving average of stock prices. The coding question involved the following structure:

struct Tick { int time; double price; };

// Implement class MovAvg { int window; double update(Tick t); }

There were also a few additional questions related to C++.

Technical Questions

  • Implementing a Singleton pattern in C++.
  • Debugging techniques in C++.
  • Moving average calculation (Queue, Sliding Window).

Tips & Insights

The interview experience felt lacking in professionalism, and the interviewers seemed to have a lower skill level. After the interview, I did not receive any follow-up communication.