---
title: "Discussion on \"Repetitions\" | Hashnode"
description: "Discussion on \"Repetitions\". You are given a DNA sequence: a string consisting of characters A, C, G, and T. Your task is to find the longest repetition in the sequence. This is a maximum-length substring containing only one type of character.\nInput\nThe only input line contains ..."
url: "https://hashnode.com/posts/repetitions/65b71e88a06bee91f3219f16"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Repetitions](https://ramandeepsingh.hashnode.dev/repetitions?utm_source=hashnode&utm_medium=feed)

You are given a DNA sequence: a string consisting of characters A, C, G, and T. Your task is to find the longest repetition in the sequence. This is a maximum-length substring containing only one type of character. Input The only input line contains ...

Jan 29, 2024 · 1 min read · ramandeepsingh.hashnode.dev  
Read the article

-   [#dsa](https://hashnode.com/tag/dsa)
-   [#algorithms](https://hashnode.com/tag/algorithms)

## Written by

[Ramandeep Singh](https://hashnode.com/@ramandeepSingh)

@ramandeepSingh · Rajasthan, India

  
[View profile](https://hashnode.com/@ramandeepSingh)

Enlivening the Dreams :D

A programming enthusiast trying to give share my knowledge with the community :D

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
