Discussion on below OOPs concepts::
special pointers .
virtual table.
const function.
private constructor.
singleton pattern.
One coding qn::
1.https://leetcode.com/problems/largest-rectangle-in-histogram/
2.why do you want to join QR profile?
Discussion on below OOPs concepts::
special pointers
const keyword
inline functions
virtual function how is it implemented --vtable.
how 'll vtable of base class and derived class 'll look like for a function override in derived class
virtual destructor
One coding question::
1.implement queue using stacks.
https://leetcode.com/problems/implement-queue-using-stacks/
1.Discussion on OOPs concept (trade system)--inheritance
2.If you want to create a stack class inheriting from array class --what are pros/cons--is there any other way to create stack class??
3.meta classes/composition/encapsulation/inheritance
2 coding qn::
1.find median of 2 sorted array. /same length/diff length
https://leetcode.com/problems/median-of-two-sorted-arrays/
2.frog jump :: on a number line frog can take 2 or 3 hop at once .
find probability of frog reaching n from 0.
1.Given a list of jobs deadline for Ji is and Profit associated .
Time taken to finish each job is 1 hour.
Return list of k Jobs to generate maximum profit within given deadline n and profit value.
Given profit k=3
-->>200+150+50=400
Ans:: j2+j5+j1
Hint2::Take bucket of size n Bucket[n].
keep filling the bucket such that at index k put profit for which deadline is k
if that place is filled try prev location.
2.why do you want to join QR profile?
3.do you have any issue with relocation?