Open in app

Sign In

Write

Sign In

Maayan Savir
Maayan Savir

57 Followers

Home

About

May 10, 2022

Leetcode — Valid Sudoku #36

Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each row must contain the digits 1-9 without repetition. Each column must contain the digits 1-9 without repetition. Each of the nine 3 x 3 sub-boxes of…

Java Script

4 min read

Leetcode — Valid Sudoku #36
Leetcode — Valid Sudoku #36
Java Script

4 min read


Apr 30, 2021

Implement Array.map() in JS

In a nutshell map() is a built-in function of Array in JavaScript. It helps us iterate on an array, calls a provided callback() on each element, and returns a new array with the new results. Parameters map() accepts as parameters - current element — The current element being processed in the array. - the…

Java Script

2 min read

Implement Array.map() in JS
Implement Array.map() in JS
Java Script

2 min read


Jan 10, 2021

Get The Timezone Offset on Client side

One of the problems I had to solve recently involved handling Timezone and Date/Time data types. Whoever ever worked with both Timezones and Date/Time data types knows it is much much (much) harder than it looks! For clarity, Let’s understand what is the difference between Timestamp and an Offset. A…

Java Script

4 min read

Get The Timezone Offset on Client side
Get The Timezone Offset on Client side
Java Script

4 min read


Oct 2, 2020

Data Structure: Arrays

Array is one of the most commonly used data structure in the computer science world. If you ever had used a list of items such as todo list or playlist or a contacts list on your phone you most probably used an Array. An array is a data structure for…

Data Structures

6 min read

Data Structure: Arrays
Data Structure: Arrays
Data Structures

6 min read


Oct 2, 2020

Implement debounce in JavaScript

Debounce function limits the rate at which a function can fire. We want to use debounce every time we trigger an event/make an API call/run a process that is a heavy task. For example, an autocomplete. When a user types on an input element we want to send a server…

Java Script

6 min read

Implement debounce in JavaScript
Implement debounce in JavaScript
Java Script

6 min read


Sep 25, 2020

JavaScript — flatten an Array recursively

Flatten a dimensional array is a perfect problem to use recursion. Recursion is great if you want to solve a big problem by solving smaller instances of that big problem. Array we want to flatten var arr = [1, [2, 3], [[4]]]; The output should be var arr = [1…

Java Script

7 min read

JavaScript — flatten an Array recursively
JavaScript — flatten an Array recursively
Java Script

7 min read


Aug 12, 2020

What is JavaScript all about: Promise

JavaScript runs code sequentially in top-down order. Sometimes (which actually happen a lot) we want to run code after function has finish executed or an event has happened means to run the code in an asynchronous way. Since JavaScript is synchronized language, we need to find a way to run…

Java Script

5 min read

What is JavaScript all about: Promise
What is JavaScript all about: Promise
Java Script

5 min read


Jul 22, 2020

What is JavaScript all about: callback function

A callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action Why do we use callbacks? JavaScript runtime engine is a single threaded and can only do one thing at a time, means, it is synchronized. However…

Java Script

3 min read

What is JavaScript all about: callback function
What is JavaScript all about: callback function
Java Script

3 min read


Published in Dev Genius

·Jul 14, 2020

What is JavaScript all about: this keyword

In JavaScript, this keyword behaves a bit differently than other languages like C++, Java, etc. …

Java Script

6 min read

What is JavaScript all about: this keyword
What is JavaScript all about: this keyword
Java Script

6 min read


Published in Dev Genius

·Jul 10, 2020

API Documentation to simplify development process

Through out my career as a Software Engineer I have always had the need to deal with API endpoints either from the front or the back side of the product. …

Java

5 min read

API Documentation to simplify development process
API Documentation to simplify development process
Java

5 min read

Maayan Savir

Maayan Savir

57 Followers

Software Engineer

Following
  • Domenico Nicoli

    Domenico Nicoli

  • Dr. Derek Austin 🥳

    Dr. Derek Austin 🥳

  • Isabel Nyo

    Isabel Nyo

  • Sebastian

    Sebastian

  • John Au-Yeung

    John Au-Yeung

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech