Tag: programming
In GoLang, the defer keyword is used to ensure that a function call is performed later in a program’s execution, typically for purposes of cleanup. Deferred function calls are …
Teaching Kids Programming: Videos on Data Structures and Algorithms Introduction to the Function Decorator in Python In Python, we can add decorate a function by using the @ symbol, …
This post writes a go version of caching layer using redis, wrapps it in a class and provides a usage. Let’s create a Go package that provides a caching …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given a string s representing a 12-hour format time where some of the digits (possibly none) are replaced …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a string s, return the length of the longest substring between two equal characters, excluding the two characters. If …