Home
Jobs
Interview Questions for Tech Vedika Software

1. What is inheritance in Java?

2. How can you reverse the order of words in a string without using built-in functions?

3. What are some basic questions you were asked about JavaScript?

4. String Transformation Problem Given a string (STR) of length N, you are tasked to create a new string through the following method: Select the smallest character from the first K characters of STR, remove it from STR, and append it to the new string. Continue this operation until STR becomes empty. Input: The first line contains an integer 'T', the number of test cases. Each subsequent line for a test case contains a string (STR) followed by an integer (K) separated by a space. Output: For each test case, output the newly formed string after performing the operations. Print each result on a new line. Example: Input: edcba 4 Output: bacde Explanation: For STR = "edcba" and K = 4: - Initial new string is empty, newString = "". - First set of characters: ('e', 'd', 'c', 'b'), smallest is 'b', so newString = "b". - Next set after removal: ('e', 'd', 'c', 'a'), smallest is 'a', so newString = "ba". - Remaining 'edc', which is appended in sorted order, resulting in newString = "bacde". Constraints: 1 ≤ T ≤ 100 0 ≤ N ≤ 105 1 ≤ K ≤ 105 Note that the time limit for processing all test cases is 1 second.

5. Given an array of candidates and their votes, find the candidate with the majority of votes.

Tech Vedika Software

Tech Vedika Software

|

IT Services and IT Consulting

San Jose California

201-500 Employees

4 Jobs

    Key People

  • John Doe

    CEO
  • Jane Smith

    CTO
cta

Start Your Job Search Today

Browse through a variety of job opportunities tailored to your skills and preferences. Filter by location, experience, salary, and more to find your perfect fit.

Job Application AI Bot

Job Application AI Bot

Apply to 20+ Portals in one click

Download Now

Download the Mobile App

Instantly access job listings, apply easily, and track applications.

Job Titles Overview