Tag: leetcode
All the articles with the tag "leetcode".
-
LeetCode Biweekly Contest 131
·· 5 min readYou are given an array nums, where each number in the array appears either once or twice.
-
LeetCode Biweekly Contest 128
·· 3 min readYou are given a string s. The score of a string is defined as the sum of the absolute difference between the ASCII values of adjacent characters.
-
LeetCode Biweekly Contest 101
·· 4 min readGiven two arrays of unique digits nums1 and nums2, return the smallest number that contains at least one digit from each array.
-
LeetCode Weekly Contest 338
·· 7 min readThere is a bag that consists of items, each item has a number 1, 0, or -1 written on it.
-
LeetCode Weekly Contest 337
·· 5 min readYou are given a positive integer n.
-
LeetCode Biweekly Contest 100
·· 5 min readYou are given an integer money denoting the amount of money (in dollars) that you have and another integer children denoting the number of children that you ...
-
LeetCode Weekly Contest 336
·· 5 min readYou are given a 0-indexed array of string words and two integers left and right.
-
LeetCode Biweekly Contest 90
·· 4 min readYou are given an array of equal-length strings words. Assume that the length of each string is n.