Comments (2)
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.
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)
- Dijkstra!
- From unit array to atom
- Use ยฌ instead of `1-` calculation
- Question about `Select`
- Runtime of Under
- scan HOT 1
- Add `IsPrefixOf` to lib.bqn as a variant of `StartsWith`
- Optimize y2016 day11
- The base of relative path
- While the Low-stack version seems checking only .... HOT 1
- 2023 -> 2022 APL Problem Solving Competition
- Benchmarking with pi
- A better assertion respecting floating point number equivalency
- Bellman Ford algorithm HOT 1
- Coding style for HowToBQN-ja
- another quiz
- Underใฎไธใงใฌใณใผใๅ จไฝใฎใฝใผใใฏใงใใใ๏ผ
- ่ฆ็ด ใ้ๆฌก็ใซ่ฟฝๅ ใใใใฏใฝ้ทใใชในใใใฉใๅฎ็พใใใ > ่จ่ชไปๆงใ่ๆ ฎใใใใญใฐใฉใใณใฐใฎ็ฏใๅฟ ่ฆ
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learn-bqn.