• Stars
    star
    895
  • Rank 51,027 (Top 2 %)
  • Language
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Problem Solving

Problem Solving

Analytics

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.

Notes

Algorithms

Data Structures

Design

Java Virtual Machine

Others

Draft notes/Backburner

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 simlpe S3 clone
  • Build a simple Redis clone

License

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.

More Repositories

1

murmur

Pure Java implementations of Murmur hash algorithms
Java
71
star
2

bloomfilter

Bloom filters for Java
Java
56
star
3

gather

Run SQL queries on Java objects in a collection
Java
37
star
4

har

HAR file reader, writer and viewer
Java
15
star
5

dribbble-java-client

Java client library for Dribbble APIs
Java
7
star
6

jerry-core

Common Java functionality for core functionality
Java
6
star
7

dry-redis

In-memory Pure Java implementation to Redis useful for unit testing
Java
6
star
8

as3extensions

Extension classes for ActionScript
ActionScript
5
star
9

reread

Self-hosted feed reader
Java
5
star
10

blog-parser

Java library to parse blog exports into strongly-typed data object model.
Java
4
star
11

greplin

Solutions to Greplin Programming Challenge problems as posted at http://challenge.greplin.com - Mission Accomplished :)
Java
4
star
12

as3utils

Utility classes for ActionScript based projects.
ActionScript
4
star
13

unsplash-java-client

Strongly-typed Java SDK to interact with https://unsplash.com
Java
4
star
14

imgur-client

Java Client for imgur.com API
Java
3
star
15

nutz

Markdown processor for JVM. Hand-coded parser generates AST and allows for easy addition of extensions.
Java
3
star
16

wayback-machine-download

A CLI to work with Archive.org Wayback Machine including downloading an entire snapshot
Java
3
star
17

tsparser-j2v8

[Experiment] Parsing Typescript using V8 in Java
Java
3
star
18

sslproxy

A Java-based SSL reverse proxy to serve non-secure assets securely.
Java
3
star
19

resumemaker

Java command line application that creates a resume using information from LinkedIn and GitHub
Java
3
star
20

shire

Blog aware static site generator similar to Jekyll
Go
2
star
21

colors

Strongly typed immutable color-models and conversion functions in Java
Java
2
star
22

log-parser

Various log parser functions
Java
2
star
23

digg-reader-dump

Command-line tool to take dump of your Digg Reader account
Java
2
star
24

pepmint

Java wrapper over Pygments Python library
Java
2
star
25

BlogExamples

Various examples and code created and shared by me.
Java
2
star
26

shopify-burst-crawler

Simple crawler to download meta information for all stock pics from Shopify Burst website
Java
2
star
27

frag

Free Rice Avant Garde - Experiment with a bot
ActionScript
1
star
28

matrika

Code for the MATRIKA website
Java
1
star
29

jerry

Common Java Functionality
Java
1
star
30

essentials

Core framework for Adobe AIR desktop applications
ActionScript
1
star
31

as3dribbble

Dribbble client library for ActionScript
ActionScript
1
star
32

gobel

A secured and versioned personal document store.
1
star
33

sangupta.github.io

My public site hosted via Github Pages!
HTML
1
star
34

clitools

Simple command line tools in Java
Java
1
star
35

jerry-http

Common Java functionality for working with HTTP requests
Java
1
star
36

songs

Command line tool to download songs with.
Java
1
star
37

safe-content

Blocks unsafe/stupid/non-sense videos for kids on youtube.com
JavaScript
1
star
38

presentations

Presentation decks on various topics.
1
star
39

consoles

Various console implementations for Java
Java
1
star
40

image-unshred

Solution for Instagram's Engineering Challenge to unshred a given image - Mission Accomplished :)
Java
1
star
41

makeup

HTML generation framework
Java
1
star
42

comparator

Utility comparison classes for HTML, XML and JSON
Java
1
star
43

am

Assert-Mocks for unit-testing Java servlet API code
Java
1
star
44

codefix

Fix minor code refactoring tasks
Java
1
star
45

jerry-oauth

Common Java functionality for working with OAuth
Java
1
star
46

maer

My solutions to Project Euler problems.
Java
1
star
47

andruil

Java command line shell
Java
1
star
48

docbox

A Google App Engine driven file store for personal use.
Java
1
star
49

pep

Slideshows using HTML5 - based on https://github.com/adamzap/landslide
Java
1
star
50

velocity4go

Apache Velocity templating engine for Go
Go
1
star
51

as3urlshortener

ActionScript 3 URL Shortening Library
ActionScript
1
star
52

html-gen

Strongly typed HTML generation library in Java
Java
1
star
53

swift-nifty-example

Working example of a client-server interaction using Facebook's opensource Nifty and Swift frameworks
Java
1
star
54

pry

See what internet is built on
Java
1
star