Add office photos
Engaged Employer

Paytm

3.3
based on 7.2k Reviews
Filter interviews by

Armee Technology Services Interview Questions and Answers

Updated 21 Dec 2024
Popular Designations

Q1. Cube Sum Pairs Problem Statement

Given a positive integer N, find the number of ways to express N as a sum of cubes of two integers, A and B, such that:

N = A^3 + B^3

Ensure you adhere to the following conditio...read more

Add your answer

Q2. BST Iterator Problem Statement

You are tasked with creating a class named BSTIterator that acts as an iterator for the inorder traversal of a binary search tree. Implement the following functions:

  1. BSTIterator(...read more
Add your answer

Q3. Integer to Roman Conversion

Given an integer N, convert it to its corresponding Roman numeral representation. Roman numerals comprise seven symbols: I, V, X, L, C, D, and M.

Example:

Input:
N = 2
Output:
II
Exp...read more
Add your answer

Q4. Colorful Knapsack Problem

You are given a set of 'N' stones, each with a specific weight and color. The goal is to fill a knapsack with exactly 'M' stones, choosing one stone of each color, so that the total we...read more

Add your answer
Discover Armee Technology Services interview dos and don'ts from real experiences

Q5. How to set equal spacing between childs of constraint layout?

Ans.

To set equal spacing between childs of constraint layout, use the chain style property.

  • Create a chain of the views that need equal spacing using the chain style property.

  • Set the chain style to spread inside the constraint layout.

  • Adjust the margins of the views to control the spacing.

  • Use the layout_constraintHorizontal_chainStyle or layout_constraintVertical_chainStyle attribute to set the chain style.

  • Example: app:layout_constraintHorizontal_chainStyle="spread"

View 1 answer

Q6. What is context? Type of context in android, what are the differences

Ans.

Context in Android refers to the current state of the application. There are different types of context in Android with varying scopes and lifecycles.

  • Context is an abstract class in Android that allows access to application-specific resources and classes.

  • There are three main types of context in Android: Application Context, Activity Context, and Service Context.

  • Application Context is tied to the lifecycle of the application and is available throughout the application.

  • Activity...read more

Add your answer

Q7. How garbage collector works?

Ans.

The garbage collector in Android automatically manages memory by reclaiming unused objects.

  • Garbage collector identifies objects that are no longer referenced by the program.

  • It frees up memory occupied by these objects, making it available for future use.

  • The process involves marking objects as reachable or unreachable, and then reclaiming memory from unreachable objects.

  • Garbage collection can be triggered automatically or manually using System.gc().

  • Example: If an object is cre...read more

View 1 answer

Q8. Why dagger is required?

Ans.

Dagger is required for dependency injection in Android development.

  • Dagger helps in managing dependencies and reduces boilerplate code.

  • It provides compile-time safety and improves code readability.

  • Dagger also helps in testing and modularizing the codebase.

  • It is widely used in Android development for building scalable and maintainable apps.

Add your answer

Q9. DSA: Put zeroes to end in an array

Ans.

Move all zeroes to the end of an array of strings.

  • Iterate through the array and keep track of the count of zeroes encountered.

  • Swap non-zero elements with the first zero encountered to move zeroes to the end.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Armee Technology Services

based on 2 interviews
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Android Developer Interview Questions from Similar Companies

3.9
 • 25 Interview Questions
2.2
 • 24 Interview Questions
4.0
 • 19 Interview Questions
3.9
 • 12 Interview Questions
3.9
 • 11 Interview Questions
3.7
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter