leetcode2575专题

LeetCode2575. Find the Divisibility Array of a String

文章目录 一、题目二、题解 一、题目 You are given a 0-indexed string word of length n consisting of digits, and a positive integer m. The divisibility array div of word is an integer array of length n such

高精度除法,LeetCode2575. 找出字符串的可整除数组

目录 一、题目 1、题目描述 2、接口描述 3、原题链接 二、解题报告 1、思路分析 2、复杂度 3、代码详解 一、题目 1、题目描述 给你一个下标从 0 开始的字符串 word ,长度为 n ,由从 0 到 9 的数字组成。另给你一个正整数 m 。 word 的 可整除数组 div  是一个长度为 n 的整数数组,并满足: 如果 word[0,...,i] 所