How to reverse a number, e.g. 1234.
Programmer Intern Interview Questions
715,695 programmer intern interview questions shared by candidates
Given heads of two linked lists. Find if the two linked lists intersect. Solution should not use extra memory.
evaluate an expression following BODMAS rules
Print a singly-linked list backwards, in constant space and linear time.
Given nested arrays, write an enumerator class such that next() returns the elements in sequential order, e.g.: [1,[4,3],6,[5,[1,0]]] -> 1, 4, 3, 6, 5, 1, 0 also implement allObjects for this class
Mark likes to listen to music while travelling. His iPod™ contains N songs and he wants to listen to L (not necessarily different) songs during a trip. So he creates a playlist such that: • Every song is played at least once. • A song can be played again only if at least K other songs have been played Mark wants to know how many different playlists are possible. Can you help Mark determine this number? As the number can be very large, display number modulo 1,000,000,007. You are given N, K and L.
If you have a file containing millions of integers, how would you sort the data in the file using extremely limited resources, such a s 1GB of memory?
What are your greatest technical strengths?
What are the implications of covid-19
Given an input string and a target string, find the minimum substring of the input string that contains all of the characters in the target string
Viewing 261 - 270 interview questions