
{"id":1126,"date":"2015-04-22T17:39:00","date_gmt":"2015-04-22T17:39:00","guid":{"rendered":"http:\/\/www.guvi.in\/blogs\/?p=1126"},"modified":"2023-10-05T11:31:07","modified_gmt":"2023-10-05T06:01:07","slug":"frequently-appeared-interview-questions-for-software-development-engineertest","status":"publish","type":"post","link":"https:\/\/guviv3.codingpuppet.com\/blog\/frequently-appeared-interview-questions-for-software-development-engineertest\/","title":{"rendered":"100+ SDE &#038; SDET Interview Questions With Answers"},"content":{"rendered":"\n<p><strong>SDE\/SDET Interview questions that will ramp up your interview preparation<\/strong><\/p>\n\n\n\n<p>Myself, Balaji Boggaram Ramanarayan &#8211; I bag experience in taking\/preparing for interviews in several big companies and always felt sharing a few of them such that it might be useful for you in interview preparation.<\/p>\n\n\n\n<p><em>Note: These questions might help you ramp up your speed in the path of preparing for SDE \/SDET interviews in most techie companies.&nbsp;<\/em><\/p>\n\n\n\n<p><strong>\u00a0SDE &#8211; Software Development Engineer<\/strong><br><strong>\u00a0SDET &#8211; Software Development Engineer in Test\u00a0<\/strong><\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\"><strong>The must-know SDE\/SDET Interview Questions<\/strong><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"768\" src=\"http:\/\/blog.guvi.in\/wp-content\/uploads\/2015\/04\/must-know-SDE-SDET-Interview-Questions-1024x768.png\" alt=\"\" class=\"wp-image-4700\"\/><\/figure><\/div>\n\n\n<p><\/p>\n\n\n\n<ol>\n<li>Heap &#8211; Max Heaps and Min Heaps<\/li>\n\n\n\n<li>Conversions: Decimal, Binary, Hex, Octal (All other possible combinations)<\/li>\n\n\n\n<li>90 Degrees Matrix conversion<\/li>\n\n\n\n<li>Quick Sort + Applications<\/li>\n\n\n\n<li>Merge Sort + Applications<\/li>\n\n\n\n<li>Remove duplicates in a String &#8212; In place<\/li>\n\n\n\n<li>Reverse a string &#8211; Inplace<\/li>\n\n\n\n<li>Decide if 2 strings are anagrams or not?<\/li>\n\n\n\n<li>Binary Search<\/li>\n\n\n\n<li>Reverse SLL without using any extra nodes<\/li>\n\n\n\n<li>Maximum Subarray [Kadane Algorithm]<\/li>\n\n\n\n<li>Find an element that is repeated more than n\/2 times in a given set\/array. [Moores Voting algorithm]<\/li>\n\n\n\n<li>Find an element in rotated Binary sorted array<\/li>\n\n\n\n<li>Implement power function without pow() function<\/li>\n\n\n\n<li>&nbsp;Verify if the given linked list is circular\/cyclic or Acyclic. Follow up can be to indicate the starting point of the cycle<\/li>\n\n\n\n<li>Implement Blocking queue<\/li>\n\n\n\n<li>Find a pair in an array that will sum up to a particular number<\/li>\n\n\n\n<li>Reverse a double linked list<\/li>\n\n\n\n<li>Reverse pairs in SLL. i.e I\/P : a-&gt;b-&gt;c-&gt;d-&gt;e-&gt;f O\/p : b-&gt;a-&gt;d-&gt;c-&gt;f-&gt;e<\/li>\n\n\n\n<li>Segregate even and odd nodes in a given linked list<\/li>\n\n\n\n<li>Addition of 2 linked lists to separate one. (also learn inplace)<\/li>\n\n\n\n<li>Convert SLL into DLL (XOR based linked lists)<\/li>\n\n\n\n<li>Circular shift an array of integer input array by &#8216;k&#8217; number of elements<\/li>\n\n\n\n<li>Search for a given pattern in the text [Rabin Karp Algorithm]<\/li>\n\n\n\n<li>atio() and itoa() implementations (ASCII to integer and Integer to ASCII)<\/li>\n\n\n\n<li>&nbsp;Binary Semaphores<\/li>\n\n\n\n<li>Generate subsets of a given set of integers<\/li>\n\n\n\n<li>Generate all permutations of a given string<\/li>\n\n\n\n<li>Level order Traversal<\/li>\n\n\n\n<li>The inorder successor of a given node in BST (Binary Search Tree)<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>SDE\/SDET Interview Questions- you should be able to answer<\/strong><\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"710\" height=\"514\" src=\"http:\/\/blog.guvi.in\/wp-content\/uploads\/2015\/04\/Software-Developer-Software-Developer-In-Test-Questions.png\" alt=\"\" class=\"wp-image-4701\" srcset=\"https:\/\/guviv3.codingpuppet.com\/blog\/wp-content\/uploads\/2015\/04\/Software-Developer-Software-Developer-In-Test-Questions.png 710w, https:\/\/guviv3.codingpuppet.com\/blog\/wp-content\/uploads\/2015\/04\/Software-Developer-Software-Developer-In-Test-Questions-300x217.png 300w, https:\/\/guviv3.codingpuppet.com\/blog\/wp-content\/uploads\/2015\/04\/Software-Developer-Software-Developer-In-Test-Questions-600x434.png 600w\" sizes=\"(max-width: 710px) 100vw, 710px\" \/><\/figure><\/div>\n\n\n<ol>\n<li>Find &#8216;k&#8217; largest \/smallest elements in a given array (Hint: can use heaps)<\/li>\n\n\n\n<li>Heap Sort + applications<\/li>\n\n\n\n<li>Find minimum length unsorted subarray on which storing them makes a complete sorted array<\/li>\n\n\n\n<li>Search if a given pattern exists in input text using Suffix Arrays<\/li>\n\n\n\n<li>Re-arrange a string so that all same characters are &#8216;d&#8217; distant apart<\/li>\n\n\n\n<li>Knights tour problem<\/li>\n\n\n\n<li>Rat in Maze [Back tracking]<\/li>\n\n\n\n<li>Find out if two rectangles overlap or not<\/li>\n\n\n\n<li>Where are the closest pair of points in the given plane<\/li>\n\n\n\n<li>Find all subset of elements in the given set whose sum equals to a given target<\/li>\n\n\n\n<li>Compute x^y such that it can work for floats and negative values<\/li>\n\n\n\n<li>Find median of&nbsp; given two input sorted arrays<\/li>\n\n\n\n<li>Find the total no of zeros in a given array of 1&#8217;s followed by 0&#8217;s<\/li>\n\n\n\n<li>If there is any sub-array find the ones which sum up to zero<\/li>\n\n\n\n<li>Count number of inversions in a given array<\/li>\n\n\n\n<li>Find a minimum element in a rotated sorted array<\/li>\n\n\n\n<li>Which is the fixed point in the given array<\/li>\n\n\n\n<li>Find the maximum subarray sum [D&amp;C]<\/li>\n\n\n\n<li>Count # of occurrences of a number in the sorted array<\/li>\n\n\n\n<li>Find the max and min element in a given array with a minimal number of comparisons<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>30+ Software Developer (SDE) \/ Software Developer In Test (SDET) Questions for you<\/strong><\/h2>\n\n\n\n<ol>\n<li>Check if a number is multiple of 3 or not?<\/li>\n\n\n\n<li>One line function to check if a number is the power of 2 or not?<\/li>\n\n\n\n<li>Function to multiple a number by 7.<\/li>\n\n\n\n<li>Which is the function to multiply two numbers without using * product operator<\/li>\n\n\n\n<li>Function to write Fibonacci series in an iterative manner<\/li>\n\n\n\n<li>Generate all prime numbers less than or equal to n [Sieve of Erastho..]<\/li>\n\n\n\n<li>Given a number, Find the next biggest palindrome number<\/li>\n\n\n\n<li>Implement logic for a fair coin from a biased coin<\/li>\n\n\n\n<li>&nbsp;Check if a number is divisible by 7 without mod operator<\/li>\n\n\n\n<li>Find all the possible words from a phone keypad<\/li>\n\n\n\n<li>Lexicographic sort of permutation of all words<\/li>\n\n\n\n<li>Shuffle a given array\/deck of cards [Fisher Yates Algo]<\/li>\n\n\n\n<li>Reservoir Sampling Algorithm<\/li>\n\n\n\n<li>Select &#8216;k&#8217; random elements from &#8216;n&#8217; elements<\/li>\n\n\n\n<li>Given a number &#8216;n&#8217;. generate a pascal triangle out of it.<\/li>\n\n\n\n<li>Write an exponential precision function [Taylor series]<\/li>\n\n\n\n<li>Generate all prime factors of a given number<\/li>\n\n\n\n<li>Generate all possible combinations of &#8216;r&#8217; elements in a given array of size &#8216;n&#8217; [Probability Distribution Function]<\/li>\n\n\n\n<li>Length of Longest common subsequence of a given sequence of numbers<\/li>\n\n\n\n<li>Find minimum cost path in a given cost matrix<\/li>\n\n\n\n<li>Total # of solutions in a coin change problem<\/li>\n\n\n\n<li>Find binomial co-efficient<\/li>\n\n\n\n<li>Knap-sack standard problem<\/li>\n\n\n\n<li>Egg-Drop standard problem<\/li>\n\n\n\n<li>Length of longest palindrome sequence<\/li>\n\n\n\n<li>Palindrome Partitioning<\/li>\n\n\n\n<li>Maximum Length of chained increasing pair<\/li>\n\n\n\n<li>Find the middle of the given linked list<\/li>\n\n\n\n<li>Check if a given Single linked list is a palindrome or not<\/li>\n\n\n\n<li>Insert\/Delete\/Search in max heap<\/li>\n\n\n\n<li>Implement sizeof() operator<\/li>\n\n\n\n<li>Find successor of given BST<\/li>\n\n\n\n<li>Locate all triangle triples in the given array<\/li>\n\n\n\n<li>Find the lowest common ancestor of a given node<\/li>\n\n\n\n<li>Return a single element by knocking out all other elements by &#8216;k&#8217; [Josephus]<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Find more&nbsp;Software Developer (SDE) \/ Software Developer In Test (SDET) Questions <\/strong><\/h2>\n\n\n\n<ol>\n<li>Given a sorted skewed binary tree, Create a BST out of it.<\/li>\n\n\n\n<li>Given an array with integers, Output all the elements which were repeated exactly twice<\/li>\n\n\n\n<li>Maximum depth\/height\/diameter of a given tree<\/li>\n\n\n\n<li>Serialize and Deserialize a given binary tree<\/li>\n\n\n\n<li>Find a single repeated or non-repeated number in the conditional list. (XOR)<\/li>\n\n\n\n<li>Implement &#8220;diff&#8221; in Linux<\/li>\n\n\n\n<li>Program to count # of set bits in a given integer.<\/li>\n\n\n\n<li>Convert BST to a doubly-linked list<\/li>\n\n\n\n<li>Convert integer to String without.toString()<\/li>\n\n\n\n<li>GCD of two numerals<\/li>\n\n\n\n<li>Given an array in post-order traversal, check whether the given array is in BST or not<\/li>\n\n\n\n<li>Reverse the words in a given English sentence<\/li>\n\n\n\n<li>Get the median of a stream of large numbers<\/li>\n\n\n\n<li>Print all the paths of a given Binary Tree from root to leaf<\/li>\n\n\n\n<li>Modify array such that arr[i] == arr[arr[i]] Inplace<\/li>\n\n\n\n<li>Find the missing number in a billion number list<\/li>\n\n\n\n<li>Bitwise addition<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p>To know about <strong>GUVI&#8217;s ZEN Class<\/strong>, <strong><a href=\"https:\/\/www.guvi.in\/zen-class\/full-stack-development-course\/\" target=\"_blank\" rel=\"noreferrer noopener\">Click here!<\/a> <\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/www.guvi.in\/blog\/zen-class-review-pro-in-full-stack-development\/\" target=\"_blank\" rel=\"noopener\">ZEN Review: Your First &amp; Final Step Towards Becoming A PRO Full Stack Developer<\/a>\u00a0<\/p>\n\n\n\n<p>Like to know more? Fill out the form and submit it. We will get back to you at the earliest.<\/p>\n\n\n<p>[contact-form][contact-field label=&#8221;Name&#8221; type=&#8221;name&#8221;  required=&#8221;true&#8221; \/][contact-field label=&#8221;Email&#8221; type=&#8221;email&#8221; required=&#8221;true&#8221; \/][contact-field label=&#8221;Website&#8221; type=&#8221;url&#8221; \/][contact-field label=&#8221;Message&#8221; type=&#8221;textarea&#8221; \/][\/contact-form]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SDE\/SDET Interview questions that will ramp up your interview preparation Myself, Balaji Boggaram Ramanarayan &#8211; I bag experience in taking\/preparing for interviews in several big companies and always felt sharing a few of them such that it might be useful for you in interview preparation. Note: These questions might help you ramp up your speed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4699,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,719],"tags":[],"views":"2049","authorinfo":{"name":"admin","url":"https:\/\/guviv3.codingpuppet.com\/blog\/author\/admin\/"},"thumbnailURL":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-content\/uploads\/2015\/04\/SDE-SDET-Interview-Questions-300x246.png","jetpack_featured_media_url":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-content\/uploads\/2015\/04\/SDE-SDET-Interview-Questions.png","_links":{"self":[{"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/posts\/1126"}],"collection":[{"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/comments?post=1126"}],"version-history":[{"count":10,"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/posts\/1126\/revisions"}],"predecessor-version":[{"id":27909,"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/posts\/1126\/revisions\/27909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/media\/4699"}],"wp:attachment":[{"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/media?parent=1126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/categories?post=1126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/guviv3.codingpuppet.com\/blog\/wp-json\/wp\/v2\/tags?post=1126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}