https://github.com/samir-atra/challenges_and_competitions
A group of programs and solutions to kaggle challenges and programming competitions
https://github.com/samir-atra/challenges_and_competitions
algorithms algorithms-and-data-structures artificial-intelligence deep-neural-networks gemma3 kaggle kaggle-competition kickstart leetcode llm machine-learning ml-olympiad
Last synced: 24 days ago
JSON representation
A group of programs and solutions to kaggle challenges and programming competitions
- Host: GitHub
- URL: https://github.com/samir-atra/challenges_and_competitions
- Owner: Samir-atra
- License: apache-2.0
- Created: 2025-09-23T05:40:13.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-23T10:38:08.000Z (9 months ago)
- Last Synced: 2025-09-23T12:32:12.552Z (9 months ago)
- Topics: algorithms, algorithms-and-data-structures, artificial-intelligence, deep-neural-networks, gemma3, kaggle, kaggle-competition, kickstart, leetcode, llm, machine-learning, ml-olympiad
- Language: Jupyter Notebook
- Homepage:
- Size: 976 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ Challenges and Competitions ๐
[](LICENSE)
[](https://www.python.org/downloads/)
[](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=samiratra95@gmail.com&item_name=Code+Broker+Donation¤cy_code=USD)
Welcome to my comprehensive collection of solutions for various programming challenges and competitions! This repository showcases my work across multiple platforms including Kaggle, LeetCode, HackerEarth, Google Code Golf, and NeurIPS competitions. I'm passionate about problem-solving, machine learning, and AI, and this repository documents my journey through diverse computational challenges.
---
## ๐ Table of Contents
- [Agents Intensive Capstone Project](#-agents-intensive-capstone-project)
- [Machine Learning Competitions](#-machine-learning-competitions)
- [ML Olympiad 2024](#-ml-olympiad-2024)
- [NeurIPS 2025 - Google Code Golf Championship](#-neurips-2025---google-code-golf-championship)
- [ESA Fake or Real Challenge](#%EF%B8%8F-esa-fake-or-real-the-impostor-hunt-in-texts)
- [Viz Wiz Image Classification](#%EF%B8%8F-viz-wiz-image-classification-challenge)
- [Algorithmic Challenges](#-algorithmic-challenges)
- [LeetCode](#-leetcode)
- [Google Kick Start](#-google-kick-start)
- [HackerEarth](#-hackerearth)
- [How to Use](#-how-to-use)
- [Contributing](#-contributing)
- [License](#-license)
---
## ๐ค Agents Intensive Capstone Project
**Code Broker** - An AI-Powered Multi-Agent Code Assessment System
[](https://google.github.io/adk-docs/)
- **Competition:** [Agents Intensive Capstone Project](https://www.kaggle.com/competitions/agents-intensive-capstone-project)
- **Description:** Code Broker is an intelligent multi-agent system built with Google's Agent Development Kit (ADK) that automatically analyzes code files, directories, or GitHub repositories and generates comprehensive assessment reports with actionable improvement recommendations.
### โจ Key Features
- ๐ **Multi-Source Analysis**: Supports files, directories, and GitHub repositories
- ๐ **Comprehensive Scoring**: Metrics for correctness, security, style, and maintainability
- ๐ค **5-Agent Architecture**: Parallel processing with specialized AI agents
- ๐ **Beautiful Reports**: Markdown and HTML formatted assessment outputs
- โก **Fast & Reliable**: Async processing with retry mechanisms
- ๐จ **Pylint Integration**: Automated Python code quality analysis
### ๐ Project Contents
```
Agents_intensive_capstone_project/
โโโ code_broker_documented.ipynb # Main executable notebook with full documentation
โโโ requirements.txt # Python dependencies (google-genai, etc.)
โโโ README.md # Detailed project documentation
```
### ๐๏ธ Multi-Agent Architecture
- **Report Generator** (Orchestrator): Coordinates the entire workflow
- **Sequential Pipeline Agent**: Manages assessment flow
- **Parallel Assessment Agent**: Runs 3 agents concurrently:
- Correctness Assessor
- Style Assessor
- Description Generator
- **Improvement Recommender**: Synthesizes findings into actionable recommendations
**Reference:**
```bibtex
@misc{agents-intensive-capstone-project,
author = {Walter Reade and Ashley Chow},
title = {Agents Intensive - Capstone Project},
year = {2025},
howpublished = {\url{https://kaggle.com/competitions/agents-intensive-capstone-project}},
note = {Kaggle}
}
```
[๐ Read Full Documentation](Agents_intensive_capstone_project/README.md)
---
## ๐งฌ Machine Learning Competitions
### ๐ค ML Olympiad 2024
A collection of machine learning challenges focusing on real-world applications.
#### ๐ Predicting Earthquake Damage
- **Challenge:** [ML Olympiad - Predicting Earthquake Damage](https://www.kaggle.com/competitions/ml-olympiad-predicting-earthquake-damage)
- **Description:** Predict the level of damage to buildings caused by earthquakes based on various building and location features.
- **Technology Stack:**
- TensorFlow & Keras for deep learning
- Feedforward neural network architecture
- Feature engineering for building characteristics
- **Files:**
- `ML_Olympiad_2024/Predicting_earthquack_damage/EarthQuake.ipynb` - Main solution notebook
- `ML_Olympiad_2024/Predicting_earthquack_damage/EarthQuakeDamage.py` - Python implementation
- Multiple submission CSV files (submission.csv through submission7.csv)
**Reference:**
```bibtex
@misc{ml-olympiad-predicting-earthquake-damage,
author = {Tensor Girl},
title = {ML Olympiad - Predicting Earthquake Damage},
year = {2024},
howpublished = {\url{https://kaggle.com/competitions/ml-olympiad-predicting-earthquake-damage}},
note = {Kaggle}
}
```
#### ๐ข The Turtle Vision Challenge
- **Challenge:** [ML Olympiad - TurtleVision Challenge](https://www.kaggle.com/competitions/mlo2024mlact)
- **Description:** Classify images of marine life to distinguish between different species of turtles, jellyfish, and plastic pollution - an important task for marine conservation.
- **Technology Stack:**
- Transfer learning with pre-trained InceptionV3
- Fine-tuning on marine life dataset
- Computer vision for conservation
- **Files:**
- `ML_Olympiad_2024/Turtle_vision_challenge/TurtleVision_Challenge.ipynb` - Main solution
- Multiple prediction CSV files for different model versions
**Reference:**
```bibtex
@misc{mlo2024mlact,
author = {Ahmed LOUHICHI and Anas Lahdhiri and Imen MASMOUDI and Mehdi SOMRANI and Seif Eddine Achour},
title = {ML Olympiad - TurtleVision Challenge},
year = {2024},
howpublished = {\url{https://kaggle.com/competitions/mlo2024mlact}},
note = {Kaggle}
}
```
[๐ Read ML Olympiad Documentation](ML_Olympiad_2024/README.md)
---
### ๐ง NeurIPS 2025 - Google Code Golf Championship
- **Competition:** [NeurIPS 2025 - Google Code Golf Championship](https://www.kaggle.com/competitions/google-code-golf-2025)
- **Description:** Part of the NeurIPS 2025 conference, this competition challenges participants to write the shortest possible code for solving ARC (Abstraction and Reasoning Corpus) tasks. The goal is to optimize for code length while maintaining correctness, encouraging creative and efficient solutions.
### ๐ฏ What is Code Golf?
Code Golf is a type of recreational computer programming competition where participants strive to achieve the shortest possible source code that implements a specified algorithm. In this challenge, every character counts!
### ๐ Project Contents
```
NeurIPS_2025_Google_Code_Golf_Championship/
โโโ generate_all_solvers.py # Script to generate solver code for all tasks
โโโ run_and_visualize.py # Execution and visualization utilities
โโโ visualize_arc_tasks.py # ARC task visualization tools
โโโ generated_solver/ # Contains 400+ task-specific solvers
โโโ task001.py through task400.py (and beyond)
```
### ๐ง Key Components
- **Automated Solver Generation:** Scripts to programmatically generate optimized solutions
- **Visualization Tools:** Utilities to visualize ARC puzzle patterns and transformations
- **400+ Task Solutions:** Individual Python solvers for diverse reasoning challenges
- **Code Optimization:** Focus on minimal character count while maintaining functionality
**Reference:**
```bibtex
@misc{google-code-golf-2025,
author = {Michael D. Moffitt and Divy Thakkar and Ryan Burnell and Orhan Firat and Walter Reade and Sohier Dane and Addison Howard},
title = {NeurIPS 2025 - Google Code Golf Championship},
year = {2025},
howpublished = {\url{https://kaggle.com/competitions/google-code-golf-2025}},
note = {Kaggle}
}
```
---
### ๐ต๏ธ ESA Fake or Real: The Impostor Hunt in Texts
- **Challenge:** [Fake or Real: The Impostor Hunt in Texts](https://www.kaggle.com/competitions/fake-or-real-the-impostor-hunt)
- **Organizer:** European Space Agency (ESA)
- **Description:** Distinguish between real human-written texts and AI-generated fake texts using natural language processing techniques.
### ๐ฌ Approaches Implemented
1. **English Word Detection Baseline**
- Uses `langdetect` library to calculate proportion of English words
- Simple and interpretable method
- Assumes real text has higher percentage of English words
2. **Character-Level Baseline**
- Analyzes proportion of Latin characters
- Language-agnostic signal for text classification
- Provides alternative to word-based detection
3. **Generative AI Detection**
- Leverages Google's `gemma-3-27b-it` model
- Step-by-step analysis to determine text authenticity
- Advanced approach using cutting-edge LLMs
### ๐ Project Contents
```
ESA_Fake_or_Real:_The_Impostor_Hunt_in_Texts/
โโโ baseline-solution.ipynb # Complete solution with all three approaches
โโโ README.md # Detailed project documentation
```
### ๐ ๏ธ Technology Stack
- Python 3.x
- langdetect for language detection
- Google Generative AI (Gemma models)
- scikit-learn for evaluation
- pandas for data processing
**Reference:**
```bibtex
@misc{fake-or-real-the-impostor-hunt,
author = {Agata Kaczmarek and Dawid Pลudowski and Krzysztof Kotowski and Ramez Shendy and Artur Janicki and Przemysลaw Biecek and Evridiki Ntagiou},
title = {Fake or Real: The Impostor Hunt in Texts},
year = {2025},
howpublished = {\url{https://kaggle.com/competitions/fake-or-real-the-impostor-hunt}},
note = {Kaggle}
}
```
[๐ Read Full Documentation](ESA_Fake_or_Real:_The_Impostor_Hunt_in_Texts/README.md)
---
### ๐ผ๏ธ Viz Wiz Image Classification Challenge
- **Challenge:** [Viz Wiz Image Classification](https://vizwiz.org/tasks-and-datasets/image-classification/)
- **Description:** Classify images from the Viz Wiz dataset, which contains images taken by people who are blind or have low vision. This challenge has important implications for accessibility technology.
### ๐ Project Contents
```
Viz_Wiz_Challenges/
โโโ Classifier.ipynb # Image classification solution
โโโ README.md # Project documentation
```
### ๐ฏ Impact
This project contributes to making technology more accessible for visually impaired individuals by improving image understanding and classification systems.
[๐ Read Full Documentation](Viz_Wiz_Challenges/README.md)
---
## ๐งฉ Algorithmic Challenges
### ๐ง LeetCode
Solutions to algorithmic problems from [LeetCode](https://leetcode.com/), a platform for practicing coding skills and preparing for technical interviews.
#### ๐ Solutions
```
LeetCode/
โโโ AddTwoNumbers.py # Linked list manipulation
โโโ PalindromNumber.py # Number theory and palindromes
โโโ TwoSumAlgorithm.py # Hash table and array processing
```
Each solution demonstrates:
- โ
Efficient algorithms and data structures
- ๐ Time and space complexity optimization
- ๐ก Clean, readable Python code
---
### ๐
Google Kick Start
Collection of solutions for [Google Kick Start](https://codingcompetitions.withgoogle.com/kickstart), Google's global online coding competition (now retired but historically significant).
#### ๐ Solutions
```
Google_KickStart_Multiple_Years/
โโโ BuildingPalindromes.py # String manipulation and palindromes
โโโ CGame.py # Game theory
โโโ CentauriPrime.py # Logic and conditionals
โโโ ChallengeNine.py # Number theory
โโโ GBusCount.ipynb # Array processing
โโโ MagicalWellOfLilies.py # Dynamic programming
โโโ NewPassword.py # String processing
โโโ Palindrome.py # Advanced palindrome algorithms
โโโ RunninginCircles.py # Simulation
โโโ SamplProblem.ipynb # Sample problem walkthrough
โโโ SortTheFabrics.ipynb # Sorting algorithms
โโโ Walktober.py # Array manipulation
โโโ WiggleWalk.ipynb # Grid traversal
โโโ infinity.py # Mathematical puzzles
```
**Technologies Used:**
- Python for implementation
- Jupyter notebooks for interactive solutions
- Advanced algorithms: DP, greedy, graph theory, number theory
---
### ๐ HackerEarth
Solutions for challenges on [HackerEarth](https://www.hackerearth.com/challenges/), a competitive programming platform.
```
HackerEarth/
โโโ MaximumBoarders.py # Optimization problem
```
---
## ๐ How to Use
### General Setup
1. **Clone the repository:**
```bash
git clone https://github.com/Samir-atra/Challenges_and_Competitions.git
cd Challenges_and_Competitions
```
2. **Navigate to specific challenge:**
```bash
cd [Challenge_Directory]
```
3. **Install dependencies:**
- Most projects include their own `requirements.txt`
- For general Python scripts, standard libraries are typically sufficient
- For ML projects: TensorFlow, Keras, scikit-learn, pandas, numpy
- For AI agent projects: Google ADK, google-genai
### Running Solutions
**Python Scripts:**
```bash
python script_name.py
```
**Jupyter Notebooks:**
```bash
jupyter notebook notebook_name.ipynb
# Or use VS Code, Google Colab, or JupyterLab
```
### โ ๏ธ Important Notes
- **Data Paths:** Some file paths in notebooks may be hardcoded. Update these to match your local directory structure.
- **API Keys:** Projects using external APIs (e.g., Google AI) require API keys. Set these up in `.env` files as documented in individual project READMEs.
- **Dependencies:** Each major project has its own `requirements.txt` file. Install dependencies specific to that project.
---
## ๐ค Contributing
I welcome collaboration and suggestions! Here's how you can contribute:
1. **Fork the repository**
2. **Create a feature branch** (`git checkout -b feature/amazing-solution`)
3. **Commit your changes** (`git commit -m 'Add amazing solution'`)
4. **Push to the branch** (`git push origin feature/amazing-solution`)
5. **Open a Pull Request**
### Contribution Ideas
- ๐ก Alternative solutions to existing problems
- ๐ Bug fixes or optimizations
- ๐ Documentation improvements
- ๐ Solutions to new challenges
- ๐งช Test cases and validation
---
## ๐ Repository Statistics
- **Total Competitions:** 8+ (Kaggle, LeetCode, Google Kick Start, HackerEarth, NeurIPS)
- **Machine Learning Projects:** 5
- **AI Agent Systems:** 1 (Multi-agent architecture)
- **Algorithmic Solutions:** 20+
- **Technologies:** Python, TensorFlow, Keras, Google ADK, Jupyter
- **Domains:** ML, NLP, Computer Vision, AI Agents, Code Golf, Competitive Programming
---
## ๐จโ๐ป Author
**Samer Atra**
- GitHub: [@Samir-atra](https://github.com/Samir-atra)
- Passionate about AI, Machine Learning, and Competitive Programming
---
## ๐ License
This repository is licensed under the **Apache License 2.0**. See the [LICENSE](LICENSE) file for complete details.
```
Copyright 2025 Samer Atra
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
```
---
## ๐ Acknowledgments
Special thanks to all the competition organizers:
- Kaggle and the competition hosts
- Google (Kick Start, ADK, Code Golf)
- European Space Agency (ESA)
- NeurIPS Conference
- LeetCode, HackerEarth, and VizWiz communities
---
### โญ Star this repo if you find it useful! and donate through the button on the top of the readme file to support my work!
**Happy Coding! ๐**