Developer Advisor Interview Questions

711,055 developer advisor interview questions shared by candidates

(this is a little easier to explain if it's drawn out, but I'll try my best to do it here) Given some integer N = 2^k which represents an NxN matrix, write a function that fills the matrix with 'L' shapes, such that the entire matrix is filled except for 1 empty space. For example, a 2x2 matrix would have 3 spaces filled with one of the corners empty. And a 4x4 matrix would have the entire outer row of spaces filled, with the center 4 filled the same way the 2x2 matrix is filled.
avatar

Android Developer

Interviewed at Vine

3.9
Apr 19, 2016

(this is a little easier to explain if it's drawn out, but I'll try my best to do it here) Given some integer N = 2^k which represents an NxN matrix, write a function that fills the matrix with 'L' shapes, such that the entire matrix is filled except for 1 empty space. For example, a 2x2 matrix would have 3 spaces filled with one of the corners empty. And a 4x4 matrix would have the entire outer row of spaces filled, with the center 4 filled the same way the 2x2 matrix is filled.

1st question : 210 points. Write a program to simulate a keyboard with given keys and their operation. You need to print the final text to STDOUT. Type of Keys: Each key affects the movement of the cursor on editor. The cursor position is identified by row and column. alpha numeric space => this key inserts their respective symbol at cursors position and shift cursor. @ => [CAPS Lock] toggles caps lock, i.e., if CapsLock is 'ON' after this key press it will be 'OFF' and vice versa. Initially CAPS Lock in 'OFF'. # => [ENTER/New Line] inserts a new line character at cursor position and shift cursor position. < => [LEFT arrow] moves cursor to one step left (if available). If cursor is at the starting of the row, it moves to end of the row above (if available). > => [RIGHT arrow] moves cursor to one step right (if available). If cursor is at a row end it moves to starting of the row below (if available). / => [Backspace] deletes one character from the left of the cursor and move cursor one step left. It follows same direction rules as LEFT arrow key (<). ? => [Down arrow] If cursor is on last row nothing changes. The cursor moves to original column in next row if there are not enough characters in next row, cursor shifts to the end of the new row. Note: If key is pressed continuosly original column will not change with every key press. ^ => [UP arrow] If cursor is on first row nothing changes. The cursor moves to the original column (current) of the previous row, if there are not enough characters in previous row cursor shifts to the end of the previous row. Note: If key is pressed continuosly original column will not change with every key press. Example: Input: asdf#q#pqr^^23 Output: asd23f q pqr Input: One line of input characters (as defined above). Output: The formatted text. Example 1: Input asdf1# @qwe^23 Output asdf231 QWE Example 2: Input asdf1#@ qwe<<<//23 Output asdf123QWE Explanation: asdf1 prints asdf1 asdf1 # inserts new line character after asdf1 @ qwe switches caps lock from off to on and inserts QWE asdf1 QWE <<< shifts cursor position 3 position left // deletes 2 character (space and new line) from left of Q character asdf1QWE 23 inserts 23 from current cursor position asdf123QWE
avatar

Software Development Engineer

Interviewed at Smartprix

3.4
Aug 20, 2017

1st question : 210 points. Write a program to simulate a keyboard with given keys and their operation. You need to print the final text to STDOUT. Type of Keys: Each key affects the movement of the cursor on editor. The cursor position is identified by row and column. alpha numeric space => this key inserts their respective symbol at cursors position and shift cursor. @ => [CAPS Lock] toggles caps lock, i.e., if CapsLock is 'ON' after this key press it will be 'OFF' and vice versa. Initially CAPS Lock in 'OFF'. # => [ENTER/New Line] inserts a new line character at cursor position and shift cursor position. < => [LEFT arrow] moves cursor to one step left (if available). If cursor is at the starting of the row, it moves to end of the row above (if available). > => [RIGHT arrow] moves cursor to one step right (if available). If cursor is at a row end it moves to starting of the row below (if available). / => [Backspace] deletes one character from the left of the cursor and move cursor one step left. It follows same direction rules as LEFT arrow key (<). ? => [Down arrow] If cursor is on last row nothing changes. The cursor moves to original column in next row if there are not enough characters in next row, cursor shifts to the end of the new row. Note: If key is pressed continuosly original column will not change with every key press. ^ => [UP arrow] If cursor is on first row nothing changes. The cursor moves to the original column (current) of the previous row, if there are not enough characters in previous row cursor shifts to the end of the previous row. Note: If key is pressed continuosly original column will not change with every key press. Example: Input: asdf#q#pqr^^23 Output: asd23f q pqr Input: One line of input characters (as defined above). Output: The formatted text. Example 1: Input asdf1# @qwe^23 Output asdf231 QWE Example 2: Input asdf1#@ qwe<<<//23 Output asdf123QWE Explanation: asdf1 prints asdf1 asdf1 # inserts new line character after asdf1 @ qwe switches caps lock from off to on and inserts QWE asdf1 QWE <<< shifts cursor position 3 position left // deletes 2 character (space and new line) from left of Q character asdf1QWE 23 inserts 23 from current cursor position asdf123QWE

I don't remember the exact questions, but here are few string which may help you. And you passed the first round please please do share the questions. And one list request if are going to interview in any company plz share the questions. 1) Predictable delegates use as 2)global assemble cache can maintain, option a> 2 assembly with same name, version. b> same name, diff version c> maintain only one, d> 3) which not html5 attr/ properties id, name, accesskey, class,.. 4) html tag sequence <i> <u><b> 5)html not work with empty ... action, class, form,...(dont remember the exact question) 6)Conversion type cast related question. 7) if we implement interface class do we need to convert the implemented class to interface class... 8)in asp.net page completely load on which event. 9) sql cursor, a> is it slow down the process b> is it not use full, c>... 10)because of sql indexing a>table update work fast b> update work slow c> not effect. d>... 11)generic is import to use which functionality 12)in class when properties variable define.. you need 18 correct answer to clear the round. You can just go through these topic and it may help you.
avatar

Dot NET Developer

Interviewed at Digital Info Bytes

4.5
Mar 24, 2018

I don't remember the exact questions, but here are few string which may help you. And you passed the first round please please do share the questions. And one list request if are going to interview in any company plz share the questions. 1) Predictable delegates use as 2)global assemble cache can maintain, option a> 2 assembly with same name, version. b> same name, diff version c> maintain only one, d> 3) which not html5 attr/ properties id, name, accesskey, class,.. 4) html tag sequence <i> <u><b> 5)html not work with empty ... action, class, form,...(dont remember the exact question) 6)Conversion type cast related question. 7) if we implement interface class do we need to convert the implemented class to interface class... 8)in asp.net page completely load on which event. 9) sql cursor, a> is it slow down the process b> is it not use full, c>... 10)because of sql indexing a>table update work fast b> update work slow c> not effect. d>... 11)generic is import to use which functionality 12)in class when properties variable define.. you need 18 correct answer to clear the round. You can just go through these topic and it may help you.

1) Recursively find all FASTQ files in a directory and report each file name and the percent of sequences in that file that are greater than .. 2) Given a FASTA file with DNA sequences, find 10 most frequent sequences and return the sequence and their counts in the file.0 nt long. 3) Given coordinates and a chromosome, write a program for looking up it's annotation. Keep in mind you'll be doing this annotation millions of times. And so on.
avatar

Software Engineer

Interviewed at Enzymatics

3.7
Aug 29, 2014

1) Recursively find all FASTQ files in a directory and report each file name and the percent of sequences in that file that are greater than .. 2) Given a FASTA file with DNA sequences, find 10 most frequent sequences and return the sequence and their counts in the file.0 nt long. 3) Given coordinates and a chromosome, write a program for looking up it's annotation. Keep in mind you'll be doing this annotation millions of times. And so on.

Viewing 1591 - 1600 interview questions

Glassdoor has 711,055 interview questions and reports from Developer advisor interviews. Prepare for your interview. Get hired. Love your job.