leetcode-potd

2976. Minimum Cost to Convert String I

leetcode-potd

You are given two 0-indexed strings source and target, both of length n and consisting of lowercase English letters. You are also given two 0-indexed character arrays original and changed, and an integer array cost,

2418. Sort the People

leetcode-potd

You are given an array of strings names, and an array heights that consists of distinct positive integers. Both arrays are of length n. For each

Scroll to Top