Cynthia R's repositories
coming_soon
movies coming soon posted on IMDb
nodejs
nodejs tutorial
numJewelsInStones
You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. You want to know how many of the stones you have are also jewels. The letters in J are guaranteed distinct, and all characters in J and S are letters.
palindromeNumber
Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward.
reverseInteger
Given a 32-bit signed integer, reverse digits of an integer. Assume we are dealing with an environment which could only store integers within the 32-bit signed integer range: [−231, 231 − 1]. For the purpose of this problem, assume that your function returns 0 when the reversed integer overflows.
twoSum
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.