Given an array of integers, return indices of the two numbers such that they add up to a specific target.

You may assume that each input would have exactly one solution, and you may not use the same element twice. 182 more words

Given an array of integers, return indices of the two numbers such that they add up to a specific target.

You may assume that each input would have exactly one solution, and you may not use the same element twice. 182 more words

Given two arrays, write a function to compute their intersection.

Example:

Given nums1 = `, nums2 = `

`, return `

`.`

Note:

- Each element in the result should appear as many times as it shows in both arrays. 226 more words

The first thing I’ll say about Hyper Japan is that I may have spent a little too much money. The second thing I’ll say about Hyper Japan is that… 1,844 more words

Parcă a durat cât o iarnă lungă din Westeros ca Game of Thrones să revină, dar primul episod, Dragonstone, a sosit în sfârșit via un corb peste Marea Îngustă. 1,422 more words

The total babe that is Sarah over at Raiin-Monkey tagged me in this – head over to her blog to check out her answers!

I’m not really sure how geeky I am to be honest, I’ve never thought about it! 440 more words

Given two arrays, write a function to compute their intersection.

Example:

Given nums1 = `, nums2 = `

`, return `

`[2]`

.

Note:

- Each element in the result must be unique. 115 more words

Write a program that outputs the string representation of numbers from 1 to n.

But for multiples of three it should output “Fizz” instead of the number and for the multiples of five output “Buzz”. 131 more words