Skip to content

SafiaK/DeepInsight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Test Solution

This is a Python solution for the DI coding test. There are following files in this repository.

  1. Coding Test.pdf (The actual problem statement file)
  2. solution.py (The code solution of the given problem)
  3. requirement.txt (Required python libraries needed for the program)
  4. input.txt (Sample input to test the code)
  5. input2.txt (Sample input to test the code)

Installation

  1. Clone the repository or download the code files.
  2. Open a terminal or command prompt and navigate to the project directory.

Install Requirements

Ensure that you have Python and pip installed on your system. Then, run the following command to install the required libraries:

pip install -r requirements.txt

Usage

To run the solution, use the following command:

python solution.py <file_path>

Replace <file_path> with the actual path to the input file. The input file should be formatted as described in the problem definition.

The solution will search the source text for matches of the search term and output the matches in the specified format.

###Example Here's an example command to run the solution:

python solution.py input.txt

Make sure to provide the correct path to the input file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages