TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Gonçalo G.
Master's Student in Computer Engineering | Tutor for 2 years
Tutor Satisfaction Guarantee
Python Programming
TutorMe
Question:

Create a list comprehension with all even numbers up to N

Gonçalo G.
Answer:

evenNrs = [i for i in range(N) if i % 2 == 0]

Java Programming
TutorMe
Question:

Write code to perform Depth-First Search on a Binary Search Tree given the following node class: public Node { Node left, right; String value; }

Gonçalo G.
Answer:

public void dfs(Node root, String toFind){ if(root == null){ System.out.println("SubTree does not contain " + toFind); } else if (root.value.equals(toFind)){ System.out.println("Contains " + toFind); } else { dfs(root.left, toFind); dfs(root.right, toFind); } }

C Sharp Programming
TutorMe
Question:

How does one instanciate a remote object "Obj" found at localhost?

Gonçalo G.
Answer:

Obj client = (Obj) Activator.GetObject( typeof(Obj), "127.0.0.1");

Send a message explaining your
needs and Gonçalo will reply soon.
Contact Gonçalo
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.