Posted on Leave a comment

Java Android faq interview algorithms collections

Collections in java. don’t forget

Руководство по версиям и возможностям Java
[https://habr.com/ru/post/488144/]

https://habrahabr.ru/post/162017/

https://habr.com/post/156361/

https://habrahabr.ru/post/237043/

364d7e41907e453b8e60128cdac459dc

2016-12-04_00-29-25


Complexity pdf

wiki – Computational complexity theory

Вопросы к собеседованию Java-backend, Java core (60 вопросов)
[https://habr.com/ru/post/485678/]

O notation

pdf, pdf

Введение в анализ сложности алгоритмов (часть 1) (https://habr.com/post/196560/)

int a = 1;
while (a < n) {
a = a * 2;
}

is lg n


https://auth0.com/blog/best-practices-in-android-development/

Как реализованы JIT-компиляторы
[https://habr.com/ru/company/mailru/blog/513290/]

Синхронизация в Java. Часть 1
[https://nuancesprog.ru/p/8695/]

Основы программирования TCP-сокетов на Java
[https://nuancesprog.ru/p/8583/]
Основы программирования UDP-сокетов на Java
[https://nuancesprog.ru/p/8752/]

Often Ignored Stuff — Android Data Structures (https://medium.com/@ankitsharma6466/often-ignored-stuff-android-data-structures-ec2efff847ea)

Android Interview Questions Cheat Sheet [https://medium.com/@anitaa_1990/android-interview-questions-cheat-sheet-96ea01c88def]

Android Interview Questions Cheat Sheet — Part II [https://android.jlelse.eu/android-interview-questions-cheat-sheet-part-ii-bea0633f0da7]

String, StringBuilder и StringBuffer: понимаете ли вы разницу?
[https://nuancesprog.ru/p/9504/]


Tips:

  • JPA, Hibernate pdf
  • java opensource on github pdf
  • collections (jdk, guava, apache etc) pdf
  • java stream api pdf dzone
  • studing java pdf
  • links pdf
  • inputstream into string pdf
  • map, substring in string pdf
  • json pdf

Android


Android


Network

REST, SOAP, WSDL


Object methods

public native int hashCode();
public boolean equals(Object obj) {
return (this == obj);
}
protected native Object clone() throws CloneNotSupportedException;
public String toString() {
return getClass().getName() + "@" + Integer.toHexString(hashCode());
}
public final native void notify();
public final native void notifyAll();
public final native void wait(long timeout) throws InterruptedException;
protected void finalize() throws Throwable { }

ob1.Equals(ob2) --> ob1.hashcode == ob2.hashcode
[https://habr.com/ru/company/otus/blog/443710/]

pdf

Map is not a collection.

Questions:

  1. differences between ArrayList and LinkedList
    https://habrahabr.ru/post/162017/
    https://habrahabr.ru/post/159557/
    https://habrahabr.ru/post/128269/
    https://habrahabr.ru/post/127864/
  2. HashMap
  3. BinaryTree
    BalancedTree

17+ Binary Tree Coding Practice Problems from popular Programming Interview Questions
[https://piprogramming.org/articles/17-Binary-Tree-Coding-Practice-Problems-from-popular-Programming-Interview-Questions-0000000013.html]

Interfaces, Classess:

java-collections_api-collection

Multithreading

wait, notify, notifyAll, concurrent

syncronized, volatile

Understanding Multithreading, ThreadPoolExecutor, Callable, Future by Example [https://medium.com/mindorks/understanding-multithreading-threadpoolexecutor-callable-future-by-example-9ff2419facf7]

Android

There are 4 main components: activity, service, broadcastreceiver, ContentProvider

BroadcastReceiver can be registered in manifest or in code.

Service lifecycle:

Restart of service:

Service in UI and service in another thread

Activity lifecycle:

if a view has ID then

Activity.OnCreate(Bundle)


Sparse collections

HashMap Array class
<Integer, Object> SparseArray
<Integer, Boolean> SparseBooleanArray
<Integer, Integer> SparseIntArray
<Integer, Long> SparseLongArray
<Long, Object> LongSparseArray

@AndroidSobes – Все вопросы по Android [ https://itsobes.ru/AndroidSobes/ ]

Android Interviews in 2019 [ https://proandroiddev.com/android-interviews-in-2019-aa518f321ff ]

Понятнее о S.O.L.I.D
[https://habr.com/ru/post/508086/]

The S.O.L.I.D Principles in Pictures
[https://medium.com/backticks-tildes/the-s-o-l-i-d-principles-in-pictures-b34ce2f1e898]

Android questins and answers
Часть первая ответника, Java [ https://medium.com/sasha-inverse/%D1%87%D0%B0%D1%81%D1%82%D1%8C-%D0%BF%D0%B5%D1%80%D0%B2%D0%B0%D1%8F-%D0%BE%D1%82%D0%B2%D0%B5%D1%82%D0%BD%D0%B8%D0%BA%D0%B0-java-6545095f0ccb ]

Часть вторая, Kotlin [ https://medium.com/sasha-inverse/%D1%87%D0%B0%D1%81%D1%82%D1%8C-%D0%B2%D1%82%D0%BE%D1%80%D0%B0%D1%8F-kotlin-ef10c9072d7f ]

Часть третья, RxJava [ https://medium.com/sasha-inverse/%D1%87%D0%B0%D1%81%D1%82%D1%8C-%D1%82%D1%80%D0%B5%D1%82%D1%8C%D1%8F-rxjava-f0837d7fbc33 ]

Часть четвёртая ответника, платформа Android. [ https://medium.com/sasha-inverse/%D1%87%D0%B0%D1%81%D1%82%D1%8C-%D1%87%D0%B5%D1%82%D0%B2%D1%91%D1%80%D1%82%D0%B0%D1%8F-%D0%BE%D1%82%D0%B2%D0%B5%D1%82%D0%BD%D0%B8%D0%BA%D0%B0-%D0%BF%D0%BB%D0%B0%D1%82%D1%84%D0%BE%D1%80%D0%BC%D0%B0-android-5cfe8a985967 ]

Часть пятая, общие вопросы разработки ПО. [ https://medium.com/sasha-inverse/%D1%87%D0%B0%D1%81%D1%82%D1%8C-%D0%BF%D1%8F%D1%82%D0%B0%D1%8F-%D0%BE%D0%B1%D1%89%D0%B8%D0%B5-%D0%B2%D0%BE%D0%BF%D1%80%D0%BE%D1%81%D1%8B-%D1%80%D0%B0%D0%B7%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%BA%D0%B8-%D0%BF%D0%BE-96d274124171 ]



Android Developer should know these Data Structures for Next Interview [ https://medium.com/mindorks/android-developer-should-know-these-data-structures-for-next-interview-9681f06bb3ca ]

Как я успешно прошел шесть собеседований в Силиконовой долине
[https://habr.com/ru/company/digital-ecosystems/blog/437484/]

Подготовка к собеседованиям в IT-гиганты: как я преодолела проклятье алгоритмического собеседования
[https://habr.com/ru/post/499394/]

Как стать долларовым миллионером за 30 лет, лежа на диване
[https://habr.com/ru/post/500754/]

Как устроиться в LinkedIn, Facebook, Google в Кремниевой Долине
[https://habr.com/ru/post/503642/]

Собеседую программистов на Java. Единый набор вопросов для любого уровня
[https://habr.com/ru/post/505700/]

Как стать GDE: интервью с Евгением Мацюком и Александром Денисовым
[https://medium.com/@al.gorshkoov/%D0%BA%D0%B0%D0%BA-%D1%81%D1%82%D0%B0%D1%82%D1%8C-gde-%D0%B8%D0%BD%D1%82%D0%B5%D1%80%D0%B2%D1%8C%D1%8E-%D1%81-%D0%B5%D0%B2%D0%B3%D0%B5%D0%BD%D0%B8%D0%B5%D0%BC-%D0%BC%D0%B0%D1%86%D1%8E%D0%BA%D0%BE%D0%BC-%D0%B8-%D0%B0%D0%BB%D0%B5%D0%BA%D1%81%D0%B0%D0%BD%D0%B4%D1%80%D0%BE%D0%BC-%D0%B4%D0%B5%D0%BD%D0%B8%D1%81%D0%BE%D0%B2%D1%8B%D0%BC-48adcd5e022b]

Kotlin Android Interview Questions
[https://blog.mindorks.com/kotlin-android-interview-questions]

Kotlin Interview Questions — Part-1
[https://medium.com/@mmlilla90/kotlin-interview-questions-part-1-2d63fece9f18]
[https://medium.com/@mmlilla90/kotlin-interview-questions-part-2-62d174439c07]

Как проходят алгоритмические секции на собеседованиях в Яндекс
[https://habr.com/ru/company/yandex/blog/449890/]


Применение структур данных и алгоритмов на практике на примере Skype, Uber и Skyscanner
[https://tproger.ru/translations/applying-data-structures-and-algorithms/]

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.