Code For Alls..!

get the code!!

Showing posts with label cpp. Show all posts
Showing posts with label cpp. Show all posts

Monday, 18 September 2017

                                                                          Three Strings Given N string values, the program must print 3 string values as the...

Sunday, 17 September 2017

                                                Minimum Distance Between Alphabets (Id-3109) Given a string S and two alphabets C1 and C2 present in S, find the minimum distance D  between C1 and C2 in S. Input Format: The...

Sunday, 10 September 2017

Thursday, 7 September 2017

Sunday, 3 September 2017

You’re given the pointer to the head node of a linked list. Change the next pointers of the nodes so that their order is reversed. The head pointer given may be null meaning that the initial list is empty. Input Format You have to complete the Node* Reverse(Node* head) method which takes one argument - the head of the linked...
You are given the pointer to the head node of a linked list and you need to print all its elements in reverse order from tail to head, one element per line. The head pointer may be null meaning that the list is empty - in that case, do not print anything! Input Format You have to complete the void ReversePrint(Node* head) method which takes...
You’re given the pointer to the head node of a linked list and the position of a node to delete. Delete the node at the given position and return the head node. A position of 0 indicates head, a position of 1 indicates one node away from the head and so on. The list may become empty after you delete the node. Input Format You have to complete...