S/W Theories
-
A / B Testing
The key to powerful growth hacking is to establish the discipline of A/B testing your efforts. An A/B test is really just testing one variation against the current option . You might A/B test an…
-
What is a Socket?
Sockets allow communication between two different processes on the same or different machines. To be more precise, it's a way to talk to other computers using standard Unix file descriptors. In Unix,…
-
What is CORS? How does it work?
Cross-origin resource sharing (CORS) is a mechanism that allows many resources (e.g., fonts, JavaScript, etc.) on a web page to be requested from another domain outside the domain from which the…
-
Explain the purpose of each of the HTTP request types when used with a RESTful web service.
The purpose of each of the HTTP request types when used with a RESTful web service is as follows: GET: Retrieves data from the server (should only retrieve data and should have no other effect).…
-
Explain the basic structure of a MIME multipart message when used to transfer different content type parts. Provide a simple example.
A simple example of a MIME multipart message is as follows: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=frontier This is a message with multiple parts in MIME format. --frontier…
-
Long Polling
What is Long polling, how does it work, and why would you use it? Considering server and client resources, what is the main drawback of using long polling? Which HTML5 feature is the best alternative…
-
HTTP requests pool from Browser
Consider the following JavaScript code that is executed in a browser: function startAjaxQueue(){ for (var i = 0; i < 50; i++){ executeAjaxCallAsync(); } }; Assuming that executeAjaxCallAsync() uses a…
-
What is an ETag and how does it work?
An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at an URL. If the resource content at that URL ever changes, a new and different ETag is assigned.…
-
Stateless and Stateful protocols
Explain the difference between stateless and stateful protocols. Which type of protocol is HTTP? A stateless communications protocol treats each request as an independent transaction. It therefore…
-
Key advantages of HTTP/2 as compared with HTTP 1.1
HTTP/2 provides decreased latency to improve page load speed by supporting: Data compression of HTTP headers Server push technologies Loading of page elements in parallel over a single TCP connection…
-
What’s the difference between GET and POST?
Both are methods used in HTTP requests. Generally it is said that GET is to download data and PUT is to upload data. But we can do both downloading as well as uploading either by GET/POST. GET: If we…
-
BigoCheatSheet link
bigocheatsheet.com added on 10-Feb-2018
-
Difference between dynamic programming and greedy approach?
Based on Wikipedia's articles. Greedy Approach A greedy algorithm is an algorithm that follows the problem solving heuristic of making the locally optimal choice at each stage[1] with the hope of…
-
Bit manipulation
discover more problem about this added on 18-Feb-2018