Giter VIP home page Giter VIP logo

Comments (6)

RodericGuigoCorominas avatar RodericGuigoCorominas commented on September 24, 2024

I was looking at such type of tasks yesterday. Happy to think about it, I think I may have some ideas.

PD: note that 624 could already by solved, by having replicateShapes before the loop. There are a couple more like this, so we should keep it in mind.

from arc_kaggle.

RodericGuigoCorominas avatar RodericGuigoCorominas commented on September 24, 2024

152

from arc_kaggle.

alejandrodemiquel avatar alejandrodemiquel commented on September 24, 2024

What do you mean with "having replicateShapes before the loop"?

from arc_kaggle.

RodericGuigoCorominas avatar RodericGuigoCorominas commented on September 24, 2024

from arc_kaggle.

alejandrodemiquel avatar alejandrodemiquel commented on September 24, 2024

I thought that it would be easy to try a first version of such function, and I commited a very simple one in 90a4447.

It solves tasks 152 and 622, which were not solved before. But it has a lot of room for improvement. "Easy" improvements could be:

  • Consider multicolor shapes
  • Consider rotated shapes
  • Use isSubshape instead of hasSameShape in order to fit a shape

What do you think @RodericGuigoCorominas ?

from arc_kaggle.

RodericGuigoCorominas avatar RodericGuigoCorominas commented on September 24, 2024

Cool. These tasks can be solved with arrangeShapes too, which I will commit tonight. Adding option of scale/rotate would help solve: 158, 760, 535, 158, 760, 535

Currently solves: 152, 440, 498, 558, 588, 622

Currently "Could" solve: 414 (if grid is ignored), 365, 624 ( + replicate), 237, 523 ( + color map), 652 (+ deleteShape (largest)),

Enhancement to deal with cases: 21, 498 , 589

from arc_kaggle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.