Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #54.9K
~563 People Reached
Favorite Forums
Favorite Tags
Member Avatar for shibu2all

void quick_sort (int *a, int n) { if (n < 2) return; int p = a[n / 2]; int *l = a; int *r = a + n - 1; while (l <= r) { while (*l < p) l++; while (*r > p) r--; if (l <= r) { …

Member Avatar for sethlahaul
0
184
Member Avatar for sparsh610

hey starting data structers through pointers , i don't know how to reverse a singly linklist? pls help

Member Avatar for sethlahaul
0
167
Member Avatar for lastbencher

I made the following functions for deleting a node of a singly linked list. 1. Can these functions be improved furthur? 2. Is it necessary to free the memory of the node that is deleted? nodep deleteByValue(nodep p, int value) { nodep temp = p; if(temp->data == value) return temp->next; …

Member Avatar for sethlahaul
0
212