Skip to content

KC1922/Coding-Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Coding Practice

This repository serves as a showcase of small code exercises that I've worked on to demonstrate my programming skills and practice in various languages, including Java and C#. The code showcased is simple and serves as a way for me to practice the language and exhibit an understanding of key concepts. Larger projects will be located in their own repositories.

Purpose

The purpose of this repository is to:

  • Display my coding style and problem-solving approach.
  • Demonstrate proficiency in languages such as Java and C#.

Feel free to explore the code and solutions. If you have any feedback or suggestions, I'd love to hear them!

Languages

The repository includes code exercises written in:

  • Java
  • C#
  • Python
  • PostgreSQL

How to Explore

  1. Navigate to the language directory of your choice.
  2. Browse through individual exercises and their solutions.
  3. Gain insights into my coding techniques and strategies.

I hope you find the code insightful and enjoy exploring my solutions.

Overview of File Directories and their Contents

Leet Code

  • Simple collection of Leet Code solutions, programmed Java, C#, Python, and PostgreSQL.
  • Each file has a link to its corresponding Leet Code page.

Java

Array Reversing

  • File Name: array_reverse.java
  • Description: Simple program that lets the user populate an array of 10 elements and then reverses the array. Elements can be anything, not just integers.
  • Concepts Demonstrated: Functional interfaces, while loops, swithces, Maps.

Caclulator

  • File Name: calculator.java
  • Description: simple calculator that takes in a calculation and returns the result. Supports basic arithmetic, trigonometric functions, logarithms, and exponentiation.
  • Concepts Demonstrated: Arrays, for loops, user input, methods.

Finding Max and Min

  • File Name: max_min.java
  • Description: Simple program that takes in a list of numbers and determines the maximum and minimum values. Users can also choose to find the 2nd, 3rd, etc. largest/smallest values with error checking to ensure the user doesn't enter a value larger than the list size.
  • Concepts Demonstrated: Sorting, algorithms, user input, methods, functions.

Determine Palindrome

  • File Name: palindrome.java
  • Description: Simple program that takes in a string and determines if it is a palindrome or not.
  • Concepts Demonstrated: String manipulation, algorithms.

Reverse a String

  • File Name: string_reverse.java
  • Description: Simple program that takes in a string and reverses it.
  • Concepts Demonstrated: String manipulation.

Reverse a String's Word Order

  • File Name: word_reverse.java
  • Description: Simple program that takes in a string and reverses the order of the words. Specifically, reverses word order, not character order.
  • Concepts Demonstrated: String manipulation.

Swap Values

  • File Name: swapping_values.java
  • Description: Simple program that takes in two values and swaps them without using a temporary variable or reassignment.
  • Concepts Demonstrated: Bitwise operators, arithmetic manipulation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published