ServiceNow women code to contest Question with hints/Solutions
Anonymous User
2878

I am posting all question asked in coding challenge with hints/solutions so that it can help others

  1. https://leetcode.com/discuss/interview-question/1764999/ServiceNow-or-OA-or-Tree-Question
  2. https://leetcode.com/discuss/interview-question/1764959/ServiceNow-or-OA-or-Question
  3. Given an array of integers (both positive negative and zero) you have to find the number of subsequence such that product of maximum and mimum elememt is zero
    hint ( take two cases when 0 is maximum element and 0 is minimum element.
    For 0 is maximum element we can only take negative numbers answer will be (2^zero-1)*2^negative element
    For 0 is maximum element we can only take negative numbers answer will be (2^zero-1)*2^positive element
    -1 is the case when we dont have included any zero element ( 0 is c ompulsory to take)
  4. https://leetcode.com/discuss/interview-question/1767826/ServiceNow-OA
Comments (3)