Skip to content

Two Trick Questions about detecting malformed string and counting anagrams

Notifications You must be signed in to change notification settings

ozguramac/penr-oz-trick-two

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Trick Two

  1. Check if a string is well formed (special case: ignore within quotes) e.g.
    (...[...{...}...]...)      <- Well formed
    (...[...{...]...}...       <- Malformed
    (..."[...{...]...}"...)    <- Well formed (Special case)  
  1. Count anagrams in a list of strings e.g.
    cat,far,act,car,arc,rac     <- 5 anagrams

About

Two Trick Questions about detecting malformed string and counting anagrams

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages