#coding
Read more stories on Hashnode
Articles with this tag
An example of the greedy algorithm · Problem statement You are assigned to put some amount of boxes onto one truck. You are given a 2D array boxTypes,...
Problem statement A string s is called good if there are no two different characters in s that have the same frequency. Given a string s, return the...
Problem statement There are several cards arranged in a row, and each card has an associated number of points. The points are given in the integer...
Dynamic programming in place · Problem statement You are given an m x n integer array grid. There is a robot initially located at the top-left corner...
A simple C++ class · Problem statement An underground railway system is keeping track of customer travel times between different stations. They are using...
A simple implementation of a hashmap · Problem statement Design a HashMap without using any built-in hash table libraries. Implement the MyHashMap...