RSSAmplifier

Blog

Ruslan writes code

Uebung macht den Meister.

ruslanledesma.comRSS feed ↗10 posts

Latest posts

How to add sound to a broken Skyzone 04o Pro

A known shortcoming of the Skyzone 04o Pro FPV goggles is lack of sound in some production batches. We explain how owners can overcome this issue by adding a crucial electronic component.

Raspberry Pico as RC Lights Controller

In this blog post we illustrate how the Raspberry Pico can become an RC car lights controller that is more flexible than the usual Tamiya clone that we presented in the previous post or any similar non-programmable controller.

Realistic Tamiya Lights

The popular Tamiya hop-up light kit is a tempting choice for adding lights to 1/10 RC car models. However, like many other light kits available, a naive wiring of the kit will result in some lights not behaving like their counterparts do in a real car. In this blog post we explain how to achieve a more realistic behavior using a programmable remote control. We will illustrate the approach using a…

Element Exchanges

Given two multisets of integers, give the minimum cost of exchanging elements so that both multisets become equal. The cost of exchanging $@N@$ and $@M@$ is $@max(N, M)@$.

Prefix Median

Given a sequence of integers, print the median for each non-empty prefix of the sequence.

Maximum Occupancy Revisited

We revisit problem Maximum Occupancy and give a simpler solution.

The Watermark Problem

Calculate how much water a histogram can hold.

Shortest Substring That Contains Given Letters

You are given a string and a set of characters. Your task is to return any shortest substring that contains all the characters in the set.

Index Of

When a pattern string occurs in a text, return the start index of the first occurrence.

Travel Itinerary

Given the legs of an itinerary, determine the origin and destination of the trip.