Skip to content

suyXcode/Python_Codes_by_pirates

Repository files navigation

Top 100 Codes πŸš€

This repository contains solutions to the Top 100 Coding Questions that are frequently asked in placements, interviews, and competitive programming.

The goal of this repository is to help students and developers practice coding problems, understand logic building, and prepare efficiently for interviews.


πŸ“ Problem Categories

πŸ”’ Number-Based Problems

  • Prime Number
  • Palindrome Number
  • Armstrong Number
  • Strong Number
  • Disarium Number
  • Harshad Number
  • Perfect Number
  • Spy Number
  • Automorphic Number
  • Fibonacci Series
  • Factorial (Recursive & Iterative)
  • GCD & LCM
  • Reverse a Number
  • Sum of Digits
  • Swap Two Numbers

πŸ“Š Pattern-Based Problems

  • Star Pyramid
  • Inverted Pyramid
  • Floyd’s Triangle
  • Pascal’s Triangle
  • Number Pyramid
  • Diamond Pattern

🧡 String-Based Problems

  • Palindrome String
  • Anagram Check
  • Count Vowels & Consonants
  • Remove Whitespaces
  • Toggle String Case
  • Reverse a String
  • Substring Check

πŸ’‘ Array-Based Problems

  • Largest & Smallest Element
  • Second Largest Number
  • Sort an Array
  • Linear & Binary Search
  • Rotate an Array
  • Remove Duplicates

(… and more up to 100 problems 🎯)


βš™οΈ Languages Used

The solutions are implemented in Python (default).
You can also try solving them in C, C++, Java, or JavaScript for practice.


🎯 Objective

  • Strengthen problem-solving skills
  • Improve coding logic
  • Prepare for interviews & online assessments

🀝 Contribution

  • Fork this repo 🍴
  • Add more solutions / optimize code
  • Create a pull request with improvements βœ…

πŸ‘¨β€πŸ’» Author

πŸ‘€ Suyash Singh
πŸ”— Github
πŸ’Ό Linkedin
🌐 Portfolio

About

This repository contains solutions to the Top 100 Coding Questions that are frequently asked in placements, interviews, and competitive programming.

Topics

Resources

Stars

Watchers

Forks

Contributors