This Swift coding test evaluates candidates’ ability to work with arrays. The test gives candidates 30 minutes to create a short algorithm involving arrays while taking into consideration all the requirements provided.
Coding Question
Developers working in iOS, macOS, watchOS, and tvOS apps, or any other roles requiring an intermediate knowledge of working with arrays in Swift.
Swift is a popular coding language for developing iOS, macOS, watchOS, and tvOS apps. Good Swift developers are highly sought after, and one of the skills required of them is working with arrays. Arrays are a fundamental data structure in Swift that allow developers to store and manipulate collections of related values efficiently.
This test assesses candidates’ skills in working with Swift arrays. It provides a task description in the appropriate context and specifies the algorithms that need to be developed and the requirements to satisfy. The test also includes a few examples to illustrate how the function should behave and asks candidates to solve the task. You can see a complete and functional example of a task by clicking the “preview question” tab on this page.
Candidates can run their code to see if certain pre-defined inputs return the expected result. The test is scored automatically using a different set of test cases, which include more challenging corner cases. Once the test is complete, you can inspect the code of the candidate and play it back to interpret their thought process. You can also see the efficiency of the code shown in the results.
Suneet is a non-caffeine-addicted developer who holds an MSc in Video Game Development from Birmingham City University and works as Director of Engineering for a payroll management app in Bangalore, India.
Suneet’s career spans 10 years of industry experience in native Android, native iOS, Web (React native), Backend (Node JS and TS) and Game Development targeting mobile and PlayStation. Suneet is passionate about gaming and animation.
TestGorilla’s tests are created by subject matter experts. We assess potential subject-matter experts based on their knowledge, ability, and reputation. Before being published, each test is peer-reviewed by another expert, then calibrated using hundreds of test takers with relevant experience in the subject.
Our feedback mechanisms and unique algorithms allow our subject-matter experts to constantly improve their tests.
TestGorilla helps me to assess engineers rapidly. Creating assessments for different positions is easy due to pre-existing templates. You can create an assessment in less than 2 minutes. The interface is intuitive and it’s easy to visualize results per assessment.
VP of engineering, mid-market (51-1000 FTE)
Any tool can have functions—bells and whistles. Not every tool comes armed with staff passionate about making the user experience positive.
The TestGorilla team only offers useful insights to user challenges, they engage in conversation.
For instance, I recently asked a question about a Python test I intended to implement. Instead of receiving “oh, that test would work perfectly for your solution,” or, “at this time we’re thinking about implementing a solution that may or may not…” I received a direct and straightforward answer with additional thoughts to help shape the solution.
I hope that TestGorilla realizes the value proposition in their work is not only the platform but the type of support that’s provided.
For a bit of context—I am a diversity recruiter trying to create a platform that removes bias from the hiring process and encourages the discovery of new and unseen talent.
Chief Talent Connector, small business (50 or fewer FTE)
Our screening tests identify the best candidates and make your hiring decisions faster, easier, and bias-free.
Building assessments is a breeze with TestGorilla. Get started with these simple steps.
The Swift (Coding): Working with Arrays test will be included in a PDF report along with the other tests from your assessment. You can easily download and share this report with colleagues and candidates.