given a string and an infinity width 2d matrix of length n. You have to write the characters of the string in a zigzag form ie if str[0] is at a[0][0] str[1] goes at a[1][1]. Once you reach the last row the direction of zigzag changes z[i][j] to z[i-1][j+1]. Print the final state of the 2d array
Sde Interview Questions
16,641 sde interview questions shared by candidates
Duck in the pond. Start: Duck located in the center of circle (pond). Fox is on the beach and cannot swim. Duck cannot fly (by some reason), but once duck is on the beach, she will fly away. Duck speed - x Fox speed - 4x Can duck escape? Why?
Self intro Guestimates
Explain the difference between abstraction and encapsulation.
given an array of positive numbers and a target number, print all the subarrays that have sum equal to target sum.
they asked mainly About project.
1. First question asked was convert to roman Integers. 2. Second question was to print a matrix in spiral order.
Explain about hoisting and how it is different in variables and functions
What is the main difference between C# and Java
One ques was that in a binary tree, if node is a leaf, add duplicate nodes there
Viewing 331 - 340 interview questions