Here I am using Brute force approach including dynamic programming #If the number of rows in pattern is given 1 then it means that the string itself is correct and now the further pattern is needed to be resolved #if the number of rows is not equal to one and greater than 1 then we are resolving the pattern using brute force and it will make a new list and append the characters at the required indexes and return the correct list as a string
This is a template on how to fill out a PR properly.
Description
Language Used: Python
Approach Used: Brute Force using dynamic Programing
Question(s) Solved: Q06
Issue(s) related: Of question 1 to 10
The question gives a string in a zigzag pattern and we are asked to decode to get the correct string
Here I am using Brute force approach including dynamic programming
If the number of rows in pattern is given 1 then it means that the string itself is correct and now the further pattern is needed to be resolved
if the number of rows is not equal to one and greater than 1 then we are resolving the pattern using brute force and it will make a new list and append the characters at the required indexes and return the correct list as a string
Here I am using Brute force approach including dynamic programming #If the number of rows in pattern is given 1 then it means that the string itself is correct and now the further pattern is needed to be resolved #if the number of rows is not equal to one and greater than 1 then we are resolving the pattern using brute force and it will make a new list and append the characters at the required indexes and return the correct list as a string
This is a template on how to fill out a PR properly.
Description
The question gives a string in a zigzag pattern and we are asked to decode to get the correct string
Here I am using Brute force approach including dynamic programming
If the number of rows in pattern is given 1 then it means that the string itself is correct and now the further pattern is needed to be resolved
if the number of rows is not equal to one and greater than 1 then we are resolving the pattern using brute force and it will make a new list and append the characters at the required indexes and return the correct list as a string
Related Issue
Acceptance Criteria
Type of Changes
Testing Steps / QA Criteria