今天就学习课程吧!
今天就开通帐号,24,600 门业界名师课程任您挑!
Solution overview
(chiming music) - So this problem is pretty common and as the text here says, it's pretty famous. You may get asked this kind of problem in an interview. However, I feel like the algorithm have been done over and over and we're going to go through all the code. This is probably the most code heavy code clinic that we'll encounter, so it's gonna get pretty dense. However, what I've also focused in is giving you an interface that you can use to actually visualize the solutions to these problems and even if you want to play around with how the solutions work by visualizing the code as you start creating it. So to me, building interfaces is the more useful part of something like JavaScript. The algorithms itself is something that you can study and learn something from. In this case, we're going to learn how to use backtracing which means once you sort of finish a problem, you can backtrack and look for additional solutions as well as recursion which means building a loop where the…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。
内容
-
-
-
-
-
(已锁定)
Intro: Eight queens1 分钟 45 秒
-
(已锁定)
Solution overview1 分钟 31 秒
-
(已锁定)
Preparing the board6 分钟 46 秒
-
(已锁定)
Setting up the board4 分钟 17 秒
-
(已锁定)
Computing solutions3 分钟 56 秒
-
(已锁定)
Finishing calculations7 分钟 23 秒
-
(已锁定)
Storing board solutions4 分钟 1 秒
-
(已锁定)
Display solutions4 分钟 7 秒
-
(已锁定)
Navigating through solutions3 分钟 32 秒
-
(已锁定)
-
-
-