6 kyu

Backspaces in string

627 of 19,184vetalpaprotsky

Description:

Assume "#" is like a backspace in string. This means that string "a#bc#d" actually is "bd"

Your task is to process a string with "#" symbols.

Examples

"abc#d##c"      ==>  "ac"
"abc##d######"  ==>  ""
"#######"       ==>  ""
""              ==>  ""
Fundamentals
Strings
Algorithms

Stats:

CreatedMay 2, 2016
PublishedMay 2, 2016
Warriors Trained33213
Total Skips3180
Total Code Submissions76803
Total Times Completed19184
Ruby Completions627
JavaScript Completions6351
Haskell Completions247
C# Completions1190
Elm Completions105
Python Completions5203
C++ Completions1442
Scala Completions196
Julia Completions57
Elixir Completions104
TypeScript Completions1145
Java Completions1941
C Completions495
NASM Completions27
Idris Completions36
Nim Completions23
Rust Completions439
Clojure Completions64
Factor Completions10
BF Completions24
Go Completions222
Total Stars451
% of votes with a positive feedback rating94% of 2244
Total "Very Satisfied" Votes1985
Total "Somewhat Satisfied" Votes227
Total "Not Satisfied" Votes32
Total Rank Assessments19
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • vetalpaprotsky Avatar
  • Unnamed Avatar
  • anter69 Avatar
  • Chrono79 Avatar
  • imjasonmiller Avatar
  • docgunthrop Avatar
  • Blind4Basics Avatar
  • Voile Avatar
  • Souzooka Avatar
  • ice1000 Avatar
  • rsa Avatar
  • metagn Avatar
  • sazzadshopno Avatar
  • hobovsky Avatar
  • agraboso Avatar
  • uniapi Avatar
  • xavierguihot Avatar
  • stellartux Avatar
  • sbauer322 Avatar
  • solitude Avatar
  • antonsarov Avatar
  • akar-0 Avatar
  • Kacarott Avatar
  • tri@ Avatar
  • Just4FunCoder Avatar
  • KayleighWasTaken Avatar
Ad