Round 2 : Logic, OOPS, Database
Using the same digits of a number , find the next highest number
Example :
For the number 123, the next highest number is 132 and not 231 , 312, etc.,
Next questions is group anagram strings
Example : dog, eat, god, ate, tea
output should be [ [dog,god], [eat,ate,tea]]
Come with a solution which will reduce time complexity
Next question -
Model a Airline ticketing system using OOPS principles.
Design the database for this
Take one use case and explain the flow