Skip to content

This is a small programming problem to test your technical ability and coding style using Elixir.

Notifications You must be signed in to change notification settings

bixlabs/foxbox_n_grams_code_challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoxboxNGrams

This is a small programming problem to test your technical ability and coding style.

Foxbox N-Grams Code Challenge

Instructions

Write a simple script to generate a set of n-grams from a string of text. N-grams are a contiguous sequence of n words from a string of text, and have many applications from full-text search indexes to machine learning.

You'll generate a set of every permutation of contiguous n-grams from a string of text, from 1-gram to n-grams where n is the number of words in the string

How to run it?

$ iex -S mix
iex(1)> FoxboxNGrams.Iterative.ngrams_permutation("Show me the code.")

How to test it?

$ mix test

About

This is a small programming problem to test your technical ability and coding style using Elixir.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages