Skip to content
Projetos

anitaa1990/Android-Cheat-sheet

Ver no GitHub

Sobre

Resumo rápido para entrevistas de Android

Aprendizado e educação

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
-1
em 1 mês
+1

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Android-Cheat-sheet

Cheat Sheet for Android Interviews. Updated the list to include the latest android components available in 2024.

Maintained by Anitaa Murthy, a mobile engineer with 10+ years building products end to end across Android, iOS and backend. Currently available for freelance projects: portfolio · [email protected]

Topics

Common Coding Programs

Data Structure Coding Programs

  • Sorting

    • BubbleSort
    • InsertionSort
    • SelectionSort
    • QuickSort
    • MergeSort
      • Question: Why is quicksort preferred over merge sort for sorting arrays?
        • Quicksort does not require any extra storage whereas merge sort requires O(n) space allocation. Allocating/de-allocating memory space can increase the run time.
      • Question: Why is merge sort preferred over quicksort for sorting linked lists?
        • There is a difference in linked lists due to memory allocation. In linked lists we can insert items in the middle in O(n) space and time. There is no extra memory allocation required.

  • Searching

    • Binary Search
    • Rotated Binary Search
    • Ternary Search
      • Question: Why is binary search preferred over ternary search?
        • When dividing an array by k ( 2(binary) or 3(ternary)), it reduces the array size to 1/k. But it increases the no of comparisons by k.

  • Runtime Complexity Table:

I will be adding more questions soon! If you would like to contribute to the Android Cheat Sheet, just make a pull request!

Explore projetos relacionados

Carregando…