Ad
  • Custom User Avatar

    hmmm thats really bad i feel, less room for exploration and optimization

  • Custom User Avatar
    1. try to search for a relationship between the starting points and height
    2. one can notice that we can get a rate of change between starting points and height which is how height changes with change in starting points
    3. once this rate of change is known we can unfold the relationship between the two by using a linear equation like y = mx +c for example if we take heights on x and starting points on y we can calculate for the intercept or c which would give us an equation telling what starting point is w.r.t given height.
    4. then simply put the give height into the equation to get the answer(starting point)
  • Custom User Avatar

    where are the constraints on these questions on this platform , or they simply have not been given?

  • Custom User Avatar

    this is the reason why this platform lags behind others xD

  • Custom User Avatar

    me too worlking in c# in studio but fails in codewars