ps is a collection of various computing problems and their corresponding solutions
that I could think of. The problems range in various categories such as design,
algorithms, performance optimizations, and more.
Feel free to add a Github issue for any discrepancy, typo, alternatives, or a different solution that I might not have considered. Also feel free to add issues for problems that you would like me to work upon - though it may take me a few days to research and jot my notes here.
If you wish to contribute please read the guidelines.
Dedicated to all the friends who inspired me to learn and experiment.
The following is a list of the various problems and their solutions:
- Fastest sorting of bounded integers
- Fastest way to merge multiple integer sets
- Fastest way to find duplicates in multiple integer sets
- Find degrees of separation in a social graph
- Design a stateless user-session mechanism
- Design a rate-limited web-scraper
- Design a Content Delivert Network, CDN
Java Virtual Machine
Problems I want to jot my thoughts and notes on:
- How to find the top-k IPs hitting a service
- Design a scalable user authentication system
- Design a shopping cart
- Design a notification system
- Design a CRON scheduler
- Design an object-pool or a connection-pool
- Design an email-delivery system like Mailchimp
- Design a S3 parallel
MIT License ps - Problem Solving Copyright (c) 2016-2018, Sandeep Gupta https://github.com/sangupta/ps Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.