Skip to content

Latest commit

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Challenge: Find the longest substring present in an array!

Let be a two-dimensional square array of (any) characters, return the longest string of equal adjacent characters.

Input

BBDADEF
BXCDDJK
HYI3DD3
R7OÑGD2
WNSPE0D
A9CDDEF
BXDDDJK

Output

Result: D, D, D, D, D

It should return the string D, D, D, D, D because there is a diagonal of D of length 5 which is the longest.

Overview

The project was made in the C# programming language, it is a console application that uses .NET 5.0.

Inside the project you will find a file Input.txt where you can place the input array that the program will use.

In order to compile the application you will need:

  1. Have .NET 5.0 installed.
  2. Have Visual Studio 2019 or higher installed.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages