Git Product home page Git Product logo

assignment-swift-2's Introduction

Game of Apps Intern Interview

Thanks for your interest in the Game of Apps developer intern position! This repo contains a list of tasks for you to do, so we can get a gauge of your skill and passion for development.

You're expected to know the basics of the Git development workflow. If you don't know or you want a review, check out this tutorial.

Instructions

The goal is to submit a pull request that accomplishes the following tasks. While the pull requests are public, don't blindly copy others. The follow up interview will involve questions on your submission.

Fork this repository to begin.

Challenge 1: Algorithms

Your first challenge is to solve two algorithm questions. You'll be judged based on correctness, performance, and code readability.

Question 1: Find all pairs for a given sum

Create a function that accepts an array of integers and a target sum. The function will print all pairs of integers in the array whose sum is equal to the target sum. Here's an example:

let testArray = [2, 4, 5, 1, 3, 5, 4]
let targetSum = 6

// Expected pairs are:
// (2, 4)
// (1, 5)

Here's a function signature to start you off:

func findPairs(in array: [Int], withSum sum: Int) {
  // your code here
}

Question 2: Is Palindrome?

Create a function that checks if a string is a palindrome and returns true or false. A palindrome is a word that reads the same way even if you read it backwards.

Example palindromes:

  • radar
  • bob
  • asdfdsa

Here's a function signature to start you off:

func isPalindrome(_ word: String) -> Bool {
  // your code here
}

Challenge 2: iOS

Your second challenge is to develop a small app from scratch. Here are the requirements:

  • It should show a list of images.
  • Tapping on an image should navigate to a new screen that shows the selected picture

Notes:

  • If you're a bit rusty on your iOS skills, check out this tutorial.

  • A good developer tries to write code that is easy to understand. The industry has a set of best practices that focus on writing easy to maintain code. Here's a set of guidelines on these best practices: Swift Style Guide.

assignment-swift-2's People

Contributors

gameofapps avatar rtecson avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.