Skip to content
View iAmNsengi's full-sized avatar
:octocat:
Ready For Work
:octocat:
Ready For Work
Block or Report

Block or report iAmNsengi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
iAmNsengi/README.md
  • πŸ‘‹ Hi, I’m @iAmNsengi
  • πŸ‘€ I’m a Software Engineer
  • 🌱 I’m currently using NodeJs, Typescript, Express, MongoDB and React Js
  • πŸ’žοΈ I’m looking to collaborate on any Web Based Software
  • πŸ“« How to reach me +(250)785-816-971 and on iamnsengi@icloud.com
  • Tools I Use:
    ReactΒ  Material UIΒ  CSSΒ  HTMLΒ  JavaScriptΒ  FirebaseΒ  GatsbyΒ  MySQLΒ  NodeJSΒ  AWSΒ 

My Favorite Algorithm So far :

  // sumUnique([1, 2, 2, 3, 4, 4, 5]) ==>  1 + 3 + 5 => 9
//   sumUnique([10, 20, 20, 30, 40, 40, 50]) ==> 10 + 30 + 50 => 90 
//  sumUniquey([5, 5, 10, 15, 20, 25, 25]) =>  10 + 15 + 20 => 45

const sumUnique = (arr)=>{
 return Object.entries(arr.reduce(function (obj, value2 ){
    return (obj[value2] ? ++obj[value2] :(obj[value2] = 1),obj)
 },{})).filter(([key,value]) => value  === 1).flat().filter(el => typeof el == 'string').reduce((a,b) => parseInt(a)+ parseInt(b) ,0)
}

Pinned

  1. RandomPasswordGenerator RandomPasswordGenerator Public

    A random password generator written in Ts and TailWind css

    TypeScript

  2. Backend-Portfolio-Typescript Backend-Portfolio-Typescript Public

    The Typescript Verison of my Portfolio API

    HTML

  3. rock_paper_scissors-game rock_paper_scissors-game Public

    version 1 of rock paper scissors not very fine but it works

    JavaScript

  4. Backend-Portfolio Backend-Portfolio Public

    A NodeJs Portfolio backend

    JavaScript

  5. RobotikFix RobotikFix Public

    A blog app written in NodeJs, ReactJs

    JavaScript

  6. lode-shoes lode-shoes Public

    An online store for LodeShoes, written in Python Django

    Python 1