Giter VIP home page Giter VIP logo

Comments (2)

shnarazk avatar shnarazk commented on September 27, 2024

Converting one by one

Box โ† {>๐•ฉ/<ห˜๐•ฉโ€ฟโˆ˜โฅŠ๐•ฉ/1+โ†•๐•ฉโ‹†2}
# (1+โ†•4โ€ฟ4) โˆพยจ Box 2
Rcb โ† {(1+โ†•๐•ฉ)โˆพยจBox โŠ‘0.5โ‹†หœ๐•ฉ}
# Rcb 4โ€ฟ4
Cmap โ† {<ห˜ห˜1 (โŠ‘โˆŠ)ยจ =โŒœหœ๐•ฉ}
Cmap Rcb 4โ€ฟ4

Avl โ† {(1+โ†•โŠ‘โ‰ข๐•ฉ)(ยฌโˆ˜โˆŠ/โŠฃ)(0โŠธโ‰ )โŠธ/โฅŠ๐•ฉร—๐•จโŠ‘Cmap Rcb โ‰ข๐•ฉ}

Why does not Avl respect the initial value???

Avl โ† {0โ‰ ๐•จโŠ‘๐•ฉ? โ‹ˆ๐•จโŠ‘๐•ฉ; (1+โ†•โŠ‘โ‰ข๐•ฉ)(ยฌโˆ˜โˆŠ/โŠฃ)(0โŠธโ‰ )โŠธ/โฅŠ๐•ฉร—๐•จโŠ‘Cmap RCB โ‰ข๐•ฉ}
Nxt  โ† {w F x:(๐•จ Avl ๐•ฉ) {๐•จห™โŒพ(wโŠธโŠ‘)๐•ฉ}ยจ <๐•ฉ}
Nxtv โ† {โˆพ๐•จโŠธNxtยจ๐•ฉ}        # use like (<s44)NxtvยดโŸจ0โ€ฟ0,0โ€ฟ1,1โ€ฟ0โŸฉ

Wait.
Why does not Avl respect the initial value???

Avl โ† {0โ‰ ๐•จโŠ‘๐•ฉ? โ‹ˆ๐•จโŠ‘๐•ฉ; (1+โ†•โŠ‘โ‰ข๐•ฉ)(ยฌโˆ˜โˆŠ/โŠฃ)(0โŠธโ‰ )โŠธ/โฅŠ๐•ฉร—๐•จโŠ‘Cmap RCB โ‰ข๐•ฉ}

Now we can do:

(<s44)NxtvยดโฅŠโ†•โ‰ขs44

from learn-bqn.

shnarazk avatar shnarazk commented on September 27, 2024

https://www.youtube.com/watch?v=YnJ1Yy6gpmA

  • โบ nxt โต means 'AssignTheFirstHole of โบ to โต'
  • โˆ‡ is recursion.
Sol โ† {
    terminated? answer;    # Is there a way to 'break'?
    ๐•Šยจ nextstates          # This is depth-first search.
}

TIL

  • depth-frist search: {๐•Šโˆ˜Nยจ๐•ฉ}
  • width-frist search: {๐•Š Nยจ๐•ฉ}

What a beautiful world!

from learn-bqn.

Related Issues (19)

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.