原创 53. Maximum Subarray

Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example,

原创 231. Power of Two

Given an integer, write a function to determine if it is a power of two. class Solution { public: bool isPowerOfT

原创 VS運行時一閃而過的問題

  在VS2010裏的控制檯應用程序在運行時,結果畫面一閃而過,不管是用F5 還是用Ctrl + F5都是一樣,導致無法看到結果。 網上有不少的辦法,說是都是在程序最後加一個要程序暫停的語句或從控制檯上

原创 21. Merge Two Sorted Lists

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes

原创 機器學習實戰ch04

>>> import bayes >>> listOPosts,listClasses=bayes.loadDataSet() >>> listOPosts [['my', 'dog', 'has', 'flea', 'problems'

原创 尋呼

當UE接入核心網後,PDN-GW會給UE分配IP地址,如果UE長期沒有任務,進入了IDEL的轉態,連接UE和eNB的無線承載和連接eNB和SGW的S1被釋放,PDN-GW依然會保存這個UE的IP,而且連接PDN-GW和SGW的S5/S8承

原创 Linux基本操作

查詢Linux內核: horatio@horatio-OptiPlex-3010:~/openairinterface5g/cmake_targets$ cat /proc/version Linux version 3.13.0-24