Tag: hash table
Given a list of integers nums, return whether there’s two numbers such that one is a triple of another. Constraints n ≤ 100,000 where n is the length of …
November 29, 2020
algorithms, data structure, Hash Map / Hash Set, programming languages, Python, python, Recursion, teaching kids programming, Two Pointer, youtube video
Teaching Kids Programming: Videos on Data Structures and Algorithms This is actually a very famous known problem for beginners to into Algorithms & Data Structures. Given a list of …
Given an N by N matrix of letters matrix, return whether there are exactly N different letters that appear in the matrix and each letter appears exactly once in …
Given a string s, return the length of the longest substring between two equal characters, excluding the two characters. If there is no such substring return -1. A substring …
There is a special keyboard with all keys in a single row. Given a string keyboard of length 26 indicating the layout of the keyboard (indexed from 0 to …