π 2023-09-11 β Session: Explored C++ and Algorithmic Strategies
π 16:00β16:25
π·οΈ Labels: C++, Algorithm, Python, Brute Force, Dynamic Programming
π Project: Dev
β Priority: MEDIUM
Session Goal
The session aimed to explore various programming and algorithmic strategies, focusing on C++ programming and algorithm testing.
Key Activities
- C++ Programming: Installed a C++ compiler and ran a C++ program across different operating systems. Addressed the βundefined reference to mainβ error.
- Algorithm Development: Implemented a brute force algorithm in Python to minimize unhappiness and translated Python code to C++.
- Algorithm Testing: Tested discrepancies between greedy and brute force algorithms through simulations.
- Algorithmic Strategies: Discussed the efficiency of brute force, greedy, and dynamic programming approaches.
Achievements
- Successfully installed and executed C++ code on multiple platforms.
- Resolved common C++ errors and translated Python functions to C++.
- Developed and tested a brute force algorithm for minimizing unhappiness.
- Explored different algorithmic strategies and their trade-offs.
Pending Tasks
- Further exploration of dynamic programming strategies in C++.
- Optimization of the brute force algorithm for better performance.