Skip to content

KushtrimPacaj/kp-googlefoobar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Google FooBar challenges

This repository contains my solutions to the first three challenges to googlefoobar challenge.

Technical descriptions

The first two are quite straighforward.

For the third one, a more creative solution was needed.
This solution models the cheesbord as a graph with squares as vertexes and edges of length 1 connecting squares from which a knight can jump to. For example (0,0) and (1,3) would be connected.
Then using Djikstra's Algorithm, the shortest path from A to B is calculated, and the length is returned as the answer.

Didn't have time to do more ¯\_(ツ)_/¯

About

Solutions to the first three challenges to googlefoobar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages