6 kyu

Backspaces in string

105 of 19,288vetalpaprotsky

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 Trained33298
Total Skips3199
Total Code Submissions77020
Total Times Completed19288
Ruby Completions629
JavaScript Completions6381
Haskell Completions247
C# Completions1201
Elm Completions105
Python Completions5237
C++ Completions1448
Scala Completions196
Julia Completions57
Elixir Completions106
TypeScript Completions1153
Java Completions1951
C Completions496
NASM Completions27
Idris Completions36
Nim Completions23
Rust Completions440
Clojure Completions64
Factor Completions10
BF Completions24
Go Completions223
Total Stars450
% of votes with a positive feedback rating94% of 2248
Total "Very Satisfied" Votes1988
Total "Somewhat Satisfied" Votes228
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