<｜begin▁of▁sentence｜>### Instruction:
Given a networkx erdos_renyi_graph with params n=200, p=0.1, can you use DepthFirstSearchSampler to sample a subgraph which has 50 nodes using a randomized depth first search method?
### Response:
import networkx as nx
from littleballoffur import DepthFirstSearchSampler

G = nx.gnp_random_graph(n=200, p=0.1)

sampler = DepthFirstSearchSampler(50, seed=20)

sampler_G = sampler.sample(G)

print(sampler_G.nodes())
<|EOT|>
