We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Bead Ornaments
- Discussions
Bead Ornaments
Bead Ornaments
Sort by
recency
|
10 Discussions
|
Please Login in order to post a comment
This is not a good general interview level question, its premise is entirely based on a specific formula in graph theory without stating what it is. This type of question just tests if you know/remember a certain topic and can translate it to code. Not to mention the explanations are low quality in that it tells you to just imagine a tree using undefined terms like path and star instead of just providing a graphic? It tells you you're wrong for thinking its permutations, instead just think of a tree like you're supposed to already know Cayley's Formula and Kirchoff's theorem but if you did know it then the hint is circular and useless because then you wouldn't be trying to solve it using permutations. The writing of this challenge isn't even near the tier of previous ones that actually provide Wikipedia sources and graphics of what topics are being tested here.
I've read this problem multiple times and I still don't know how it is trying to make these beads. This is the first problem out of all the problems thus far that I can't even understand the premise (even the examples aren't good enough). If you're counting tree configurations rather than linear arrangements, why is there no picture of a freaking tree?
This problem needs a rewrite if anyone on this website is paying attention.
I could not figure out the correct answer for [4]. Here is my manual solution, which is 6 instead of the official answer of 16:
Python
Java8