πŸ“… 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.