LinkedIn Internship Winter 2023 Online Assessment
Anonymous User
1045
Aug 27, 2022
Aug 27, 2022
- Something like https://leetcode.com/problems/triangle/
- You have
comicBookscomic books andcoinscoins. You start off with zero fiction books. You want to get as many fiction books as possible. There are two transactions you can make, and you can continue as long as you have the required items. You can trade comic book along withcoinsNeededcoins in return for one fiction book. You can also sell one comic book forcoinsOfferedcoins. What is the maximum amount of fiction books you can acquire?
Comments (4)


