Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ArtRasel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
ArtRasel
11mo ago
Main Folder/ ├── Subfolder 1/ │ ├── File A │ └── Subfolder 1.1/ │ └── File B └── Subfolder 2/ └── File C
2.
▲
by
ArtRasel
11mo ago
fun findAllImageFiles(dir: File): List<File> { val imageFiles = mutableListOf<File>() dir.listFiles()?.forEach { file -> if (file.isDirectory) { imageFiles.addAll(findAllImageFiles(file)) /&#x
3.
▲
by
ArtRasel
11mo ago
Recursion vs Loops - Android Development Perspective In Android development, both have their places, but recursion shines in specific scenarios: Where recursion works better: • File System Traversal - Scanning nested app directories and ext