3474. Lexicographically Smallest Generated String
3474. Lexicographically Smallest Generated String
Description
You are given two strings, str1
and str2
, of lengths n
and m
, respectively.
3474. Lexicographically Smallest Generated String
You are given two strings, str1
and str2
, of lengths n
and m
, respectively.
694. Number of Distinct Islands
You are given an m x n
binary matrix grid
. An island is a group of 1
‘s (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the grid are surrounded by water.
1797. Design Authentication Manager
There is an authentication system that works with authentication tokens. For each session, the user will receive a new authentication token that will expire timeToLive
seconds after the currentTime
. If the token is renewed, the expiry time will be extended to expire timeToLive
seconds after the (potentially different) currentTime
.
1079. Letter Tile Possibilities
You have n``tiles
, where each tile has one letter tiles[i]
printed on it.
2592. Maximize Greatness of an Array
You are given a 0-indexed integer array nums
. You are allowed to permute nums
into a new array perm
of your choosing.
1353. Maximum Number of Events That Can Be Attended
You are given an array of events
where events[i] = [startDay<sub>i</sub>, endDay<sub>i</sub>]
. Every event i
starts at startDay<sub>i</sub>
and ends at endDay<sub>i</sub>
.