SAP Off Campus Hiring_ March 2015 Sample Questions
Python Dictionaries
Python dictionaries are also known as associative arrays or hash tables. The general syntax of a dictionary is as follows:
The Magic HackerEarth Nirvana solutions Hiring Challenge
Navi got a task at school to collect N stones. Each day he can collect only one stone. As N can be a very large number so it could take many days to complete the
Cisco Hiring Event 21st – 22nd Feb 2015
A unique hiring event for the Young and Fearless, who want to contribute to the “Connected” World and be a part of the most happening Engineering Team of CISCO.• Date : 21st – 22nd Feb
Mirror of Tree
Count Possible Decodings of a given Digit Sequence
Find number of ways a string can be decoded into, if A=1, B=2, C=3 … Z=25 and encoding number is 123 ways decoding can be done is
1 2 3 = A B C
1
… Read More 1 2 3 = A B C
1
Find the element that appears once others appears thrice
Given an array where every element occurs three times, except one element which occurs only once. Find the element that occurs once.
Expected time complexity is O(n) and O(1) extra space.
Examples:
Input: arr[] =
… Read More Expected time complexity is O(n) and O(1) extra space.
Examples:
Input: arr[] =
VMWare Openings
One of My Friend gave Interview for VMWare,
Those who are interested, can Apply
——————————————————————————
PS : Premium Institute And Java Experienced Person.
——————————————————————————
… Read More Those who are interested, can Apply
——————————————————————————
PS : Premium Institute And Java Experienced Person.
——————————————————————————
Find the smallest window in a string containing all characters of another string
Given two strings string1 and string2, find the smallest substring in string1 containing all characters of string2 efficiently.For Example:
Input string1: “this is a test string”
Input string2: “tist”
Output string: “t stri”