Tap here to switch tabs
Problem
Submissions

Problem: Separate the Digits in an Array

med
30 min
Try to solve the Separate the Digits in an Array problem.

Statement

Given an array of positive integers nums, return an array containing the digits of each integer in nums, separated and ordered as they appear in the original array.

Separating the digits of an integer means extracting its individual digits in their original order from left to right.

Constraints:

  • 1≤1 \leq nums.length ≤1000\leq 1000

  • 1≤1 \leq nums[i] ≤105\leq 10^5

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Separate the Digits in an Array

med
30 min
Try to solve the Separate the Digits in an Array problem.

Statement

Given an array of positive integers nums, return an array containing the digits of each integer in nums, separated and ordered as they appear in the original array.

Separating the digits of an integer means extracting its individual digits in their original order from left to right.

Constraints:

  • 1≤1 \leq nums.length ≤1000\leq 1000

  • 1≤1 \leq nums[i] ≤105\leq 10^5