Coding
leetcode-solutions
Coding | leetcode-solutions | |
---|---|---|
4 | 22 | |
2,290 | 60 | |
- | - | |
0.0 | 9.2 | |
4 months ago | 5 days ago | |
C++ | C++ | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Coding
- Just started reading this book "Groking the coding interview" found this paragraph worth sharing
- My Experience at Codeup: One Year Later
- Merhabalar. Yurt dışına göç hakkında bir kaç sorum olacak.
-
Do you have Cracking the coding interview file?
Github has a good collection of cs books. You can find Cracking the Coding Interview here just click on download if preview isn't available. And while you're at it, also try some leetcoding, this book is a good supplement for that.
leetcode-solutions
-
How can I solve this problem?
This is a 2D prefix sum problem (Check the problems tagged Prefix>Sum>2D in my repository).
-
Can anyone here explain Passing Yearbooks problem?
For more problems like this, check the Permutation> Cycle section here: https://github.com/razimantv/leetcode-solutions
-
Solved Hard#250 with today's weekly (virtually)
All my leetcode solutions are here along with tags. Find today's solutions in the latest commit.
-
Make Array Empty Biweekly Contest
You can't just use (index-displaced) because many positions in between might have already been removed. You need some data structure that can answer questions like "how many numbers in this range have not been removed?" and make updates like "remove this number" efficiently. I did this using a segment tree: https://github.com/razimantv/leetcode-solutions/tree/main/Solutions/M/make-array-empty
-
Code runs fine locally, but won't run on LeetCode
No. I used to answer a lot of programming and math questions on Quora (https://www.quora.com/profile/Raziman-T-V). I also have a GitHub repository of my LeetCode solutions (https://github.com/razimantv/leetcode-solutions)
-
Got TLE on the last problem no matter how I optimized my solution.
Here is my solution: https://github.com/razimantv/leetcode-solutions/tree/main/Solutions/D/difference-between-maximum-and-minimum-price-sum
-
Just solved Problem #1000 with today's daily
If you are interested, all my solutions (mostly C++) are here, along with tags for the algorithms/tricks I used to solve them.
-
Meeting room problem variant
Very similar to maximum profit in job scheduling. Can be done with sorting+dp with binary search: https://github.com/razimantv/leetcode-solutions/tree/main/Solutions/M/maximum-profit-in-job-scheduling
-
Can we do this question with sliding ? if yes then how?
One way to solve this would be to keep a hash map of prefix sums modulo k: https://github.com/razimantv/leetcode-solutions/tree/main/Solutions/C/continuous-subarray-sum
-
Facing wrong answer with implementation of Rabin Karp algorithm, can you help?
Here is my c++ implementation of a similar problem, try to take a look.
What are some alternatives?
Crack-Your-Placement - 🎯 Repo for placement-preparation, DSA, Problem-Solving, Competitive Programming, CS-Fundamentals
DSA-Bootcamp-Java - This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs.
python-coding-interview - A middle-to-high level open source algorithm book designed with coding interview at heart!
Fork_CPP - This repository contain the C++ program from basic to advance. This repository will help you to prepare for the interview questions.
Interview-Checkpoints - Keeping track of my various DSA solutions to Leetcode, Hackerrank & Striver's sheet! BasicChecklist has all the theory notes for interviews.
cp-algorithms - Algorithm and data structure articles for https://cp-algorithms.com (based on http://e-maxx.ru)
aoc2021 - Advent of Code 2021 - my answers
codewars.com - Issue tracker for Codewars
callofcode - Coding exercises for beginners. Want to contribute, check out the issues.
influential-cs-books - Most influential books on Computer Science/programming
leetcode-contest - soutions to leetcode contests hi