Collections in java. don’t forget
Руководство по версиям и возможностям Java
[https://habr.com/ru/post/488144/]
Руководство по возможностям Java версий 8-16
[https://habr.com/ru/post/551590/]
https://acecodinginterview.org/
https://habrahabr.ru/post/162017/
https://habrahabr.ru/post/237043/
wiki – Computational complexity theory
Обзор примитивов синхронизации — спинлоки и тайны ядра процессора spinlock
[https://habr.com/ru/articles/278685/]
Peeking behind the forbidden door of Reflection
[https://proandroiddev.com/peeking-behind-the-forbidden-door-of-reflection-by-prafull-mishra-2293d3034e9f]
Вопросы к собеседованию Java-backend, Java core (60 вопросов)
[https://habr.com/ru/post/485678/]
Сборка мусора в Java: что это такое и как работает в JVM
05.2021 [https://nuancesprog.ru/p/12392/]
Очереди с приоритетом в Java
[https://nuancesprog.ru/p/13932/]
Прогресс GC от JDK 8 до JDK 17
[https://habr.com/ru/company/haulmont/blog/591633/]
Как в Java устроено выделение регистров в памяти
[https://habr.com/ru/company/piter/blog/645949/]
Как устроена Java Virtual Machine и её экосистема: подробный гайд
[https://skillbox.ru/media/code/kak-ustroena-java-virtual-machine-i-ee-ekosistema/]
Java Synchronized: What Is Thread Synchronization In Java
[https://www.softwaretestinghelp.com/what-is-thread-synchronization-in-java/]
Как работает UI в Android. Не все так сложно
[https://habr.com/ru/post/665806/]
Магия Dispatcher’ов и как сделать свой Main
[https://habr.com/ru/post/680946/]
Main Loop (Главный цикл) в Android Часть 1. Пишем свой цикл. Main Thread.
[https://habr.com/ru/companies/cian/articles/588314/]
Seven Types of JAVA Garbage Collectors
11.2019 [https://medium.com/@hasithalgamge/seven-types-of-java-garbage-collectors-6297a1418e82]
Android Garbage Collection in a Nutshell
[https://medium.com/@banerjee.s.sayans/android-garbage-collection-in-a-nutshell-e5c8acfa1538]
Garbage Collection и JVM
[https://habr.com/ru/companies/otus/articles/776342/]
OutOfMemory
[https://habr.com/ru/articles/749568/]
Введение в байт-код Java
05.2021 [https://nuancesprog.ru/p/12440/]
Глубокое погружение в Java Memory Model
[https://habr.com/ru/post/685518/]
Java string pool
Бассейн со строками [https://fi5t.xyz/posts/string-pool/]
[https://topjava.ru/blog/rukovodstvo-po-string-pool-v-java]
Предположим, нам дали два целых числа, но не примитивы, а Integer-объекты…
[https://habr.com/ru/companies/ibs/articles/739380/]
Эпизод 1. Скрытая угроза Java Core. Уровень Юнглинг
[https://habr.com/ru/company/neoflex/blog/675484/]
Object equality in Java and Kotlin
03.2022 [https://medium.com/booking-com-development/object-equality-in-java-and-kotlin-9441f34e2163]
O notation
Big O нотация: что это такое и почему ее обязательно нужно знать каждому программисту
[https://proglib.io/p/big-o-notaciya-chto-eto-takoe-i-pochemu-ee-obyazatelno-nuzhno-znat-kazhdomu-programmistu-2022-02-17]
[https://habr.com/ru/articles/444594/]
[https://habr.com/ru/articles/782608/]
Что такое «O» большое в программировании?
[https://nuancesprog.ru/p/15191/]
Структуры данных: асимптотический анализ
[https://nuancesprog.ru/p/15208/]
Структуры данных: «жадные» алгоритмы
[https://nuancesprog.ru/p/15209/]
P vs NP problems
[https://twitter.com/ValeriiZhyla/status/1455462831420215296]
Введение в анализ сложности алгоритмов (часть 1) (https://habr.com/post/196560/)
[code language="java"] int a = 1; while (a < n) { a = a * 2; } [/code]
is lg n
https://auth0.com/blog/best-practices-in-android-development/
Как реализованы JIT-компиляторы
[https://habr.com/ru/company/mailru/blog/513290/]
Архитектура виртуальной машины Java: объяснение для начинающих
[https://nuancesprog.ru/p/15245/]
Все о ключевых словах static и final
[https://nuancesprog.ru/p/13968/]
Синхронизация в 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]
7 Android Lifecycle Interview Questions That Some Got Wrong
11.2022 [https://medium.com/mobile-app-development-publication/android-lifecycle-interview-questions-that-some-got-wrong-926b39b19a61]
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
- Handler, Looper, HandlerThread (Demystifying Android Looper, Handler, and HandlerThread [https://medium.com/mindorks/demystifying-android-looper-handler-and-handlerthread-3eb9e4951825])
- serializable, parcelable
- CodePath Android Cliffnotes [https://github.com/codepath/android_guides/wiki]
- Service, IntentService. What is inside?
- Your Cheat Sheet For Android Interview – Android Interview Questions [https://github.com/MindorksOpenSource/android-interview-questions]
- Fragment, FragmentTransaction, commit. How does the
commit
method work? Iscommit
synchronized? - Synchronization, Inter-process communication: mutexes, semaphores, events, etc.
- deadlock. how to avoid it.
- Collections in java
- deep link [https://developer.android.com/training/app-links/deep-linking], app link [https://developer.android.com/training/app-links]
- Singleton and double checking
- Checked and unchecked exceptions, in Java: url
- Memory leaks due to rotation with AsyncTask
- what is aar, dex
- dagger
- RxJava
- okhttp, retrofit
- What is UI-thread, how does it work?
- how to avoid crash of application if a service can occur crash – we can start the service in another process
- layout: frame, relative, linear – rendering
- Fragment.commitAllowingStateLoss (https://medium.com/inloopx/demystifying-androids-commitallowingstateloss-cb9011a544cc)
- Loader
- Is it possible that
onDestroy
is invoked withoutonPause
andonStop
? Yes, if there is exception inonCreate
. - if
Activity
are closed by OS, thenonDestroy
will not be invoked. - Empty constructor of Fragment is needed in state restoring.
- Communication between fragments and activities
- types of Intent
- what will be after onError in RxJava
- mvc, mvp, mvi, mvvm. Is aac about real mvvm?
- Which lifecycle methods of activity will be guaranteed invoked if OS destroys the one?
Android
- fragment, inner fragments, childFragmentManager, what to use instead of fragments
- save state of app,
onSaveInstanceState
,setRetainInstance(true)
,onRetainNonConfigurationInstance
- how does dagger save state
- solid. DI – where is inversion, service locator
- inner classes in java, types of them;
- types of references in java – Finally understanding how references work in Android and Java [https://medium.com/google-developer-experts/finally-understanding-how-references-work-in-android-and-java-26a0d9c92f83]
- how to works generics in java
- OOP and 4 principles [https://en.wikipedia.org/wiki/Object-oriented_programming]
- java – atomic operations
- problems of reflection in java – slow and errorable
- hot to determine complexity of quicksort
- android animation – requestlayout [https://stackoverflow.com/questions/13856180/usage-of-forcelayout-requestlayout-and-invalidate]. What is the best way to animate View?
- How to increase priority of Android Service – 1. create Foreground. 2. bind to the service.
- startService vs bindService. how to stop them
- a few receivers listen to the same action. how will be they work?
- Gradle. type, flavor, buildvariants
- proguard and ext.
- What is the order of starting of android components: application, content provider, activity, broadcast, activity
- Android Interview Questions [https://medium.com/mindorks/android-interview-questions-ch-1-7ff50dd47fb2] [https://medium.com/mindorks/android-interview-questions-ch-2-c3fa19e19366]
- Android Interview Questions & How to Interview Candidates
Android
When onSavedInstanceState is called?
If there is a stack of several activities, how will activities be restored? (order of callbacks)
Difference between callable vs. runnable
What is context? What methods does it have? Activity context vs. application context. Context + theme. How to implement different themes for 2 fragments which are simultaneously on the screen?
What is lifecycle of arguments of fragment?
CustomView, onMeasure, onLayout, onDraw, invalidate, requestLayout. Why is view needed a context in constructor? Can we pass application context?
Thread-safe collection. How are they implemented? What is Atomic<>? CopyOnWriteArrayList?
Generic in java. Why is primitive not allowed? Compile-time or run-time?
Network
REST, SOAP, WSDL
Object methods
[code language="java"] public native int hashCode(); public boolean equals(Object obj) { return (this == obj); } protected native Object clone() throws CloneNotSupportedException; public String toString() { return getClass().getName() + &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;@&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot; + 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 { } [/code]
ob1.Equals(ob2) --> ob1.hashcode == ob2.hashcode
[https://habr.com/ru/company/otus/blog/443710/]
Map is not a collection.
Questions:
- 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/ - HashMap
- 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:
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]
Жизненный цикл потока в Java
[https://nuancesprog.ru/p/10254/]
Потоки в Java: От рождения до смерти. Введение в многопоточность
[https://habr.com/ru/articles/776914/]
Мастерство многопоточности: Превращаем Java в шедевр параллельного программирования
[https://habr.com/ru/articles/776500/]
Что такое ExecutorService?
[https://habr.com/ru/post/554608/]
Android
Жизненный цикл Android-приложений
[https://tproger.ru/translations/lifecycle-in-android-apps]
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]
Kotlin question
[https://habr.com/ru/articles/721084/]
[https://habr.com/ru/post/722686/]
[https://habr.com/ru/articles/728742/]
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 ]
Top 50 Kotlin interview questions [https://piotr-codersee.medium.com/50-kotlin-interview-questions-ebecb32884b8]
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/]
Моя любимая задача для собеседований по программированию
[https://habr.com/ru/companies/ruvds/articles/775570/]
Моя любимая задачка по программированию для кодинг-интервью
[https://habr.com/ru/companies/ispsystem/articles/779224/]
Подготовка к собеседованиям в IT-гиганты: как я преодолела проклятье алгоритмического собеседования
[https://habr.com/ru/post/499394/]
Как стать долларовым миллионером за 30 лет, лежа на диване
[https://habr.com/ru/post/500754/]
Как устроиться в LinkedIn, Facebook, Google в Кремниевой Долине
[https://habr.com/ru/post/503642/]
A curated list of awesome Android articles sorted by topic.
[https://github.com/ImangazalievM/android-developer-reference]
Собеседую программистов на 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 for Interviews — Cheatsheet
[https://blog.kotlin-academy.com/kotlin-for-interviews-cheatsheet-88a9831e9d55]
Kotlin for Interviews — Part 1: Common Data Types
[https://blog.kotlin-academy.com/kotlin-for-interviews-part-1-common-data-types-886ea1e40645]
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]
A curated list of awesome Android articles sorted by topic.
[https://github.com/ImangazalievM/android-developer-reference]
Как проходят алгоритмические секции на собеседованиях в Яндекс
[https://habr.com/ru/company/yandex/blog/449890/]
If Kotlin Runs on the JVM Just Like Java, Then How Does It Provide So Many Great Features?
https://betterprogramming.pub/kotlin-runs-on-the-jvm-just-like-java-how-does-it-provide-so-many-great-features-b27ed269015b
Вопрос на сертификационном экзамене: применение Threads и Executors
https://habr.com/ru/companies/ibs/articles/743360/
Разбор тестового задания на позицию Android Developer
https://habr.com/ru/articles/746146/
Введение в Java Process Memory Model
https://habr.com/ru/articles/744834/
Типичная задача на собеседовании: URL Shortener
https://habr.com/ru/articles/746602/
Введение в многопоточность в Java очень простым языком: Процессы, Потоки и Основы синхронизации
https://habr.com/ru/articles/745910/
Пишем виртуальную машину (интерпретатор) простого байткода + JIT компиляция
https://habr.com/ru/articles/749152/
Инструментация байт-кода Java
https://habr.com/ru/articles/750028/
Разница между загрузкой и инициализацией классов в Java на любопытном примере
https://habr.com/ru/articles/740156/
Ahead of time compilation proposed for the JVM
https://www.infoworld.com/article/3704490/ahead-of-time-compilation-proposed-for-the-jvm.html
Перестаём бояться генерировать байт-код
https://habr.com/ru/articles/759990/
Многопоточность в мобильной разработке
https://habr.com/ru/articles/739212/
8 типичных нетипичных советов Android-разработчику перед интервью
https://habr.com/ru/companies/alfa/articles/732874/
Minding your Handlers and Queues
https://code.cash.app/minding-your-handlers-and-queues
7 Android Lifecycle Interview Questions That Some Got Wrong
https://medium.com/mobile-app-development-publication/android-lifecycle-interview-questions-that-some-got-wrong-926b39b19a61
Modern Android Interview Questions
https://proandroiddev.com/modern-android-interview-questions-f2b9889102ee
Многопоточность Java. #неОпятьАСнова #javaJunior #javaCore
https://habr.com/ru/articles/693244/
Synchronization, Thread-Safety and Locking Techniques in Java and Kotlin
https://proandroiddev.com/synchronization-and-thread-safety-techniques-in-java-and-kotlin-f63506370e6d
Применение структур данных и алгоритмов на практике на примере Skype, Uber и Skyscanner
[https://tproger.ru/translations/applying-data-structures-and-algorithms/]
All you need to know about ArrayMap & SparseArray
[https://proandroiddev.com/all-you-need-to-know-about-arraymap-sparsearray-49759c2ecbf9]
[https://t.me/android_live/599]