JoJoTing
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Homework1-整理面試題目 ========= Google、FB、LinkedIn new grad 等面試經驗 ---------- 一篇很棒的面試心得,面試的公司包含Google、FB、Uber等等公司 原po沒有實習/業界工作經驗, Ph.D. 就學期間沒上要寫程式的課程,論文的程式部分只有數千行而已,一樣被 Google 錄取,詳見以下: https://www.ptt.cc/bbs/Soft_Job/M.1461981425.A.E04.html [來源ptt Software_Job] 瑞昱(Realtek) --------- 出處: [應該是以前學長整理的考古題準備](https://chun-ikuo.hackpad.com/-Prepare-RsOrTLMnkXQ) 題目: ````` Q1: 不能用if 和 switch case , 請用你認為最快的方法實作main extern void func1(void); extern void func2(void); extern void func3(void); extern void func4(void); extern void func5(void); void main(int n) { if n==1 execute func1; if n==2 execute func2; if n==3 execute func3; if n==4 execute func4; if n==5 execute func5; } Q2: 不使用if, 請用你認為最快的方法實作main extern void func1(void); extern void func2(void); extern void func3(void); extern void func4(void); extern void func5(void); void main(int n) { if n==33 execute func1; if n==67 execute func2; if n==324 execute func3; if n==231 execute func4; if n==687 execute func5; } Q3: Explain "#error" Q4: Explain "struct" and "union" Q5: Explain "volatile". Q6: the value of v? unsigned long v1 = 0x00001111; unsigned long v2 = 0x00001212; unsigned long v; v = v1 & (~v2); v = v | v2; Q7: the value of *(a+1), (*p-1)? int a[5] = {1, 2, 3, 4, 5}; int *p = (int*)(&a+1); Q8: write a code a) set the specific bit b) clear the specific bit c) inverse the specific bit (0->1; 1->0); Q9: Re-write typedef _____; void(*(*papf)[3](char *); pf(*papf)[3]; Q10: write a code that check the input is a multiple of 3 or not without using division or mod Q11: Explain lvalue and rvalue Q12: 寫一個 function 可傳入正整數參數 N,回傳 1 + 2 + 3 +…+N 的和 Q13: reverse a string Q14: reverse a linked list Q15: 下面是一個 union ,請問要參考 ival 的值語法為何 ? Q16: 寫一個“標準”巨集MIN ,這個巨集輸入兩個參數並返回較小的一個。 Q17: Write a code to swap integer a, b, without temporary variable. Q18: Write a MARCO to calculate the square of integer a. ````` 題目: 群暉科技Synology Inc. ---------------- https://www.ptt.cc/bbs/Tech_Job/M.1444375205.A.EB3.html [來源ptt Tech_Job] # 1. 公司名稱:群暉科技Synology Inc. 職務說明:NA 面試題目: ``` 講解一下 Process 及 Thread 的差別跟比較 ``` 流程:NA 出處:[群暉及聯發科研替面試分享 ](https://npes87184.github.io/%E9%9B%9C%E8%A8%98/2015/09/05/interviewShare.html#section-1) # 2. 公司名稱:群暉科技Synology Inc. 職務說明:NA 面試題目: ``` Stack 跟 Heap 的差別 ``` 流程:NA 出處:[來源ptt Tech_Job][群暉及聯發科研替面試分享 ](https://npes87184.github.io/%E9%9B%9C%E8%A8%98/2015/09/05/interviewShare.html#section-1) 請解釋一下 Virtual Function # 3. 公司名稱:群暉科技Synology Inc. 職務說明:NA 面試題目: ``` 請解釋一下 Synchronous call 跟 Asynchronous call 的差別 ``` 流程:NA 出處:[來源ptt Tech_Job][群暉及聯發科研替面試分享 ](https://npes87184.github.io/%E9%9B%9C%E8%A8%98/2015/09/05/interviewShare.html#section-1) # 4. 公司名稱:群暉科技Synology Inc. 職務說明:NA 面試題目: ``` 比較 Stack 跟 Queue 的差別 ``` 流程:NA 出處:[來源ptt Tech_Job][群暉及聯發科研替面試分享 ](https://npes87184.github.io/%E9%9B%9C%E8%A8%98/2015/09/05/interviewShare.html#section-1) # 5. 公司名稱:群暉科技Synology Inc. 職務說明:NA 面試題目: ``` 實做f(n) = 1-2+3-4...+/-n ``` 流程:NA 出處:自身面試經驗 # 6. 公司名稱:群暉科技Synology Inc. 職務說明:NA 面試題目: ``` 實做矩陣相乘,如[3*4] * [4*2] = [3*2]的矩陣 ``` 流程:NA 出處:自身面試經驗 # 7. 公司名稱:群暉科技Synology Inc. 職務說明:NA 面試題目: ``` 給你一binary tree,求樹高、節點數 ``` 流程:NA 出處:自身面試經驗 # 8. 公司名稱:群暉科技Synology Inc. 職務說明:NA 面試題目: ``` 解釋const、static、volatile、程式在記憶體中的配置->stack與heap ``` 流程:NA 出處:自身面試經驗 聯發科 ------------ # 1. 公司名稱:聯發科技 職務說明:NA 面試題目: ``` 講解一下 Process 及 Thread 的差別跟比較 講解一下 Process 及 Thread 的差別跟比較 講解一下如何避免 Race Condition 講解一下什麼是 Hazard ``` 出處:[來源ptt Tech_Job][群暉及聯發科研替面試分享 ](https://npes87184.github.io/%E9%9B%9C%E8%A8%98/2015/09/05/interviewShare.html#section-1) 普安科技 ------------ 公司名稱:普安科技 職務說明:軟韌體工程師 筆試題目: ````` 1.data size 2.struct and union 3.利用c語言,將字串*str2接序在*str1後 4.解釋deadlock、Race conidtion 5.write a program :copy 4,5,6,7bits of 0x1234567 to 0x145678f 1,2,3,4 bits 6.stack point跳轉到function需要哪些暫存器 ````` 出處:自身面試經驗

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully