This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
var testingSet = Set<Int>() | |
// acessing and modifying sets | |
testingSet.insert(1) | |
print(testingSet) | |
print(testingSet.count) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post_install do |installer| | |
installer.pods_project.targets.each do |target| | |
target.build_configurations.each do |config| | |
config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO' | |
end | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Where would data structures and algorithms are applied. Here are the quick examples: | |
- Diffing for UITableView / UICollection batchUpdate, using Longest Common Subsequence, or Edit Distance. | |
- Cache the value using Dictionary to perform search in O(1). (Which is the Hash-table and Dynamic Programming feature in CS) | |
- Traverse Tree will be used when you would like to traverse whole view hierarchy. | |
- You would need Trie data-structure to have a cached experience for @mention in Chat app / Dictionary. | |
- And how do you find the path between 2 points in Map app, Transport app without using Graph? ( Or you could use WebView and leave the hard thing for other engineers ) | |
- How do you structure a rich text Document without understand Tree data structure? |