Skip to content

patrisor/fillit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fillit @ 42 Silicon Valley

Can you feel it?

What is it?

The goal of this assignment is to find the smallest dimensional square by filling a particular set of tetrominoes in the shortest amount of time. Our implementation involved using bits to represent our tetromino pieces, and to move the pieces, we used bit masking and bitwise operations. We recursively backtracked to find the most optimal solution by continuously iterating through row positioning and identifying the piece's current state at that index.

How to use it?

git clone https://github.com/patrisor/fillit.git
cd fillit
sh delete.sh
./fillit *path-to-fillit-file*

Desired Output:

cat testfile
#...
#...
#...
#...

.##.
.##.
....
....

./fillit testfile
ABB.
ABB.
A...
A...

About

fillit@42 Silicon Valley

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors