
Why Swift Sucks as a Functional Language
Some months ago, I became one of the many victims of a dreaded massive layoff. Due to personal issues — among them caring for my father after he fell ill with COVID — I'm still searching for a job. In this search, I've encountered a trend that's relatively new to me: the rise of coding tests. I studied data structures and algorithms during my degree, but that was more years ago than I'm comfortable admitting. Years of just storing data in databases and retrieving it to display on a screen haven't exactly kept those skills sharp. In my last set of interviews, I failed more often than I'd like to admit. Thankfully, I came across a kind team lead (yes, they exist!) who gave me valuable feedback on my performance. With his guidance, I've developed a plan to succeed in future interviews. But that's a topic for another post. The problem: Find any local maxima One of the coding problems I encountered was to find a local maxima in an array of integers. A local maxima is a value greater than it
Continue reading on Dev.to
Opens in a new tab


