fnplus / interview-techdev-guide

This repository contains curated technical interview questions by fn+geeks community
http://bit.ly/fnplusnow
MIT License
318 stars 325 forks source link

Dna pattern matching and finding closest relative #635

Closed shrikantpadhy18 closed 4 years ago

shrikantpadhy18 commented 4 years ago

here i have tried to solve the problem using python regular expression method, **_

In ths solution we are asked to enter the the common pattern which is getting repeated in the diceased person for maximum number of times. That repeating pattern is compared with the dna pattern of all 10 given relatives and the one in which the same pattern occurs for maximum number of time as compare to other 9 relative is the closest relative of diceased person.

_**

xlogix commented 4 years ago

Please raise an issue about your PR and link it here in the comments. Read our contribution guidelines to know more.

shrikantpadhy18 commented 4 years ago

Please raise an issue about your PR and link it here in the comments. Read our contribution guidelines to know more.

problem solved

xlogix commented 4 years ago

Thanks for contributing!