Posts

Showing posts from March 1, 2019

Is there anything in the rules giving Loxodons disadvantage on Stealth checks?

Image
Clash Royale CLAN TAG #URR8PPP 8 $begingroup$ I'm curious if there is a ruling on this topic. Specifically the debate was over whether a Loxodon Way of the Shadow Monk could benefit from the massive stealth advantages and ninja-teleportation. This would apply equally I presume for Centaurs and other larger (but still medium) playable races. Speaking of "flavor" it seems a Loxodon/Centaur ninja would be highly ineffective. A 7ft tall 400lb elephant probably wouldn't make a great ninja, right? It makes sense from a world concept level. But is there actually anything in the rules that would give these large (but still Medium-sized) creatures disadvantage on Stealth checks? dnd-5e races stealth ravnica share | improve this question edited Feb 7 at 4:55 V2Blast 23.4k 3 75 147 asked Feb 7 at 4:49 Nick Tydryszewski Nick Tydryszewski 431 7 $endgroup$ 1 $begingroup$ Tigers are up to 12 feet and weigh 800lb a

Finding the maximum of a bitonic sequence

Image
Clash Royale CLAN TAG #URR8PPP 3 1 $begingroup$ Given to us is an array $B[1],ldots,B[n]$ as input, which satisfies the following property: there exists a special index $i^* ∈ 1, dots , n$ such that $$B[1] < B[2] < dots < B[i^*− 1] < B[i^*] > B[i^* + 1] > B[i^* + 2] > dots > B[n].$$ It is noted that the index $i^*$ is not given as part of the input. The question asks me to design an algorithm for computing the index $i^*$ , whilst trying to ensure it has the smallest running time possible. I just wondered if anyone could produce this algorithm and explain your thought process on how you came up with it if possible? Stuck on these type of questions algorithms arrays discrete-mathematics share | cite | improve this question edited Feb 7 at 4:46 Yuval Filmus 193k 14 181 345 asked Feb 7 at 3:01 opp333 opp333 18 4 $endgroup$ 1 $begingroup$ Has been asked before. Use some sort of binary search.