Jumat, 17 Maret 2017

Most Common Programming Questions in the Interviews about data structures

Linked Lists You must be able to produce simple clean linked list implementation quickly. Implement Insert and Delete for singly-linked linked lists sorted linked lists circular linked lists int Insert(node** head, int data) int Delete(node** head, int deleteMe) Split a linked lists given a pivot value void Split(node* head, int pivot, node** lt, node** gt) Find if a linked lists has a cycle in it. Now do it without marking nodes. Find the middle of a linked lists. Now do it while only going through the list once. (same solution as finding cycles) Strings Reverse words in a string (words

The post Most Common Programming Questions in the Interviews about data structures appeared first on Coding Security.


Most Common Programming Questions in the Interviews about data structures
read more

Tidak ada komentar:

Posting Komentar