Skip to content

Recursive function which goes through an empty matrix passed to it which has many levels of inner matrices with varying depths, all of them being empty.

Notifications You must be signed in to change notification settings

satyampatidar/Matrix-Patter-Fill-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Matrix-Patter-Fill-2

Recursive function which goes through an empty matrix passed to it which has many levels of inner matrices with varying depths, all of them being empty.

Input (global values): strVal = “abcdefghijk”, PAT_LEN = someInt (some +ve int) • The program needs to fill in the pattern as per the values in the above identifiers. • The rules to be followed are the following:

  1. Assuming the above value is in strVal, after ‘k’ is filled into an empty list, it should wrap around from ‘a’. Note: The string used, needs to be configurable manually.
  2. You can assume that the list object passed to the function has sub-lists, which are all empty.
  3. Returns the same list object back which is filled in with the pattern as per configuration values.

About

Recursive function which goes through an empty matrix passed to it which has many levels of inner matrices with varying depths, all of them being empty.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages