TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Nitesh G.
Software Development Enginner at Amadeus SAS
Tutor Satisfaction Guarantee
PHP Programming
TutorMe
Question:

What is the difference between GET and POST?

Nitesh G.
Answer:

GET displays the submitted data as part of the URL, during POST this information is not shown as it’s encoded in the request. GET can handle a maximum of 2048 characters, POST has no such restrictions. GET allows only ASCII data, POST has no restrictions, binary data are also allowed. Normally GET is used to retrieve data while POST to insert and update.

Java Programming
TutorMe
Question:

If one needs a Set, how do you choose between HashSet vs. TreeSet?

Nitesh G.
Answer:

HashSet is superior in almost every way: O(1) add, remove and contains, vs. O(log(N)) for TreeSet. However, TreeSet is indispensable when you wish to maintain order over the inserted elements or query for a range of elements within the set. Consider a Set of timestamped Event objects. They could be stored in a HashSet, with equals and hashCode based on that timestamp. This is efficient storage and permits looking up events by a specific timestamp, but how would you get all events that happened on any given day? That would require an O(n) traversal of the HashSet, but it’s only an O(log(n)) operation with TreeSet using the tailSet method

Databases
TutorMe
Question:

What is NoSQL? How is it different from SQL?

Nitesh G.
Answer:

NoSQL is nonrelational database management system which provides storage and retrieval of data that is modeled in ways other than tabular relations. As the definition suggests, NoSQL stores in document-based format but SQL stores and retrieve data in tabular format. SQL has predefined schema whereas NoSQL has a dynamic schema.

Send a message explaining your
needs and Nitesh will reply soon.
Contact Nitesh
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.