Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H hkis-exercises
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • hackinscience
  • hkis-exercises
  • Issues
  • #4

Closed
Open
Created Dec 16, 2021 by Julien Palard@JulienPalardOwner

Exercise idea: Magic square

This could be declined in multiple ways:

  • Given a numpy array prefilled with a few values, and the expected sum for all lines and columns, fill the array with the missing values.
  • Given a numpy array prefilled with a few values, and given the individual sums expected for every column and every lines, fill the array with the missing values.
  • The same within an hexagonal grid instead of a 2d grid.
  • Given a magic hexagon with some missing values, fill it.
  • ...
Assignee
Assign to
Time tracking