Sign in

Software Engineering Student at Flatiron NYC. Learning day by day 💻
Photo by Crissy Jarvis on Unsplash

What is the Math Library?

  1. Math.ceil(x)
    This method rounds a number (usually a decimal) upwards to its nearest integer and returns the result. If the number x is an integer then there will be nothing to round.
    Math.ceil(1.4) // -> 2
    Math.ceil(2) // -> 2
  2. Math.floor(x)
    This method is the opposite of Math.ceil(x). It rounds the decimal number downwards to the nearest integer and…


Problem 7: Reverse Integer

Example


What is ReactJS?

What is React Native?


Photo by Amit Lahav on Unsplash

Problem 1431: Kids With the Greatest Number of Candies

Example


Photo by Christina @ wocintechchat.com on Unsplash

Multiple Pointers — countUniqueValues

Example


Photo by Firmbee.com on Unsplash

What is React Native?


anagram image of “listen” and “silent” with arrows pointing to matching letters
anagram image of “listen” and “silent” with arrows pointing to matching letters

Frequency Counter — validAnagram

Example


Photo by Markus Spiske on Unsplash

27. Frequency Counter Pattern


Photo by Kelly Sikkema on Unsplash

Problem 1480: Running Sum of 1d Array

Example

Constraints

  • 1 <= nums.length <= 1000
  • -10^6 <= nums[i] <= 10^6
var runningSum = function(nums){};

My Process

Understanding the Problem

Ajak Cyer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store