Skip to content

PeterWorakarn/neversitup-logic-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neversitup Candidate Test

Find Odd Int Challenge

Given an array of integers, find the one that appears an odd number of times. There will always be only one integer that appears an odd number of times

find-odd-int.ts

Permutation Challenge

your task is to create all permutations of a non-empty input string and remove duplicates, if present

permutation.ts

Smiley Face Challenge

Given an array (arr) as an argument complete the function countSmileys that should return the total number of smiling faces.

Rules for a smiling face:

  • Each smiley face must contain a valid pair of eyes. Eyes can be marked as : or ;
  • A smiley face can have a nose but it does not have to. Valid characters for a nose are - or ~
  • Every smiling face must have a smiling mouth that should be marked with either ) or D

smiley-face.ts

About

Neversitup Software Logic Test

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors