android, kotlin, linux, docker, asop, web
Home
Categories
Tags
©2017 - 2024. All rights reserved.
multixlab
All Categories
Java
Callable & Future Interfaces
Exchanger
Synchronized keyword ?
Semaphore
Syncing with CyclicBarrier
Syncing with CountDownLatch
Exception Handling in Threads
Thread Local Variables
Android
Custom Views - II
Custom Views - I
Pending Intents - Part 2
Pending Intents - Part 1
What to return from onStartCommand
Looper/Handler API - Part 4
Looper/Handler API - Part 3
Looper/Handler API - Part 2
Getting familiar with Loaders - Part 2
Getting familiar with Loaders - Part 1
Looper/Handler API - Part 1
Gradle
Gradle task rules
Creating tasks in gradle - Tasks API
Gradle - Build lifecycle
Gradle Mysteries
Git
Git reset
Random
Being consistent
Why should I fix it?
Linux
Ubuntu 22.04 is stuck on startup
Stop Microsoft Teams from starting on startup
Indexed and associative arrays in bash
Using netstat to find the process listening on specific port
Here doc in bash
Automating inputs to linux scripts
Data-structures
Union-Find (Disjoint-Set)
Range queries - sparse table
Range queries - creating prefix sum of a 2D array
Segment tree
Binary Indexed Tree (BIT) or Fenwick tree
Heap data structure in java/kotlin
Binary heap implementation in kotlin
Heap data structure, heap sort , heapify and priority queues
Complete vs Perfect/Full binary tree
Array representation of a binary tree
Algorithms
Finding the lowest common ancestor (LCA) using Euler tour and sparse table
Finding LCA of two nodes in a tree
Prim's minimum spanning tree
Kruskal's minimum spanning tree
Isomorphic Trees - AHU Algorithm
Find center of a tree
Rooting a tree at a specific node
Combinations
Permutations
Dijkstra's shortest path algorithm
Detecting negative cycle - Bellman-Ford algorithm
Tarjan's strongly connected components
Single source shortest path - DAG
Topological sort using Kahn's algorithm
Topological sort using DFS
Find connected components of a graph using DFS
Depth first search (DFS)
Cycle detection in a graph using DFS
Breadth first search (BFS)
Two Way Merge Sort
Selection Sort
Quick Sort
Merge Sort
Insertion sort
Bubble Sort
Heap sort in kotlin
Pre, Post and In-order tree traversal
Kotlin
Mutable shared flow
top