Add office photos
Employer?
Claim Account for FREE

Urban Company

3.5
based on 1k Reviews
Filter interviews by

20+ Shakti Cords Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. Minimize the maximum difference between adjacent elements in an array

You are given a non-decreasing array and an integer K. You need to remove exactly K integers from the given array such that the maximum diff...read more

View 4 more answers
Q2. Meetings II

Stark Industry is planning to organize Stark Expo, for which various departments have to organize meetings to check their preparations. Since Stark Tower has limited rooms available for the meeting, ...read more

View 4 more answers
Q3. Find a value whose XOR with a given value is maximum.

You are given an integer 'X' and your task is to find an integer 'Y' such that the bitwise XOR of the integers 'X' and 'Y' give the maximum possible value. T...read more

View 2 more answers
Q4. Implement indexOf()

You are given two strings A and B. Find the index of the first occurrence of A in B. If A is not present in B, then return -1.

For Example:
A = “bc”, B = “abcddbc”. String “A” is present at i...read more
View 2 more answers
Discover Shakti Cords interview dos and don'ts from real experiences
Q5. Frequency in a sorted array

You are given a sorted array 'ARR' and a number 'X'. Your task is to count the number of occurrences of 'X' in 'ARR'.

Note :
1. If 'X' is not found in the array, return 0. 2. The give...read more
View 4 more answers
Q6. Print All Subsets

You are given an array ‘arr’ of ‘N’ distinct integers. Your task is to print all the non-empty subsets of the array.

Note: elements inside each subset should be sorted in increasing order. But ...read more

View 2 more answers
Are these interview questions helpful?
Q7. Distinct Subsequences

You have been given string 'S' of length 'N' that may contain duplicate alphabets. Your task is to return the count of distinct subsequences of it.

For example:

For the given string “deed” ...read more
View 3 more answers
Q8. Clone Linked List with Random Pointer

Given a linked list having two pointers in each node. The first one points to the next node of the list, however, the other pointer is random and can point to any node of th...read more

View 4 more answers
Share interview questions and help millions of jobseekers 🌟
Q9. Search In Rotated Sorted Array

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4,...read more

View 2 more answers
Q10. Rotting Oranges

You have been given a grid containing some oranges. Each cell of this grid has one of the three integers values:

  • Value 0 - representing an empty cell.
  • Value 1 - representing a fresh orange.
  • ...read more
  • View 3 more answers
    Q11. Path visiting all nodes

    You are given a connected undirected unweighted graph of ‘N’ nodes and ‘M’ edges, such that there is only one undirected edge between any two nodes and no self-loop. Your task is to find ...read more

    View 3 more answers
    Q12. DBMS

    You have an e-commerce website. You have to find the closest warehouse to the customer's address. How would you index your database based on latitude and longitude to find the closest warehouse?

    Add your answer
    Q13. Row Of A Matrix With Maximum Ones

    You are given a 2D matrix (containing either ‘0’ or ‘1’) of size N x M, where each row is in sorted order. Find the 0-based index of the first row that has the maximum number of...read more

    View 3 more answers
    Q14. Aptitude Question

    100 people are standing in a row numbered from 1 - 100. First-person is given a gun. First-person shoots the second person and passes the gun to the third person. The cycle continues and 99th p...read more

    Ans.

    The person who survives is the one standing at position 73.

    • The pattern of shooting and passing the gun creates a cycle of skipping one person each time.

    • The cycle continues until there is only one person left.

    • To find the survivor, we need to determine the position that remains after each cycle.

    • The position that remains after the first cycle is 2.

    • The position that remains after the second cycle is 4.

    • The position that remains after the third cycle is 8.

    • The pattern of positions r...read more

    Add your answer
    Q15. Amazing Strings

    Given 3 Strings, check whether the 3rd string contains all the characters of string 1 and 2 in any order. If all the characters are present, print "YES" otherwise print "NO".

    There should not be ...read more

    Add your answer
    Q16. DBMS

    Two Questions: -

    1. How would you optimize a database?
    2. Difference between Relational vs NoSQL.

    Add your answer
    Q17. DBMS/OS

    You have a large database(100s of TB).Now you have to apply some formatting to it and copy it to another database.
    How would you do it?

    Add your answer
    Q18. System Design

    Design a card game. OOD was required in this question.

    Add your answer
    Q19. OOPS Questions

    Few questions on OOPs mainly focussing on private inheritance, destructors, virtual functions, and dynamic polymorphism

    Add your answer
    Q20. System Design Question

    Create a system for the management of parking. Vehicle type includes Bus, Car, Bikes and Cycles.

    Add your answer
    Contribute & help others!
    Write a review
    Share interview
    Contribute salary
    Add office photos

    Interview Process at Shakti Cords

    based on 4 interviews in the last 1 year
    Interview experience
    3.8
    Good
    View more
    Interview Tips & Stories
    Ace your next interview with expert advice and inspiring stories

    Top Software Developer Interview Questions from Similar Companies

    4.1
     • 380 Interview Questions
    3.7
     • 34 Interview Questions
    3.7
     • 21 Interview Questions
    4.8
     • 15 Interview Questions
    3.1
     • 12 Interview Questions
    View all
    Share an Interview
    Stay ahead in your career. Get AmbitionBox app
    qr-code
    Helping over 1 Crore job seekers every month in choosing their right fit company
    70 Lakh+

    Reviews

    5 Lakh+

    Interviews

    4 Crore+

    Salaries

    1 Cr+

    Users/Month

    Contribute to help millions
    Get AmbitionBox app

    Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

    Follow us
    • Youtube
    • Instagram
    • LinkedIn
    • Facebook
    • Twitter