“People are lazy that’s why today’s technology is crazy.”

- Santosh Kalwar

# Featured Posts

## CKA: Certified Kubernetes Administrator

How to prepare for the 2-hour, online, proctored, performance-based CKA exam.

# Recent Posts

## Anagram Substrings

Given two strings `s0`

and `s1`

, return the number of substrings where `s1`

contains any anagram of `s0`

.

## Separate People Given Dislike Relations

You are given an integer `n`

and a two-dimensional list of integers `enemies`

. Integer `n`

means there’s `n`

people labeled from `[0, n - 1]`

. Each element in `enemies`

contains `[person_a, person_b]`

which means that `person_a`

and `person_b`

are enemies.

## Fractional Knapsack

You are given two lists of integers `weights`

and `values`

which have the same length and an integer `capacity`

. `weights[i]`

and `values[i]`

represent the weight and value of the `i`

th item.

## Longest Arithmetic Subsequence with Difference Constraint

Given a list of integers `nums`

and an integer `diff`

, return the length of the longest arithmetic subsequence where the difference between each consecutive numbers in the subsequence is `diff`

.