6 kyu

Backspaces in string

105 of 19,160vetalpaprotsky

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 Trained33142
Total Skips3179
Total Code Submissions76749
Total Times Completed19160
Ruby Completions625
JavaScript Completions6347
Haskell Completions246
C# Completions1189
Elm Completions105
Python Completions5194
C++ Completions1440
Scala Completions196
Julia Completions57
Elixir Completions104
TypeScript Completions1142
Java Completions1941
C Completions494
NASM Completions27
Idris Completions36
Nim Completions23
Rust Completions439
Clojure Completions64
Factor Completions10
BF Completions24
Go Completions220
Total Stars451
% of votes with a positive feedback rating94% of 2243
Total "Very Satisfied" Votes1984
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