Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 301 Bytes

File metadata and controls

16 lines (13 loc) · 301 Bytes

XML Encoding

Since XML is very verbose, you are given a way of encoding it where each tag gets mapped to a pre-defined integer value.

Solutions:

Swift

O(n)

C++

O(n)

Installation

Run make to build and run C++ files and run Swift files. Or you can run .playground file.