Given a linked list with three fields: a data field, a next field and a random pointer field (which is a field that points to null or to an element in the linked list) write a function to return a copy of the linked list without destructively modifying the original linked list
Software Development Interview Questions
36,979 software development interview questions shared by candidates
How many gas stations are there in California?
Write a function that returns the longest palindrome in a string. Not just the first one or any palindrome, but the longest. The String is a long sequence of characters, spaces included.
Write a function to turn a string into an integer and test it
Write a function that takes a String as a parameter. Count the number of A's in the String before you reach a C.
Write a function to print out the contents of a singly-linked list in reverse order.
You've a singly linked list where every node in the list has a field "random" which points to other node in the same list. Write a function to clone this list (create a new copy of the same). Don't use extra space (just the pointer variables are fine).
Find if given number matched sum of two elements in sorted array.
Given a sentence input : helloworld output: HelloWorld YOu should make use of a dictionary available with you. Capitalize the dictionary words in the sentence
post order traversal of a Binary Search Tree Follow up Create a BST from this post order traversed array and write test cases for this function
Viewing 371 - 380 interview questions