Tag: Algorithm
-
Knuth-Morris-Pratt Algorithm in Swift
This algorithm is useful for finding matching patterns in a string.The concept is very clever, but I found it difficult to understand at first. So, I decided to visualize it First, Let’s learn what LPS is LPS is the length of the longest prefix that is also a suffix,excluding the entire string itself. In the…
-

Laid Off at 40: My Senior iOS Interviews with Google, Meta, and Amazon
My experience interviewing for senior iOS roles at Google, Meta, and Amazon after being laid off at 40, including preparation and interview rounds.
-

Core Animation Basics
Core Animation fundamentals for iOS developers. Learn how bitmap-based rendering, layers, and animation work together to create smooth visual effects in your apps.
-

iOS, Useful Bit Manipulation Techniques
Learn practical bit manipulation in Swift, including AND, OR, XOR, shifts, bit checks, counting set bits, and reversing bits.
-

Learn Mobile System Design from Apple’s UIKit Samples
Learn mobile system design from Apple’s UIKit sample projects, including state restoration, data management, and multi-window architecture.
-

Shortest-Path Algorithms in Swift: Dijkstra and Bellman–Ford
Graph shortest path algorithms explained for iOS developers. Learn Dijkstra’s and Bellman-Ford algorithms with Swift implementations for weighted and unweighted graphs.
-

What Sorting Algorithm Does Swift Use?
Explore Swift’s sorting implementation, how it relates to TimSort, and where to find the relevant code in the Swift standard library.
-

iOS, Find least common ancestor from 2 UIViews
Find the least common ancestor of two UIViews in iOS. Use recursive calling or the superview property to traverse the UIView tree data structure in Swift.
-

Implement an LRU Cache in Swift
Learn how to implement an LRU cache in Swift with O(1) get and put operations using a hash table and doubly linked list.
-

iOS, General Programming Problems
Common programming problems for iOS coding interviews. Practice straight programming challenges that test logical thinking and problem-solving skills in Swift.









You must be logged in to post a comment.