Socials
  • Facebook
  • Instagram
  • Linkedin
  • Youtube
  • Stackoverflow
  • Github
  • AngelList

Igor Khrupin

  • About
  • Technical Blog
  • Archives

Recursion

Algorithms

Merge Sort Algorithm

Basics Merge Sort is a divide and conquer algorithm. The algorithm is based on the principle that a one-element algorithm is sorted a priori. The algorithm starts by recursively dividing the list into smaller ones. This process is called “partitioning”. This continues until the length of the sublists becomes 1. Read more

By Igor Khrupin, 6 years28 February, 2021 ago
Binary Search algorithm
Algorithms

Binary Search algorithm

Basics The main requirement for the binary search is: Array must be sorted. The binary search work in the same way as searching phone number by person name in phonebook. Or similar to searching word in the dictionary. For example you need to find word “Mars”. What the steps people Read more

By Igor Khrupin, 6 years30 December, 2020 ago
How to get size of the app data in Android
Android Development

How to get size of the app data in Android

Here is few lines how to get size of directory in Android. To get size of directory you need sum sizes of all files in this directory and subdirectories. So, we need recursion. long sizeOfCacheDir = getCacheDirSize(getCacheDir()); textViewSize.setText(“Cache dir size = ” + sizeOfCacheDir + ” bytes”); Where : private Read more

By Igor Khrupin, 9 years27 June, 2017 ago
profile for ihrupin at Stack Overflow, Q&A for professional and enthusiast programmers
Categories
  • Algorithms (7)
    • Graph (1)
    • Linked List (2)
    • Searching (1)
    • Sorting (3)
  • Frameworks (4)
    • Flash (4)
  • Gradle (1)
  • Integrated development environment (IDE) (8)
    • Android Studio (8)
  • Mobile Software Development (75)
    • Android Development (74)
      • Android Accessibility (1)
      • Android NDK (3)
      • Android Performance (1)
    • iOS Development (2)
  • Operation Systems (28)
    • Linux (16)
      • Ubuntu (6)
    • Mac OS X (13)
      • Mountain Lion (2)
  • Programming Languages (10)
    • ActionScript (3)
    • Java (7)
  • Tech (112)
  • Tools (1)
  • Uncategorized (1)
  • Web Development (16)
    • Bots (1)
Tags
ActionScipt 3 Activity Algorithm Android Android Keyboard Android SDK Android Studio cron crontab Decomposition Eclipse embed Font Flash UI Google maps Google Maps V2 hammerhead hotkeys HTML iOS LatinIME Layout letsencrypt Linux Ubuntu ListView LoaderManager Lucid Lynx Mac OS X Map Overlays Maven media player MySQL NDK nginx opacity PHP Recursion Sorting ssl Telephony TextField Ubuntu UI View ViewPager Virtual Machine
Categories

Hestia | Developed by ThemeIsle