Nodejs

User Authentication in NodeJS
AskAI

Write a function that takes in a user's email and password and returns true if the user exists in an array of user objects and the password is correct.

Find the Median of an Input Stream of Integers
AskAI

This technical problem deals with finding the median of a stream of integers. The input is a list of integers, and the output is the median of the stream at any given point.

Sum of integers greater than or equal to 10
AskAI

This problem asks for the sum of all integers in an array that are greater than or equal to 10. So, for the example input given, the output would be 75 (10+11 +12+13+14+15).

56
Nov 20
NodeJS / Authentication - Hashing a User's Password
AskAI

This technical problem deals with creating a password hash for a user object in NodeJS.

Print the median of a stream of integers after each new element is introduced.
AskAI

This problem deals with printing the median of a stream of integers after each new element is introduced. The input is a stream of integers, and the output is the median of the stream after each new element is introduced.

Sum of integers greater than or equal to 10 in an array
AskAI

Given an array of integers, this function will return the sum of all integers that are greater than or equal to 10.

87
Nov 19
Implement a basic authentication system in Node.js
AskAI

This technical problem involves implementing a basic authentication system in Node.js. The system should check for a valid username and password, and output "Authenticated!" if both are correct.

Summing a List of Integers
AskAI

This technical problem deals with writing a function that takes a list of integers as input and returns the sum of all the integers in the list.

62
Nov 19