Skip to content

Small, interview-focused Java and Python code snippets that demonstrate core computer science concepts, common pitfalls, and frequently asked patterns.

Notifications You must be signed in to change notification settings

CynthiyaJohn/cs-interview-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 CS Interview Snippets

Daily interview preparation log
Java & Python Β· Small, focused code updates

Last updated as part of end-of-day practice.


🧠 What this repo is

  • Small, focused code snippets
  • One concept per file
  • Updated incrementally as part of daily preparation

β˜• Java (covered over time)

  • Concurrency & thread safety
  • Java Memory Model (volatile, visibility, atomicity)
  • Synchronization, locks, executors
  • Immutability & JVM thread behavior

🐍 Python (covered over time)

  • Mutability & object references
  • Copying & memory behavior
  • Generators & lazy evaluation
  • GIL, threading & multiprocessing
  • Decorators & context managers

πŸ” Update style

  • Add or refine 1–2 concepts per day
  • Commit with clear, concept-based messages
  • Keep snippets runnable and explainable

⚠️ Note

This repository is for learning and interview preparation, not for production use.

About

Small, interview-focused Java and Python code snippets that demonstrate core computer science concepts, common pitfalls, and frequently asked patterns.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published