Check if a numeric string can be split into substrings having difference between consecutive numbers equal to K
Given a numeric string S consisting of N digits and a positive integer K, the task is to check if the given string can be… Read More
The post Check if a numeric string can be split into substrings having difference between consecutive numbers equal to K appeared first on GeeksforGeeks.
Check if a numeric string can be split into substrings having difference between consecutive numbers equal to K
Reviewed by Shoaib Khan
on
June 18, 2021
Rating:
No comments: