Your Cheat Sheet For Android Interview - Android Interview Questions
Android Interview Questions - Your Cheat Sheet For Android Interview
Tell all the Android application components. - Learn from here
What is the project structure of an Android Application? - Learn from here
What is
Context? How is it used? - Learn from here
What is
AndroidManifest.xml? - Learn from here
What is
Applicationclass?
What is
Activityand its lifecycle? - Learn from here
What is the difference between onCreate() and onStart() - Learn from here
When only onDestroy is called for an activity without onPause() and onStop()? - Learn from here
Why do we need to call setContentView() in onCreate() of Activity class? - Learn from here
What is onSavedInstanceState() and onRestoreInstanceState() in activity?
What is
Fragmentand its lifecycle. - Learn from here
What are "launch modes"? - Learn from here
What is the difference between a
Fragmentand an
Activity? Explain the relationship between the two. - Learn from here
When should you use a Fragment rather than an Activity?
What is the difference between FragmentPagerAdapter vs FragmentStatePagerAdapter?
What is the difference between adding/replacing fragment in backstack? - Learn from here
Why is it recommended to use only the default constructor to create a
Fragment? - Learn from here
How would you communicate between two Fragments? - Learn from here
What is retained
Fragment?
What is
Viewin Android? - Learn from here
Difference between
View.GONEand
View.INVISIBLE? - Learn from here
Can you a create custom view? How? - Learn from here
What are ViewGroups and how they are different from the Views?
What is a Canvas? - Learn from here
What is a
SurfaceView? - Learn from here
Relative Layout vs Linear Layout. - Learn from here
Tell about Constraint Layout - Learn from here
Do you know what is the view tree? How can you optimize its depth? - Learn from here
How does the Touch Control and Events work in Android? - Learn from here and here
What is the difference between
ListViewand
RecyclerView? - Learn from here
How does RecyclerView work internally? - Learn from here and here
What is the ViewHolder pattern? Why should we use it? - Learn from here
RecyclerView Optimization - Scrolling Performance Improvement - Learn from here
What is
SnapHelper? - Learn from here
What is
Dialogin Android? - Learn from here
What is
Toastin Android? - Learn from here
What the difference between
Dialogand
Dialog Fragment? - Learn from here
What is
Intent? - Learn from here
What is an Implicit
Intent? - Learn from here
What is an Explicit
Intent? - Learn from here
What is a
BroadcastReceiver? - Learn from here
What is a
LocalBroadcastManager? - Learn from here
What is the function of an
IntentFilter? - Learn from here
What is a Sticky
Intent?
Describe how broadcasts and intents work to be able to pass messages around your app? - Learn from here
What is a
PendingIntent?
What are the different types of Broadcasts? - Learn from here
What is
Serivce? - Learn from here
Servicevs
IntentService. - Learn from here
What is a
JobScheduler? - Learn from here
How can two distinct Android apps interact? - Learn from here
Is it possible to run an Android app in multiple processes? How? - Learn from here
What is AIDL? Enumerate the steps in creating a bounded service through AIDL. - Learn from here
What can you use for background processing in Android? - Learn from here
What is a
ContentProviderand what is it typically used for? - Learn from here and here
How to run parallel tasks in Java or Android, and get callback when all complete? - Learn from here
Why should you avoid to run non-ui code on the main thread? - Learn from here
What is ANR? How can the ANR be prevented? - Learn from here
What is an
AsyncTask? - Learn from here
What are the problems in AsyncTask? - Learn from here
When would you use java thread instead of an AsyncTask? - Learn from here
What is a
Loader? (Deprecated) - Learn from here
What is the relationship between the life cycle of an
AsyncTaskand an
Activity? What problems can this result in? How can these problems be avoided?
Explain
Looper,
Handlerand
HandlerThread. - Learn from here and from video
How does the threading work in Android? - Learn from here
Android Memory Leak and Garbage Collection - Learn from here
How do you handle bitmaps in Android as it takes too much memory? - Learn from here and here
What is the difference between a regular
Bitmapand a nine-patch image?
Tell about the
Bitmappool. - Learn from here
How to play sounds in Android? - Learn from here
How image compression is preformed? - Learn from here
How to persist data in an Android app? - Learn from here
What is ORM? How does it work? - Learn from here
How would you preserve
Activitystate during a screen rotation? - Learn from here
What are different ways to store data in your Android app? - Learn from here
Explain Scoped Storage in Android. - Learn from here
How to encrypt data in Android? - Learn from here
What is commit() and apply() in SharedPreferences?
What is a
Spannable? - Learn from here
What is a
SpannableString?
What are the best practices for using text in Android? - Learn from here
How to implement Dark mode in any application? - Learn from here
How to generate dynamic colors based in image? - Learn from here
Explain about Density Independence Pixel - Learn from here
What is the
onTrimMemory()method? - Learn from here
How does the OutOfMemory happens? - Learn from here
How do you find memory leaks in Android applications? - Learn from here and here
How to reduce battery usage in an android application? - Learn from here
What is Doze? What about App Standby? - Learn from here
What is
overdraw? - Learn from here
What is the NDK and why is it useful? - Learn from here and here and here
What is renderscript? - Learn from here
What is the Dalvik Virtual Machine? - Learn from here
What is the difference JVM, DVM and ART? - Learn from here
What are the differences between Dalvik and ART? - Learn from here
What is DEX? - Learn from here
Can you manually call the Garbage collector? - Learn from here
What is Android Jetpack and why to use this? - Learn from here
What are Android Architecture Components? - Learn from here
What is LiveData in Android? - Learn from here
How LiveData is different from ObservableField? - Learn from here
What is the difference between setValue and postValue in LiveData? - Learn from here
How to share ViewModel between Fragments in Android? - Learn from here
Explain Work Manager in Android. - Learn from here
Use-cases of WorkManager in Android. - Learn from here
How ViewModel work internally? - Learn from here
Why Bundle class is used for data passing and why cannot we use simple Map data structure? - Learn from here
How do you troubleshoot a crashing application? - Learn from here
Explain Android notification system? - Learn from here
What is the difference between Serializable and Parcelable? Which is the best approach in Android? - Learn from here
What is AAPT? - Learn from here
What is the best way to update the screen periodically? - Learn from here
FlatBuffers vs JSON. - Learn from here
HashMap,
ArrayMapand
SparseArray- Learn from here
What are Annotations? - Learn from here, Link, and from video
How to create custom Annotation? - Learn from here and here
How to handle multi-touch in android? - Learn from here
How to implement XML namespaces? - Learn from here
What is the support library? Why was it introduced? - Learn from here
What is Android Data Binding? - Learn from here
How to check if Software keyboard is visible or not? - Learn from here
How to take screenshot in Android programmatically? - Learn from here
Explain OkHttp Interceptor - Learn from here
OkHttp - HTTP Caching - How caching work in Android - Learn from here
Tell me something about RxJava. - Learn from here
How will you handle error in RxJava? - Learn from here
FlatMap Vs Map Operator - Learn from here
When to use
Createoperator and when to use
fromCallableoperator of RxJava? - Learn from here
When to use
deferoperator of RxJava? - Learn from here
How are Timer, Delay, and Interval operators used in RxJava? - Learn from here
How to make two network calls in parallel using RxJava? - Learn from here
Tell the difference between Concat and Merge. - Learn from here
Explain Subject in RxJava? - Learn from here
What are the types of Observables in RxJava? - Learn from here
How to implement EventBus with RxJava? - Learn from here
How to implement search feature using RxJava in your application? - Learn from here
How The Android Image Loading Library Glide and Fresco Works? - Learn from here
Difference between Schedulers.io() and Schedulers.computation() in RxJava.
Why do we use the Dependency Injection Framework like Dagger in Android? - Learn from here
How does the Dagger work? - Learn from here and here
What is Component in Dagger? - Learn from here
What is Module in Dagger? - Learn from here
How does the custom scope work in Dagger?
When to call dispose and clear on CompositeDisposable in RxJava? - Learn from here
What is Multipart Request in Networking? - Learn from here
What is Flow in Kotlin? - Learn from here
Describe the architecture of your last app.
Describe MVP. - Learn from here
Describe MVVM. - Learn from here and here
MVC vs MVP vs MVVM architecture. - Learn from here
What is presenter? - Learn from here
What is model? - Learn from here
Describe MVC. - Learn from here
Describe MVI - Learn from here
Describe the repository pattern - Learn from here
What is controller? - Learn from here
Tell something about clean code - Learn from here
Design Uber App. - Learn from here
Design Facebook App.
Design Facebook Near-By Friends App.
Design WhatsApp.
Design SnapChat.
Design problems based on location based app.
How to build offline-first app? Explain the architecture.
Design LRU Cache.
Design File Downloader - Learn from here
HTTP Request vs HTTP Long-Polling vs WebSockets - Learn from here
What is Espresso? - Learn from here
What is Robolectric? - Learn from here
What are the disadvantages of using Robolectric? - Learn from here
What is UI-Automator? - Learn from here
Explain unit test. - Learn from here
Explain instrumented test. - Learn from here
Have you done unit testing or automatic testing?
Why Mockito is used? - Learn from here
Describe JUnit test. - Learn from here
Describe code coverage. - Learn from here
What is ADB? - Learn from here
What is DDMS and what can you do with it? - Learn from here
What is the StrictMode? - Learn from here
What is Lint? What is it used for? - Learn from here
Git. - Learn from here
Android Development Useful Tools. - Learn from here
Firebase. - Learn from here
How to measure method execution time in Android? - Learn from here
Can you access your database of SQLite Database for debugging? - Learn from here
What are things that we need to take care while using Proguard? - Learn from here
What is Multidex in Android? - Learn from here
How to use Android Studio Memory Profiler? - Learn from here
How to use Firebase realtime database in your app? - Learn from here
What is Gradle? - Learn from here
APK Size Reduction. - Learn from here and here
How can you speed up the Gradle build? - Learn from here
About gradle build system. - Learn from here
About multiple apk for android application. - Learn from here
What is proguard used for? - Learn from here
What is obfuscation? What is it used for? What about minification? - Learn from here
How to change some parameters in an app without app update? - Learn from here
Explain OOP Concepts.
What is the difference between a constructor and a method?
super().
java public class SomeClassName{ SomeClassName(parameter_list){ ... } ... }
java public class SomeClassName{ public void someMethodName(parameter_list){ ... } // call method someMethodName(parameter_list) }
Differences between abstract classes and interfaces?
What is the difference between iterator and enumeration in java?
Do you agree we use composition over inheritance? Learn from here
Difference between method overloading and overriding.
Static methods can be overloaded which means a class can have more than one static method of same name. Static methods cannot be overridden, even if you declare a same static method in child class it has nothing to do with the same method of parent class as overridden static methods are chosen by the reference class and not by the class of the object.
So, for example: ```java public class Animal { public static void testClassMethod() { System.out.println("The static method in Animal"); }
public void testInstanceMethod() { System.out.println("The instance method in Animal"); }
}
public class Cat extends Animal { public static void testClassMethod() { System.out.println("The static method in Cat"); }
public void testInstanceMethod() { System.out.println("The instance method in Cat"); }public static void main(String[] args) { Cat myCat = new Cat(); myCat.testClassMethod(); Animal myAnimal = myCat; myAnimal.testClassMethod(); myAnimal.testInstanceMethod(); }
}
Will output:java The static method in Cat // testClassMethod() is called from "Cat" reference
The static method in Animal // testClassMethod() is called from "Animal" reference, // ignoring actual object inside it (Cat)
The instance method in Cat // testInstanceMethod() is called from "Animal" reference, // but from "Cat" object underneath ```
The most basic difference is that overloading is being done in the same class while for overriding base and child classes are required. Overriding is all about giving a specific implementation to the inherited method of parent class.
Static binding is being used for overloaded methods and dynamic binding is being used for overridden/overriding methods. Performance: Overloading gives better performance compared to overriding. The reason is that the binding of overridden methods is being done at runtime.
Private and final methods can be overloaded but they cannot be overridden. It means a class can have more than one private/final methods of same name but a child class cannot override the private/final methods of their base class.
Return type of method does not matter in case of method overloading, it can be same or different. However in case of method overriding the overriding method can have more specific return type (meaning if, for example, base method returns an instance of Number class, all overriding methods can return any class that is extended from Number, but not a class that is higher in the hierarchy, like, for example, Object is in this particular case).
Argument list should be different while doing method overloading. Argument list should be same in method Overriding. It is also a good practice to annotate overridden methods with
@Overrideto make the compiler be able to notify you if child is, indeed, overriding parent's class method during compile-time.
What are the access modifiers you know? What does each one do?
privatevariables, methods, constructors or inner classes are only visible to its' containing class and its' methods. This modifier is most commonly used, for example, to allow variable access only through getters and setters or to hide underlying implementation of classes that should not be used by user and therefore maintain encapsulation. Singleton constructor is also marked
privateto avoid unwanted instantiation from outside.
Default(no keyword is used) this modifier can be applied to classes, variables, constructors and methods and allows access from classes and methods inside the same package.
protectedcan be used on variables, methods and constructors therefore allowing access only to subclasses and classes that are inside the same package as protected members' class.
publicmodifier is widely-used on classes, variables, constructors and methods to grant access from any class and method anywhere. It should not be used everywhere as it implies that data marked with
publicis not sensitive and can not be used to harm the program.
Can an Interface implement another Interface?
extends, rather than
implementskeyword. And while you can not remove methods from parent interface, you can add new ones freely to your sub-interface.
What is Polymorphism? What about Inheritance?
An important example of polymorphism is how a parent class refers to a child class object. In fact, any object that satisfies more than one IS-A relationship is polymorphic in nature.
For instance, let’s consider a class
Animaland let
Catbe a subclass of
Animal. So, any cat IS animal. Here, Cat satisfies the IS-A relationship for its own type as well as its super class Animal. - Inheritance can be defined as the process where one class acquires the properties (methods and fields) of another. With the use of inheritance the information is made manageable in a hierarchical order.
The class which inherits the properties of other is known as subclass (derived class, child class) and the class whose properties are inherited is known as superclass (base class, parent class).
Inheritance uses the keyword
extendsto inherit the properties of a class. Following is the syntax of extends keyword.
java class Super { ..... ..... } class Sub extends Super { ..... ..... }
Multiple inheritance in Classes and Interfaces in java Learn from here
What are the design patterns? Learn from here
Arrays Vs ArrayLists - Learn from here and here
HashSet Vs TreeSet - Learn from here
HashMap Vs Set - Learn from here
Stack Vs Queue - Learn from here
Explain Generics in Java?
java List list = new ArrayList<>();And let the compiler take care of noticing, if you put some object, of type other than
Integerinto this list and warn you.
Integerin
Listis not inherited from - it is actually inherited directly from . You can still put some constraints on what classes can be passed as a parameter into a generic by using wildcards like
>,
extends MyCustomClass>or
super Number>.
objectclass.
What is Java PriorityQueue? - In Priority Queue, each element is having some priority and all the elements are present in a queue. The operations are performed based on the priority.
How is
Stringclass implemented? Why was it made immutable?
Stringclass in Java language - all strings are just wrappers around underlying array of characters, which is declared
final. This means that, once a
Stringobject is instantiated, it cannot be changed through normal tools of the language (Reflection still can mess things up horribly, because in Java no object is truly immutable). This is why
Stringvariables in classes are the first candidates to be used, when you want to override
hashCode()and
equals()of your class - you can be sure, that all their required contracts will be satisfied. > Note: The String class is immutable, so that once it is created a String object cannot be changed. The String class has a number of methods, some of which will be discussed below, that appear to modify strings. Since strings are immutable, what these methods really do is create and return a new string that contains the result of the operation. (Official Java Documentation)
This class is also unique in a sense, that, when you create an instance like this:
java String helloWorld = "Hello, World!";
"Hello, World!"is called a literal and compiler creates a
Stringobject with its' value. So
java String capital = "Hello, World!".toUpperCase();is a valid statement, that, firstly, will create an object with literal value "Hello, World!" and then will create and return another object with value "HELLO, WORLD!" -
Stringwas made immutable to prevent malicious manipulation of data, when, for example, user login or other sensitive data is being send to a server.
What does it means to say that a
Stringis immutable?
Stringobject's
char[](its' containing value) is declared
finaland, therefore, it can not be changed during runtime.
What is
String.intern()? When and why should it be used?
String.intern()is used to mange memory in Java code. It is used when we have duplicates value in different strings. When you call the
String.intern(), then if in the String pool that string is present then the
equals()method will return true and it will return that string only.
Can you list 8 primitive types in java?
byte
short
int
long
float
double
char
String
boolean
What is the difference between an Integer and int?
intis a primitive data type (with
boolean,
byte,
char,
short,
long,
floatand
double), while
Integer(with
Boolean,
Byte,
Character,
Short,
Long,
Floatand
Double) is a wrapper class that encapsulates primitive data type, while providing useful methods to perform different tasks with it.
What is Autoboxing and Unboxing?
intand
Integercan (almost always) be used interchangeably in Java language, meaning a method
void giveMeInt(int i) { ... }can take
intas well as
Integeras a parameter.
Typecast in Java
java long i = 10l; int j = (int) i; long k = j;Here we see, that, while narrowing (
long i->
int j) requires an explicit cast to make sure the programmer realizes, that there may be some data or precision loss, widening (
int j->
long k) does not require an explicit cast, because there can be no data loss (
longcan take larger numbers than
intallows).
Do objects get passed by reference or value in Java? Elaborate on that.
In Java all primitives and objects are passed by value, meaning that their copy will be manipulated in the receiving method. But there is a caveat - when you pass an object reference into a method, a copy of this reference is made, so it still points to the same object. This means, that any changes that you make to the insides of this object are retained, when the method exits. ```java public class Pointer {
int innerField;public Pointer(int a) { this.innerField = a; }
}
java public class ValueAndReference {public static void main(String[] args) {Pointer a = new Pointer(0); int b = 1; print("Before:"); print("b = " + b); print("a.innerField = " + a.innerField); exampleMethod(a, b); print("After:"); print("b = " + b); print("a.innerField = " + a.innerField);
}
static void exampleMethod(Pointer a, int b) { a.innerField = 2; b = 10; }
static void print(String text) { System.out.println(text); }
}
Will output:java Before:
b = 1a.innerField = 0
After:
b = 1 // a new local int variable was created and operated on, so "b" didn't change
a.innerField = 2 // Pointer a got its' innerField variable changed // from 0 to 2, because method was operating on // the same reference to an instance
What is the difference between instantiation and initialization of an object? - Learn from here
What the difference between local, instance and class variables?
static- because they only exist during enclosing method's execution and those modifiers just do not make sense, since no other outside method can get them anyway.
statickeyword in their class' body. They can only have one value across all instances of that class (changing it in one place will change it in their class and, therefore, in all instances) and can even be retrieved without that class' instance (if their access modifier allows it).
What is garbage collector? How does it work?
What is Java Memory Model? What contracts does it guarantee? How are its' Heap and Stack organized? - Learn from here
What is memory leak and how does Java handle it? - Learn from here
What are strong, soft, weak and phantom references in Java? - Learn from here
What does the keyword
synchronizedmean? Learn from here
What is a
ThreadPoolExecutor? Learn from here
What is
volatilemodifier? Learn from here
The classes in the atomic package expose a common set of methods:
get,
set,,
lazyset,
compareAndSet, and
weakCompareAndSet. Please describe them.
How does the
try{},
catch{},
finallyworks? - Learn from here
What is the difference between a
Checked Exceptionand an
Un-Checked Exception? - Learn from here
What is serialization? How do you implement it?
To use Serializable all you have to do is implement the interface:
/** * Implementing the Serializable interface is all that is required */ public class User implements Serializable {private String name; private String email; public User() { } public String getName() { return name; } public void setName(final String name) { this.name = name; } public String getEmail() { return email; } public void setEmail(final String email) { this.email = email; } }
Parcelable requires a bit more work: ```java public class User implements Parcelable {
private String name; private String email;/** * Interface that must be implemented and provided as a public CREATOR field * that generates instances of your Parcelable class from a Parcel. */ public static final Creator<user> CREATOR = new Creator<user>() { /** * Creates a new USer object from the Parcel. This is the reason why * the constructor that takes a Parcel is needed. */ @Override public User createFromParcel(Parcel in) { return new User(in); } /** * Create a new array of the Parcelable class. * @return an array of the Parcelable class, * with every entry initialized to null. */ @Override public User[] newArray(int size) { return new User[size]; } }; public User() { } /** * Parcel overloaded constructor required for * Parcelable implementation used in the CREATOR */ private User(Parcel in) { name = in.readString(); email = in.readString(); } public String getName() { return name; } public void setName(final String name) { this.name = name; } public String getEmail() { return email; } public void setEmail(final String email) { this.email = email; } @Override public int describeContents() { return 0; } /** * This is where the parcel is performed. */ @Override public void writeToParcel(final Parcel parcel, final int i) { parcel.writeString(name); parcel.writeString(email); }
}
Note: For a full explanation of the describeContents() method see [StackOverflow](https://stackoverflow.com/questions/4076946/parcelable-where-when-is-describecontents-used/4914799#4914799). In Android Studio, you can have all of the parcelable code auto generated for you, but like with everything else, it is always a good thing to try and understand everything that is happening.
What is
transientmodifier? Learn from here
What are anonymous classes? Learn from here
What is the difference between using
==and
.equalson an object? - Learn from here
What is the
hashCode()and
equals()used for? - Learn from here
Why would you not call abstract method in constructor? - Learn from here
When would you make an object value
final?
What are these
final,
finallyand
finalizekeywords?
finalis a keyword in the java language. It is used to apply restrictions on class, method and variable. Final class can't be inherited, final method can't be overridden and final variable value can't be changed.
java class FinalExample { public static void main(String[] args) { final int x=100; x=200;//Compile Time Error because x is final } }
finallyis a code block and is used to place important code, it will be executed whether exception is handled or not.
java class FinallyExample { public static void main(String[] args) { try { int x=300; }catch(Exception e) { System.out.println(e.getMessage()); } finally { System.out.println("finally block is executed"); } } }
Finalizeis a method used to perform clean up processing just before object is garbage collected. ```java class FinalizeExample { public void finalize() { System.out.println("finalize called"); }
public static void main(String[] args) { FinalizeExample f1=new FinalizeExample(); FinalizeExample f2=new FinalizeExample(); f1=null; f2=null; System.gc(); } } ```
What is the difference between "throw" and "throws" keyword in Java?
throwsis just used to indicated which exception is to be thrown. But the
throwkeyword is used to throw some exception from any static block or any method.
What does the
staticword mean in Java?
staticvariable it means that this variable (its' value or the object it references) spans across all instances of enclosing class (changing it in one instance affects all others), while in case of
staticmethods it means that these methods can be invoked without an instance of their enclosing class. It is useful, for example, when you create util classes that need not be instantiated every time you want to use them.
Can a
staticmethod be overridden in Java?
When is a
staticblock run?
What is reflection?
What is Dependency Injection? Learn from here
How is a
StringBuilderimplemented to avoid the immutable string allocation problem? - Learn from here
Difference between
StringBufferand
StringBuilder? - Learn from here
What is the difference between fail-fast and fail-safe iterators in Java?
What is Java NIO? - Learn from here
Monitor and Synchronization - Learn from here
Tell some advantages of Kotlin. - Learn from here
What is the difference between
valand
var? - Learn from here
What is the difference between
constand
val? - Learn from here
How to ensure
nullsafety in Kotlin? - Learn from here
When to use
lateintkeyword used in Kotlin? - Learn from here
How to check if a
lateinitvariable has been initialized? - Learn from here
How to do lazy initialization of variables in Kotlin? - Learn from here and here
What are
companion objectsin Kotlin? - Learn from here
What are the visibility modifiers in Kotlin? - Learn from here
What is the equivalent of Java static methods in Kotlin? - Learn from here
What is a data class in Kotlin? - Learn from here
How to create a Singleton class in Kotlin? - Learn from here
What is the difference between
openand
publicin Kotlin? - Learn from here
Explain the use-case of
let,
run,
with,
also,
applyin Kotlin. - Learn from here and here
Difference between List and Array types in Kotlin - Learn from here
What are
Labelsin Kotlin? - Learn from here
What is an
Initblock in Kotlin? - Learn from here
Explain
pairand
triplein Kotlin. - Learn from here
How to choose between
applyand
with? - Learn from here
How to choose between
switchwith
when? - Learn from here
What are Coroutines in Kotlin? - Learn from here
What is Coroutine Scope? - Learn from here
What is Coroutine Context? - Learn from here
Launch vs Async in Kotlin Coroutines - Learn from here
What is inline function in Kotlin? - Learn from here
When to use Kotlin sealed classes? - Learn from here
Explain function literals with receiver in Kotlin? - Learn from here
Tell about Kotlin DSL. - Learn from here
What are higher-order functions in Kotlin? - Learn from here
What are Lambdas in Kotlin - Learn from here
Tell about the Collections in Kotlin - Learn from here
The level of questions asked on the topic of Data Structures And Algorithms totally depends on the company for which you are applying.
Complexity Analysis - Learn from here
Iteration and Two Pointer Approach - Learn from here
Recursion and Divide & Conquer Approach - Learn from here
Arrays and Linked List - Learn from here
Stack and Queue - Learn from here
Sorting Algorithms - Wikipedia
Time Complexity | Space Complexity | ||
---|---|---|---|
Best | Average | Worst | Worst |
Ω(n) | Θ(n^2) | O(n^2) | O(1) |
Time Complexity | Space Complexity | ||
---|---|---|---|
Best | Average | Worst | Worst |
Ω(n^2) | Θ(n^2) | O(n^2) | O(1) |
Time Complexity | Space Complexity | ||
---|---|---|---|
Best | Average | Worst | Worst |
Ω(n) | Θ(n^2) | O(n^2) | O(1) |
Time Complexity | Space Complexity | ||
---|---|---|---|
Best | Average | Worst | Worst |
Ω(n log(n)) | Θ(n log(n)) | O(n log(n)) | O(n) |
Time Complexity | Space Complexity | ||
---|---|---|---|
Best | Average | Worst | Worst |
Ω(n log(n)) | Θ(n log(n)) | O(n^2) | O(n) |
Binary Tree - Learn from here
Binary Search Tree - Learn from here
Heap and Priority Queue - Learn from here
Hash Table - Learn from here
Dynamic Programming - Learn from here
Greedy Algorithms - Learn from here
Backtracking - Learn from here
Graph - Learn from here
Describe how REST APIs work. What is REST? - Learn from here and here
Describe SQLite. - Learn from here and here
Describe database. - Learn from here
How do you control the application version update to specific number of users?
Can we identify users who have uninstalled our application?
Android Development Best Practices. - Learn from here
Android Code Style And Guidelines. - Learn from here
Have you tried Kotlin? - Learn from here
What are the metrics that you should measure continuously while android application development? - Learn from here
What is Chrome Custom Tabs? How to display web content in your app? - Learn from here
How to avoid API keys from check-in into VCS? - Learn from here
How does the Kotlin Multiplatform work? - Learn from here
How to use Memory Heap Dumps data? - Learn from here
How to implement Dark Theme in your app? - Learn from here
Have you tried Jetpack compose? - Learn from here
How to secure the API keys used in an app? - Learn from here
How to convert check Java equivalent code of Kotlin? - Learn from here
Tell something about memory usage in Android. - Learn from here
What is Benchmarking? - Learn from here
Can you create transparent activity in Android? - Learn from here
How to use Android Sensors? - Learn from here
Explain Annotation processing. - Learn from here
How to increase the Notification delivery rate? Learn from here
How does the notification system work? Learn from here
How to show local Notification at an exact time? Learn from here
Check out MindOrks awesome open source projects here
Copyright (C) 2020 MINDORKS NEXTGEN PRIVATE LIMITEDLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Just make pull request. You are in!