Model a hierarchical file system with `File` and `Directory` classes. Support `mkdir name` and `touch name` inside root, then print sorted list of names.
Line 1: N commands (mkdir x or touch y).
Print sorted space-separated names of created items.
1 <= N <= 20
3 mkdir docs touch note.txt mkdir bin
bin docs note.txt
Items created in root sorted alphabetically.
class Node:
pass
class Directory:
pass
if __name__ == '__main__':
# Implement I/O logic here
passEmbedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used