Posts

Showing posts from 2012

Technical Interview Screen

Which is better - singly linked list or doubly linked list? What are the pros and cons of using each? In a Singly Linked List each node has pointer just to the next node and hence can be traversed  in only one direction whereas in a Doubly Linked List, each node has pointers to both previous and next nodes , hence can be traversed in both directions.While this kind of traversal makes deletion of nodes easier from a doubly linked list , because we now don’t have to traverse from head and keep track of previous node but it consumes more memory since it now has to store two pointers as compared to one in case of Singly Linked List. function remove_node_singlyLinkedList(head, node)    tempnode = head    while (tempnode->next != node)        tempnode = tempnode->next    tempnode->next = node->next end function          Time Complexity - O(N) function remove_node_doublyLinkedList(node)    node->prev->next = node->next    node->next->prev = nod

Windows Azure

Windows Azure is the Microsoft's Cloud Computing platform that enables hosting of applications on cloud without being bothered about adding new clusters to enhance their scalability in future.I like the ease with which a web app can be deployed/published to a cloud.MS makes it so simple and developer friendly! Here is a great presentation by Scott Guthrie,

Cloud Drives

Image
Yesterday, I got Sky Drive and Google Drive clients installed on my laptop and things look pretty cool ! I now have 2 GB (Drop Box) + 5 GB (Google Drive) + 7 GB (Sky Drive) = 14 GB of could storage That means anywhere I go, I can access my source code, photos, videos, audio, docs.