본문 바로가기

분류 전체보기

Watchdog Timer Watchdog Timer - It is an electronic or software timer to detect or recover from any hardware/software faults. - It is commonly used in embedded systems or any other computer-controlled equipment where human cannot easily access the equipment or would be unable to react to faults in a timely manner. - In such systems, it cannot rely on human to take some actions or reboot the system when it hang..
Palindrome Permutation Given a string, determine if a permutation of the string could form a palindrome. Example 1: Input: "code" Output: false Example 2: Input: "aab" Output: true Example 3: Input: "carerac" Output: true class Solution { public: bool canPermutePalindrome(string s) { map hmap; for(int i = 0; i
Moving Average from Data Stream Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. Example: MovingAverage m = new MovingAverage(3); m.next(1) = 1 m.next(10) = (1 + 10) / 2 m.next(3) = (1 + 10 + 3) / 3 m.next(5) = (10 + 3 + 5) / 3 class MovingAverage { private: vector window; int capacity; int current_size; double sum; int start; int end; public: /** Initialize your..
Intersection of Three Sorted Arrays Given three integer arrays arr1, arr2 and arr3 sorted in strictly increasing order, return a sorted array of only the integers that appeared in all three arrays. Example 1: Input: arr1 = [1,2,3,4,5], arr2 = [1,2,5,7,9], arr3 = [1,3,4,5,8] Output: [1,5] Explanation: Only 1 and 5 appeared in the three arrays. Constraints: 1
Nested List Weight Sum Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer, or a list -- whose elements may also be integers or other lists. Example 1: Input: [[1,1],2,[1,1]] Output: 10 Explanation: Four 1's at depth 2, one 2 at depth 1. Example 2: Input: [1,[4,[6]]] Output: 27 Explanation: One 1 at depth 1, one 4 at depth 2, and one 6 ..
Satellite Network Capacity/Throughput/etc. Throughput : Capacity : It is a measure of how much data can be transferred through satellite networks. Adding capacity is to ensure a high-quality user experience for the high data rate. It is measured in terms of theoretical raw data, for instance of 100 Gbps of total capacity, on any one given satellite. The numbers are typically theoretical and sometimes include bandwidth reserved for remote..
Low-profile Antennas (LPAs) Low Profile Antenna Low profile: It means small height and width. A Profile: It is a side view, often defined as 90 degrees from the front or back view. Low Profile Antenna is the antenna which can be mounted to buildings and cars(plane surface). Low-profile antenna often has high input impedance, and it also has small gain. Importance of antenna height is to avoid effect of ground reflected sig..
IMU IMU (Inertial Measurement Unit) This is a device that directly measures the three linear acceleration components & the three rotational rate component of a vehicle. It does not require any connection or knowledge of the external world. ("Independent" property of the IMU)
RSSI and Kalman Filter RSSI(reference: https://www.wouterbulten.nl/blog/tech/kalman-filters-explained-removing-noise-from-rssi-signals/) RSSI (Received Signal Strength Indicator) is a kind of a power of received radio signal, which is measured in dBm. As you might expect, the higher the RSSI value, the higher the signal strength. Since we can describe RSSI with distance using a model, the Log-Distance pathloss model, ..
Bandpass Filter (BPF) Band-pass Filter This is a device that passes frequencies within a certain range and rejects frequencies outside of that range. Filter circuits can be designed by combining the properties of low-pass and high-pass into a single filter. This is called a band-pass filter. (reference: https://www.allaboutcircuits.com/textbook/alternating-current/chpt-8/band-pass-filters/) Parameters(reference: http..