CS fundamentals and algorithmsAlibaba Group
Deduplicating beyond memory
You have a 1TB log file with one URL per line and need to remove duplicate URLs, but you only have 1GB of memory. How do you do it?
Deduplicating beyond memory
You have a 1TB log file with one URL per line and need to remove duplicate URLs, but you only have 1GB of memory. How do you do it?
CS fundamentals and algorithmsShort answerBasics
Chat messages sit in an array sorted by id ascending. When the user taps a push notificat…
#dedupe
CS fundamentals and algorithmsShort answerBasics
Your app writes a network log file. Each line has the format userID(4 digits) pageName st…
#streaming
PersistenceShort answerBasics
Which requirements push you to Core Data (or SwiftData) instead of UserDefaults or a plai…
#sqlite
PersistenceShort answerBasics
A teammate says "Core Data is heavy and hard to understand, let's use SQLite directly (or…
#sqlite