Given a list of timestamped server requests with IPs and IDs, implement rate limiting: reject requests if an IP exceeds N requests within 1000ms. Return IDs of rejected requests.
Java Consultant Interview Questions
30,863 java consultant interview questions shared by candidates
Some behavioural questions about work culture and styles
They asked me mainly coding part and it was really tough, they were mainly focusing on OOPS and DS through coding.
Introduce yourself What have you prepared for interview What do you learn in python Encapsulation Inheritance Write a program in python (he asked to replace all the A's in my name with black spaces) SQL based questions - how to copy data from one table to another table
Why do we use maven
How does micro servics communicates?
package com.interview; public class Threading { int counter; class Mythread extends Thread{ @Override public void run(){ for(int i=0; i < 10000; i++) counter++; System.out.println("run = " + counter); } } public static void main(String[] args) throws InterruptedException { // TODO Auto-generated method stub Threading a = new Threading(); Mythread t1 = a.new Mythread(); t1.start(); t1.join(); System.out.println("" + a.counter); } }
There 4 rounds of interviews..two technical each of 30-45 mins..1 managerial round and last one is HR .. questions were related to core java SQL and Unix...HR told me about positive feedback and took all my docs but later on they didn't provide me the offer even after follw up of 2 months
interface vs abstract class
What is thread, what are the ways to start one and here to put your logic.
Viewing 1451 - 1460 interview questions