Programming
A GitHub repository where I save all my solved problem from Hackerrank, leetcode, codeforces mostly. The solutions are mostly in Python and C++. A simple initiative to increase my analytical skills. Solved problems with tutorials are given here. Updated frequently!!
Install / Use
/learn @KaziAmitHasan/ProgrammingREADME
Author: Kazi Amit Hasan
Department of Computer Science & Engineering, </br> Rajshahi University of Engineering & Technology (RUET) </br> Website: https://amithasanshuvo.github.io/ </br> ResearchGate: https://www.researchgate.net/profile/Kazi_Amit_Hasan </br> Linkedin: https://www.linkedin.com/in/kazi-amit-hasan/ </br> Email: kaziamithasan89@gmail.com
Programming
I tried to solve programming problems from codeforces, codechef, leetcode, hackerrank, hackerearth and many other platforms.It's my little effort to put all the solutions here to help others to understand.
Languages
- Python 3.7.0,
- C++
Best way to open this project
- Install PyCharm or VS code on your machine.(Make sure you use Python 3.7 or higher)
- git clone this repo to your local disk.
- For C++ codes follow this link: https://code.visualstudio.com/docs/languages/cpp
Interview Preparation
| # | Title | Solutions | Time | Space | Video/Explanation | Difficulty | Tag | | --- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | ---- | ----- | ----------------- | ---------- | --- | | 1 | Basic Data Types | Solution | | Easy | C++ | | 2 | For loop in C | Solution | | Easy | C++ | | 3 | Playing with Characters | Solution | | Easy | C++ | | 3 | Playing with Characters | Solution | | Easy | C++ | | 4 | Count Digits | Solution | | Easy | C++ |
Other Solved Problems
| # | Title | Solutions | Time | Space | Video/Explanation | Difficulty | Tag | | --- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ---- | ----- | -------------------------------------------------- | ---------- | ------------------------- | | 1 | Football | Solution | O(1) | O(1) | http://codeforces.com/blog/entry/64130 | Easy | Strings | | 2 | Range of sum BST | Solution | | | https://www.youtube.com/watch?v=bD9oYzwfZ1w | Easy | Tree | | 3 | Array Stabilization | Solution | | | http://codeforces.com/blog/entry/64130 | Easy | Implementation | | 4 | Boy or Girl | Solution | | | https://codeforces.com/blog/entry/5592 | Easy | Brute Force | | 5 | Chat room | Solution | | | https://codeforces.com/blog/entry/1771 | Easy | Greedy | | 6 | Chef and Interactive Contests | Solution | | | https://www.youtube.com/watch?v=aWBkxc__VDY | Easy | Implementation | | 7 | Fancy Quotes | Solution | | | https://www.youtube.com/watch?v=xZKd3lkYLdE | Easy | Implementation | | 8 | Gennady and a Card Game | Solution | | | https://codeforces.com/blog/entry/64310 | Easy | Implementation | | 9 | Helpful Math | Solution | | | http://codeforces.com/blog/entry/8725 | Easy | Greedy | | 10 | Integer Sequence Dividing | Solution | | | https://codeforces.com/blog/entry/64439 | Easy | Math | | 11 | Remove Duplicates from Sorted Array | Solution | | | https://www.youtube.com/watch?v=VSq4wxSpbTc&t=2s | Easy | Array | | 12 | Jewels and Stones | Solution | | | https://www.youtube.com/watch?v=9Reqqk60Nv4&t=32s | Easy | Hash Table | | 13 | Lucky Division | Solution | | | https://codeforces.com/blog/entry/2956 | Easy | Brute Force,Number Theory | | 14 | Middle of the Contest | Solution | | | http://codeforces.com/blog/entry/65807 | Easy | Implementation | | 15 | Petya and Strings | Solution | | | http://codeforces.com/blog/entry/2616 | Easy | Implementation | | 16 | To lower case | Solution | | | | Easy | String | | 17 | Unique Morse Code Words | Solution | | | | Easy | Hash Table | | 18 | Big Countries | Solution | | | | Easy | Database | | 19 | Sort array by parity | Solution | | | | Easy | Array | | 20 | N-Repeated Element in Size 2N Array | Solution | | | https://www.youtube.com/watch?v=LsDeiI3yhG0 | Easy | Array | | 21 | Squares of a Sorted Array | Solution | | | | Easy | Array
