Problem I threw this together for a web dev class I am taking at school and I thought I’d throw […]
Author: maria
Parsing ~100,000 strings and matching them to various classes
Problem I have an app that takes in “commands” in the form of strings that are parsed, and then passed […]
Graph representation implementation
Problem I wanted to represent graphs in Python, and wrote the following class. I don’t care about values associated with […]
Layered network protocol serialize / deserialize
Problem I was interested in feedback on this architecture. Objective: serialize / deserialize a network application protocol stream. Approach: Create […]
Confirm regex for validating password policy
Problem I have the following password policy: At least 8 characters in length At least one digit At least one […]
Generating a domain and IP blacklist with Bash
Problem This is a project to pull domain & IP blacklists from various sources and compile them into one list. […]
Sending periodic heartbeats, wondering if there are any timer bugs
Problem What? heartbeatjs is a small light weight library that helps you run periodic heartbeat functions and detects timeouts when […]
Sum of Subset of an Array equals a given number
Problem The exact question that I am solving is given here: Codechef – MARCHA1 Problem Statement Basically, we have an […]
Length of longest palindrome subsequence
Problem I had an interview, where I was asked to solve to this question: Given an string str, find the […]
Getting statistics in rest api endpoint
Problem We have following endpoint on our api that should grab some events from db, aggregate them and output as […]