Skip to content

vandriesh/word-builder-code-challenge

Repository files navigation

Code Challenge #4 - WordChecker

This project was generated with Angular CLI version 7.0.6.

Test:

Run tests once:

$ ng test --watch=false 

Given global dictionary

['qwe', 'aaa', 'PRO', 'PORA']

UseCase 1

    // P <----> R <----> A
    // ^        ^
    // |        |
    // |        v
    // +------> O

possible combinations:

PRA, PR, RA, PRO, RO, PORA, PO, POR, OR, ORA, RPO, RP, ROP, OP, ARPO, AR, ARP, AROP, ARO, OPRA, OPR, ORP

existing words:

PRO,PORA


UseCase 2

    // P <-----> R
    //           ^
    //           |
    //           v
    //           O

possible combinations:

PRO, PR, RO, RP, ORP, OR

PRO

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •