Skip to content

acraig5075/codeeval

Repository files navigation

codeeval

My solutions to CodeEval.com challenges

These challenges offer a nice opportunity to solve problems not of the sort I usually experience at work. I try look for challenges where I recognise the need to use std library functions or techniques that I'm not that familiar with as a learning opportunity.

Listing of noteworthy features and the code I use that I may want to refer back to.

Standard library calls

Function Code
std::next_permutation() 14, 48, 86
std::set_intersection() 48
std::iota() 48
std::isdigit() 108, 51
std::isblank() 51
std::copy_n() 108
std::minmax_element() 213
std::numeric_limits() 51
std::accumulate() 69

Code snippets

Snippet My code
for-each-line-in-file operation 14
pointers-to-struct-members 48
raw string literals 108
using lambdas as algorithm predicates 48
Custom comparison operator 86
Custom istream and ostream operators 86, 176
generic comparison of two ranges 86
good separation of concerns 108
erase-remove idiom 213
is string numeric 51
test file comparison 176
substr of massive string with wildcards 28

About

My solutions to CodeEval.com challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages