Tower Breakers

Sort by

recency

|

411 Discussions

|

  • + 0 comments

    Scala Solution

    def towerBreakers(n: Int, m: Int): Int = {
        // Write your code here
        if (m == 1 || n % 2 == 0){
                2
            }
           
            else 1
    
        }
    
  • + 1 comment

    Poorly written problem and explanation.

  • + 0 comments

    This problem is basically a trick. Why would you have this kind of riddle problem in an interview.

  • + 0 comments

    This question made me lose faith in this platform.

  • + 0 comments

    Even odd problem in guise of such a long badly worded text.