parent
d2c2453554
commit
2e84bea6ba
@ -1,4 +1,7 @@
|
||||
# Bit Manipulation
|
||||
---
|
||||
id: binary
|
||||
title: Binary
|
||||
---
|
||||
|
||||
- How do you verify if an interger is a power of 2?
|
||||
- Write a program to print the binary representation of an integer.
|
@ -1,4 +1,7 @@
|
||||
# Heap
|
||||
---
|
||||
id: heap
|
||||
title: Heap
|
||||
---
|
||||
|
||||
- Merge `K` sorted lists together into a single list.
|
||||
- Given a stream of integers, write an efficient function that returns the median value of the integers.
|
||||
|
@ -1,4 +1,7 @@
|
||||
# Queue
|
||||
---
|
||||
id: queue
|
||||
title: Queue
|
||||
---
|
||||
|
||||
- Implement a Queue class from scratch with an existing bug, the bug is that it cannot take more than 5 elements.
|
||||
- Implement a Queue using two stacks. You may only use the standard `push()`, `pop()`, and `peek()` operations traditionally available to stacks. You do not need to implement the stack yourself (i.e. an array can be used to simulate a stack).
|
||||
|
Loading…
Reference in new issue