Wednesday, October 28, 2026
HomeArtificial IntelligenceFlipkart Interview Questions - Nice Studying

Flipkart Interview Questions – Nice Studying

[ad_1]

Wipro Interview Questions

About Flipkart

Flipkart Non-public Restricted is an Indian e-commerce firm established in 2007. The corporate is headquartered in Bangalore, Karnataka, India integrated in Singapore as a personal restricted firm. Flipkart began with a main concentrate on on-line e-book gross sales and shortly expanded to completely different product classes reminiscent of way of life merchandise, electronics, residence necessities, residence groceries and trend. As we speak, Flipkart is the largest on-line Indian market competing with the world chief Amazon. Since 2010, the corporate has acquired Myntra, Jabong, eBay India, and many others. This weblog on ” Flipkart Interview Questions” lets you apply the questions requested at Flipkart.

Flipkart Recruitment Course of

The Choice Course of Is Primarily based On The Publish You Are Making use of For How Ever For Entry Stage Place In Flipkart Recruitment Choice Course of There Primarily divided on to beneath steps as follows

  • On-line Coding or Telephonic spherical
  • A number of Technical Rounds
  • Hiring Supervisor Spherical
  • HR Interview Spherical

On-line Coding Spherical/ Telephonic spherical:

The net spherical is hosted on Hackerrank and on this spherical, the candidates are given round 3 coding questions, of which 2 are straightforward and 1 is tough. The variety of questions might differ the problem distribution is similar. The entire spherical is round 60 minutes lengthy. Issues are usually primarily based on recursion, strings, bushes and graphs.

Technical Spherical 1:

Private interview spherical which largely consists of algorithmic issues on DS like graphs, dp, matrices and strings. Many occasions puzzles are additionally requested, although normal puzzles, some variation could also be there. A powerful understanding of information buildings is required to go this spherical.

Technical Spherical 2:

This spherical usually is a machine coding spherical, through which a selected downside is given whose resolution is to be constructed from scratch in any language of alternative, ex: job scheduling downside, implementing a whole textual content line editor with specified options. The spherical is of ~90 minutes and a whole working code with error dealing with is predicted on the finish.

Hiring Supervisor spherical:

This spherical primarily consists of exhausting algorithmic and DS associated issues, largely from bushes, graphs and linked lists, together with the dialogue of your initiatives, the applied sciences utilized in them, the issues confronted and many others. Some conceptual issues associated to OS are additionally requested.

HR Interview Spherical:

You may count on HR questions like :

1. Inform about your self.

2. Your shortcomings and strengths.

3. Dialogue relating to your publish within the firm

Eligibility Standards

The eligibility standards for the brisker to hitch Flipkart is 60% means in tenth, twelfth and in Commencement. Candidates should have no pending backlogs on the time of showing for the Flipkart Recruitment course of. 

Different necessities embrace:

Candidates should Be Versatile To Work In Shifts.

Candidates Should Have Good Communication Expertise.

Candidates Should Have A Good Maintain On Arithmetic Or Should Be Good In Calculation.

Candidates should Have Good Educational Data From Class X On Wards.

Candidates Who Have Attended Flipkart Interview Or Recruitment Earlier than 6 Months Want Not Apply.

Flipkart Interview Questions

Which is the quickest technique to type an nearly sorted array?

This is without doubt one of the essential Flipkart Interview Questions

There are plenty of sorting algorithms like insertion type, bubble type, merge type, choice type, heap type, and quicksort.The array is nearly sorted. The very best-preferred technique is the insertion type as proven within the beneath program one can infer that insertion type is the quickest technique. This code makes use of the time within the python library to depict the whole execution time for insertion type and merge type. 

#Importing Library
import timeit
 
Insertionsort=""'
def insertion_sort():
    insert_arr = [4, 5, 7, 6]
    for i in vary(1, len(insert_arr)):
        # Set key:
        key = insert_arr[i]
 
        j = i - 1
        whereas j >= 0 and insert_arr[j] > key:
            # Swap:
            insert_arr[j + 1] = insert_arr[j]
            insert_arr[j] = key
            
            # Decrement 'j':
            j -= 1
'''
 
Mergesort=""'
def merge_Sort():
    myList = [4, 5, 7, 6]
    if len(myList) > 1:
        mid = len(myList) / 2
        left = myList[:mid]
        proper = myList[mid:]
 
        # Recursive name on left and proper half
        merge_Sort(left)
        merge_Sort(proper)
 
        # 2 iterators for traversing the 2 halves and one iterator for important record
        i = 0
        j = 0
            
        ok = 0
        
        whereas i < len(left) and j < len(proper):
            if left[i] < proper[j]:
              # The left half worth is used
              myList[k] = left[i]
              # Shifting the iterator ahead
              i += 1
            else:
                myList[k] = proper[j]
                j += 1
            # Shifting to the subsequent slot
            ok += 1
 
        # For all the opposite remaining values in record
        whereas i < len(left):
            myList[k] = left[i]
            i += 1
            ok += 1
 
        whereas j < len(proper):
            myList[k]=proper[j]
            j += 1
            ok += 1
'''
 
 
print("Insertion type:")
print(timeit.timeit(stmt=Insertionsort,quantity=10000000))
print("Merge type:")
print(timeit.timeit(stmt=Mergesort,quantity=10000000))

Nonetheless, merge type is most well-liked when the order of enter on not recognized and the worst-case time complexity is nlogn. Whereas bubble type time complexity of n and fast type offers complexity of n^2.

What’s a hash desk? Clarify how hash capabilities and buckets work.

A hash desk or hash map is an information construction that gives direct entry to things primarily based on a key. It’s a construction that may map keys to values. Hash tables implement an associative array, which is listed by arbitrary objects (keys). A hash desk makes use of a hash perform (is used to map information of random dimension to fixed-size values.)to compute an index, additionally known as a hash worth, into an array of buckets or slots, from which the specified worth will be discovered.

The primary options of the important thing (a novel string or integer)used:

The important thing used will be your Social safety Quantity, your phone quantity, checking account quantity, and many others

Keys should  all the time be distinctive

Every secret is all the time mapped to its related a worth

Few properties of Hash Capabilities are:

Computation may be very quick (nearly fixed)

Can’t be reversed it’s unidirectional

Enter info is hidden output doesn’t reveal inputs info

Onerous to search out collisions (completely different information with the identical hash)

Implementation is constructed utilizing parity-preserving bit operations (XOR and ADD), multiply, or divide.

Hash buckets are used to allocate information gadgets for sorting or lookup functions. The goal is to weaken the linked lists in order that trying to find a selected merchandise will be accessed inside a shorter timeframe. 

A hash desk that makes use of buckets is a mix of an array and a linked record. Every aspect within the array i.e. The hash desk is a header for a linked record. All parts within the array that hash into the identical location might be saved within the record. The hash perform allocates every document to the primary slot inside one of many buckets. If the slots are occupied, then the bucket slots might be searched sequentially till an open slot is discovered. If the bucket is totally stuffed, the document will get saved in an overflow bucket of infinite capability on the finish of the desk. All buckets share the identical overflow bucket. Nonetheless, implementation will use a hash perform that distributes the information evenly among the many buckets in order that as few information as doable go into the overflow bucket.

Within the given array of integers, discover Pythagorean triplets.

This is without doubt one of the essential Flipkart Interview Questions

A Pythagorean triplet is a set {a, b, c} such that a2 = b2+ c2. The person might be supplied with an array of integers and has to determine all of the doable units of Pythagorean triples.

Algorithm

We are able to resolve the issue by sorting the given array in ascending order, first in O(n2).

The steps concerned could be:

  1. Sq. each aspect within the given array after which type it in ascending order.
  2. Because the array now comprises squares, the brand new equation for triplet turns into a = b + c. Now repair ‘a’ to be the final aspect of this sorted array, 
  3. Repair b as the primary aspect of the sorted array and c because the aspect proper earlier than aspect a. Since numbers are constructive and the array is sorted, b<a and c < a. To seek out triplets, run a loop that will increase b from 1. 
    1. Improve the place of b if b + c < a
    2. Lower the place of c if b + c > a
    3. If the sum is the same as a, then print the sq. root of the three numbers, increment b, and decrement c.
    4. Repeat the final step for every aspect a within the array.
import java.io.*; 
import java.util.*; 
import java.lang.Math; 
 
class PythagoreanTriplet { 
  static void find_Triplet(int arr_trip[], int n) 
  { 
    // Step1 squaring each aspect in an array
    for (int i = 0; i < n; i++) 
      arr_trip[i] = arr_trip[i] * arr_trip[i]; 
    Arrays.type(arr_trip); 
 
    // Step2 and Step 3 fixing aspect a b and c and sorting array
    for (int i = n - 1; i >= 2; i--) {  
      int b = 0; 
      int c = i - 1; 
      whereas (b < c) { 
        // if triplet discovered 
        if (arr_trip[b] + arr_trip[c] == arr_trip[i]) {
          System.out.printf("Triplets are: %f, %f, %fn", new Object[] {Math.sqrt(arr_trip[b]), Math.sqrt(arr_trip[c]), Math.sqrt(arr_trip[i])});
          b++;
          c--;
        }
        if (arr_trip[b] + arr_trip[c] < arr_trip[i]) 
          b++; 
        else
          c--; 
      } 
    } 
  } 
 
  // Major code 
  public static void important(String[] args) 
  { 
    int arr_trip[] = { 3, 7, 4, 6, 5 }; 
    int arr_trip_size = arr_trip.size; 
    find_Triplet(arr_trip, arr_trip_size);
  } 
}  
 

Compute the closest palindrome variety of the given quantity.

The issue assertion is that if for a  given quantity process is to search out the closest palindrome quantity.   

For instance, if the quantity entered is say 43 then there are two numbers that should show the closest palindrome quantity which is 44.

Beneath are a couple of options that may be thought of. 

Answer 1: If a quantity comprises all 9’s digits then we are able to get the subsequent closest Palindrome by merely including 2 to it. num = 99 : output : num + 2 = 101.

Answer 2: One other doable means of getting the closest palindrome is to repeat the primary half of the quantity and add a mirror picture on the finish of it. Left half : For instance, left facet of “456789” is “456” and the left half of “456789” is “4 5”. To transform to a palindrome, we are able to take the mirror of its left half. 

Let’s quantity: 456789 

After copying the primary half, append the reverse of it on the finish quantity appears like:

we get palindrome 456654

Answer 3: One other doable means of getting the closest palindromic quantity is by decrementing and incrementing the center digit by one on the palindrome. 

Conclusion

The interview questions needs to be directed in direction of acquiring details about the job seeker’s skill to carry out the duties of the job, in addition to their motivation for wanting the place. The interviewer also needs to ask questions concerning the job seeker’s {qualifications}, work expertise, and abilities.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments