Question: please write a python code to solve the code challenge. please show me the code you use and use the sample input and output for
Code Challenge: Solve the De Bruijn Graph from a String Problem . Input: An integer k and a string Text Output: DeBruijn (Text), in the form of an adjacency list. Extra Datase and Test Datasets Sample Input: 4 AAGATTCTCTAAGA Sample Output: AAG -> AGA, AGA AGA -> GAT ATT -> TTC CTA-STAA CTC -> TCT GAT > ATT TAA AAG TCT - CTA,CIC TTCTCT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
