1. Two Sum
11/15/2023You are given an array of positive integers arr. Perform some operations (possibly none) on arr so that it satisfies these conditions:
11/15/2023Given a string s, return the number of homogenous substrings of s. Since the answer may be too large, return it modulo 109 + 7.
11/9/2023There are n computers numbered from 0 to n - 1 connected by ethernet cables connections forming a network where connections[i] = [ai, bi] represents a connection between computers ai and bi. Any computer can reach any other computer directly or indirectly through the network.
11/9/2023or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up