An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# ๐Ÿ† Challenges and Competitions ๐Ÿš€

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
[![Python](https://img.shields.io/badge/python-3.14-blue.svg)](https://www.python.org/downloads/)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=samiratra95@gmail.com&item_name=Code+Broker+Donation&currency_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

[![ADK](https://img.shields.io/badge/Google-ADK-4285F4?logo=google)](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! ๐Ÿš€**