Regarding general android and kotlin questions
Android Manager Interview Questions
10,452 android manager interview questions shared by candidates
Java and Android Technical questions
You have a function that takes an int array and a int variable which acts as a target. find out which of the 2 elements of the array equal the target if they added together. Then return those 2 indexes of the array.
We mainly use [insert library/pattern/architecture name here] and I see that you've chosen to use [insert another library/pattern/architecture name here], what was your reasoning behind this? Do you like it better than X, Y, Z? If so, why?
caching , viewmodel, memory leaks
1. Why you decided to apply for this position ? 2. Design a pseudo code algorithm for managing CI solution for a mobile project 3. Design the Domain Layer of the Fairtiq app
Technical round 1 has 2 questions. Difficulty of the 2nd questions is decided by how you solve previous question. Fisrt question was Container With Most Water(leetcode). Interviewer was very cooperative. As i was having difficulty in understanding the question, he give me the leetcode link of the problem.
We have a food delivery application that connects between a customer, a restaurant. When a user places an order, he can do online payment or cash on delivery. We have a payment module does contain all the payment related stuff, so the following code is the little snippet of the payment logic and there are errors, it can be logical, memory related, compiler issues... etc. here's the code: import java.util.Arrays; import java.util.Comparator; import java.util.Treeset; class PaymentException extends Exception { } class GatewayException extends PaymentException { } interface PaymentOptions { public void pay(E s) throws PaymentException; } abstract interface VirtualCard extends PaymentOptions { } abstract class PaymentType { } class Card extends PaymentType { } class SmartCard { } class HSBCPay implements VirtualCard { public void pay(SmartCard s) { } } abstract class Visa implements PaymentOptions { public abstract void pay(ElectronicCard s) { } } abstract class ApplePay implements PaymentOption { } class Wallet implements PaymentOption { public void pay(ElectronicCard i) throws Exception { } } class Mada implements PaymentOption { public void pay(PaymentType i) { } } class MasterCard implements PaymentOption { private void pay(SmartCard s) throws PaymentException { } public void pay(Card s) throws PaymentException { } } class ElectronicCard extends Card { public void pay(Card s) throws PaymentException { } public static void main(String[] args) { new ElectronicCard().go(); } void go(){ go2(new Card(), new ElectronicCard()); go2(( ) new Card(), new ElectronicCard()); } void go2(Card t1, ElectronicCard r1) { ElectronicCard r2 = (ElectronicCard) t1; Card t2 = (Card) r1; } } public class Test { public static synchronized void main(String[] args) throws InterruptedException { Thread thread = new Thread(); thread.start(); System.out.println("X"); thread.wait(1000); System.out.println("X"); } } class Innertest ( public static void main(String[] args) { String[] sa = ["Applepay", "Master", "Visa", "Wallet"]; Sorter s = new Sorter(); for(s2 : sa) System.out.println(s2 + " "); Arrays.sort(sa, s); System.out.println(); for(s2 : sa) System.out.println(s2 + " "); } } class Sorter implements Comparator { public int compare(String a, String b) { return b.compareTo(a); } } class TestDataStructure { public static void main(String[] args){ TreeSet i = new TreeSet(); TreeSet d = new TreeSet(); d.add(new PaymentAmount(1)); d.add(new PaymentAmount(2)); d.add(new PaymentAmount(1)); i.add(1); i.add(2); i.add(1); System.out.println(d.size() + " " + i.size()); } static class PaymentAmount { int size; PaymentAmount(int s) { size = s; } } }
The problem was being asked on parts. -Parse the SUM and MULTIPLY operations in a string. Ex.: 5 + 3 * 2 = 11 -Add parenthesis into the operation
Questions about how to make your app more performant
Viewing 1471 - 1480 interview questions