Skip to content

Monalisakondpan/TechnicalRound-Task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Technical Round Task

This repository contains solutions to several algorithmic problems in Java. Each problem is implemented as a separate file in the src folder.

Problems & How to Run

1. Sudoku Validator With Custom Zones

File: SudokuValidator.java
What it does: Validates a 9x9 Sudoku board, checking rows, columns, and custom zones for unique digits 1–9.
How to run:

javac SudokuValidator.java
java SudokuValidator

2. Alien Dictionary

File: AlienDictionary.java
What it does: Determines the character order of an alien language from a sorted word list.
How to run:

javac AlienDictionary.java
java AlienDictionary

3. Knights and Portals

File: KnightsAndPortals.java
What it does: Finds the shortest path from top-left to bottom-right in a grid, allowing one teleport between empty cells.
How to run:

javac KnightsAndPortals.java
java KnightsAndPortals

4. Bitwise Matching Pattern

File: BitwiseMatchingPattern.java
What it does: Finds the next larger integer with the same number of binary 1s as the input.
How to run:

javac BitwiseMatchingPattern.java
java BitwiseMatchingPattern

5. Matrix Islands with Diagonals

File: MatrixIslandsWithDiagonals.java
What it does: Counts the number of islands (connected 1s) in a matrix, considering diagonal connections.
How to run:

javac MatrixIslandsWithDiagonals.java
java MatrixIslandsWithDiagonals

6. Mini Interpreter

File: MiniInterpreter.java
What it does: Evaluates simple let variable declarations and if conditions from input strings, supporting variable assignment, conditional logic, and printing variable values.
How to run:

javac MiniInterpreter.java
java MiniInterpreter

Note:
Navigate to the src folder before compiling and running, or use the full path from the project root. <<<<<<< HEAD

The .class files are generated automatically when you compile the .java files and are required to run the programs. ======= The .class files are generated automatically when you compile the .java files and are required to run the programs.

c6781302860798b057ad6eff47893d3bf61ad518

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages