Ixigo interview Experience | SDE Android Developer
Anonymous User
517
  1. Explain Activity Lifecycle
  2. When we start Activity A from Activity B, what will be the activity lifecycle.
  3. Given activity stack with A on top -> A/B/A/C. Using SingleTop mode what will be the stack if we start activity A?
  4. Given activity stack with A on top -> A/B/A/C. Using SingleTask mode what will be the stack if we start activity A?
  5. What is the function of onNewIntent(). When it is called?
  6. DSA quesn ->
    Given an array and a value. Returnall subarrays that have sum equal to value.
    Input : [1,2,1,3,4,1,1,1,1,5] 4
    Output: [1,2,1]
    [1,3]
    [4]
    [1,1,1,1]
    Optimise the aprroach, Complexity should be less than O(n^2)
  7. Puzzle Quesn -> 25 hourses 5 tracks Find the top 3 fastest horses.
Comments (1)