Skip to content

ericpena/code-samples

Repository files navigation

Coding Examples Repository

Welcome to my coding examples repository! This repository is a collection of various coding exercises and examples that I come across as I study. The goal is to document and share these examples, making it easier for others (and myself) to refer back to them in the future.

Overview

This repository contains coding examples primarily in Python and SQL. Each example is organized in a way that makes it easy to understand and reuse. The examples cover a range of topics and difficulty levels, suitable for both beginners and more advanced users.

Python Examples

In the Python directory, you will find examples ranging from basic syntax and data structures to more advanced topics like algorithms and popular libraries such as Pandas, NumPy, and Matplotlib. I've included different solutions to the same problem as well.

Examples:

  • Basics: Simple programs to understand Python syntax and basic concepts.
  • Data Structures: Implementation and usage of data structures like lists, dictionaries, sets, etc.
  • Algorithms: Common algorithms including sorting, searching, and others.
  • Libraries: Examples using popular Python libraries for data analysis and visualization.

SQL Examples

The SQL directory contains examples of SQL queries and concepts. These examples range from basic query syntax to more complex operations like joins, subqueries, and query optimization techniques.

Examples:

  • Basics: Basic SQL commands for creating, reading, updating, and deleting data.
  • Queries: Examples of selecting and filtering data from databases.
  • Joins: Different types of joins to combine data from multiple tables.
  • Subqueries: Using subqueries to perform more complex data operations.
  • Optimization: Techniques to optimize SQL queries for better performance.

Contributions

Contributions are welcome! If you have any coding examples that you would like to share or improvements to the existing ones, feel free to submit a pull request. Please make sure to follow the existing structure and include clear explanations for your examples.

Contact

If you have any questions, suggestions, or feedback, feel free to reach out to me via GitHub issues or directly at [pena.eng.physics@gmail.com].

Happy coding!

About

Coding exercises and tips from self-study

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published