leetcode-solutions
My solutions to Leetcode Problems (by razimantv)
DSA-Bootcamp-Java
This repository consists of the code samples, assignments, and notes for the Java data structures & algorithms + interview preparation bootcamp of WeMakeDevs. (by kunal-kushwaha)
leetcode-solutions | DSA-Bootcamp-Java | |
---|---|---|
22 | 7 | |
61 | 15,465 | |
- | - | |
9.2 | 7.1 | |
4 days ago | 5 days ago | |
C++ | Java | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
leetcode-solutions
Posts with mentions or reviews of leetcode-solutions.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-01.
-
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.
DSA-Bootcamp-Java
Posts with mentions or reviews of DSA-Bootcamp-Java.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-29.
-
Expanding from Laravel and MVC: How to learn algorithms, patterns and more while coding?
if you want something more extensive you can check out this ongoing course which has already covered lots of topics in depth. https://github.com/kunal-kushwaha/DSA-Bootcamp-Java there is a playlist on youtube and assignments on github for practice
-
Beginners road map
You can also problems from https://docs.google.com/spreadsheets/d/1-wKcV99KtO91dXdPkwmXGTdtyxAfk1mbPXQg81R9sFE/edit?usp=sharing Fraz DSA Sheet. Below contains many problem from Kunal-khushwa DSA course, both solved and unsolved https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
- Cool Github repositories for Everyone
-
100+ Must Know Github Repositories For Any Programmer
3. DSA Bootcamp Java
-
Understanding Git and Github
Follow this very useful PDF for all the commands that you need. Git Cheat Sheet Education
- leetcode - where to start?
-
Introduction to programming
Here's the GitHub Repository for detailed curriculum and resources: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
What are some alternatives?
When comparing leetcode-solutions and DSA-Bootcamp-Java you can also consider the following projects:
Fork_CPP - This repository contain the C++ program from basic to advance. This repository will help you to prepare for the interview questions.
FAANG - Competitive programming questions.