Datastructure Needs to Complete ---
- Dynamic Programming,
- Recussion and Back Tracking
- Divide and Concure
- Tower of Hanio
Below is simple query to find the employee whose salary is highest.
select *from employee where salary=(select Max(salary) from employee);
We can nest the above query to find the second largest salary.
select *from employee
group by salary
order by salary desc limit 1,1;
Big O - https://www.bigocheatsheet.com/
This Repositary is all about finding TimeComplexity of a program, Javascript ES5, Javascript ES6 promises.
ES5 - firm firste -- Easy way to Remember ES6 - find and findIndex | isFinite | isNaN | isInteger | isSafeInteger
JavaScript ES5 -
F - forEach() I - indexOf() and lastIndexOf() R - reduce() M - map()
F - filter() I - isArray() R - reduceRight() S - some() T - trim() E - every()
The interviews will have NodeJs, ExpressJs, Data Structure(Linked List, Stack, Queue and Trees) and Algorithms(Searching and Sorting).
- Why NodeJS is non blocking IO ? Single Thread or Multi Thread ?
- What is Event Loop in Node JS ?
- What is the framework you have used in NodeJS & Angular? (Express, COA, Hapi e.t.c)
- Authentication and Authorization of the API ?
- What is Middleware in NodeJS ?
- Callback, Promise, Async Await - Using File Operation
- DS - Sorting, Singly LinkedList, Binary Tree, Stack, Queue
- AWS - EC2, Lambda - Default time slot
- // Recursion of Below Problem // console.log(sum(1)(2)(32)());
Design a multi-publisher - multi-consumer which can stream in and out objects. This system should be able to handle more than 1 publisher and 1 consumer. Consumers should be able to reconnect to the system and seek from where they last connected. Consumers should've the choice of consuming from different publishers. Once all connected consumers have consumed data, the system should evict any data. Describe all the necessary classes, entities & efficient strategies required to come up with this system.
class UserRole {}
// role -
// admin
// publisher
// freelancer
class Publisher {
1. Create Publisher ( role, category )
2. Create Bulk Publisher
3. Publish Content
}
class Consumer {
1. Create Consumer
2. Create Bulk of Consumer.
}
class MainCatergory {}
class SubCategory {}
class Store { 1. Who are the consumers
2. Who are the publishers
3. What are the data
}
class ContentPublish {}
class UpdateContent {}
class Template {}
class Widget {}
class MainCategory {}