Computer Science, asked by pandu8498, 2 months ago

test will end in 9 minutes. Ensure that you have submitted all your answers
X
Question 99
Find the number
You are given a string S of length N . The string S consists of digits from 19. Consider the string
You need to divide the string into blocks such that the Nh block contains the elements from the
min(N. (s. X)) (both inclusive). A number is valid if it is formed by choosing exactly one digit fro
the digits in the order of their block number
For example
If the given string is "123456789' and X=3, the blocks formed are [123], [456]. [789) Few valid
but 124 and 396 are invalid.
Among all the valid numbers that can be formed, your task is to determine the kth number
are sorted in ascending order


write the program in python3​

Answers

Answered by chandrakalabagati
0

Answer:

sorry I don't know the answer

sorry I don't know the answer

Similar questions