## Nodejs

##### Authenticate a User

This technical problem deals with writing a function to authenticate a user based on their email and password. If the user is authenticated, the function should return true. Otherwise, it should return false .

64
Nov 27
##### Update email for users with id > 100

Update the email field for all users in a MongoDB document whose id is greater than 100.

69
Nov 27
##### "User Authentication in NodeJS"

This technical problem deals with implementing a user authentication system in NodeJS. The input is a username and password, and the output is a boolean value indicating whether the user is authenticated or not.

82
Nov 26
##### Find the Median of a Stream of Integers

Given a stream of integers, this problem seeks to find the median of the stream at any given point. For example, given the input of [2, 1, 5, 7, 2 , 0, 5], the corresponding output would be [2, 1.5, 2, 3.5, 2, 2, 2].

99
Nov 26
##### Printing the average of integers in a stream

Given a stream of integers, this technical problem describes how to print out the average of all the integers seen so far at each point in the stream.

65
Nov 25
##### "Reversing the order of words in a string"

Given an input string, this NodeJS code snippet reverses the order of the words.

67
Nov 25
##### Reversing the order of strings in an array.

Reversing the order of strings in an array can be done by looping through the array and reversing the order of the strings.

90
Nov 25
##### "Authentication: validateUser()"

This technical problem deals with writing a function to validate a user's credentials against a database.

67
Nov 25