Skip to content

Instantly share code, notes, and snippets.

/**
* MightyBot Engineering Interview: AI Chat Context Management (C++ Translation)
* ===============================================================================
*
* Implementation file with ContextWindow class and test suite.
* Compile and run: g++ -std=c++11 context_window.cpp -o context_window && ./context_window
*/
#include "context_window.hpp"
#include <sstream>