1. You have two strings. A test string and a glob Test string can have a & b, any number of times, any location. Glob can have a, b, ? and *, any number of times, any location. E.g. test= {a,b,a,a,a,a,b,b,b,b,b,b} glob = {a,?, *, b} Now, ? means ANY character, single occurrence. So it's either a or b, one time * means ANY OR NO character, any number of occurrences. E.g. the above glob and test actually match. Problem is: write an algorithm to match glob with test. You MAY NOT use regular expressions :D 2. The input is any string of any length of any characters. Write a program to generate ALL unique permutations of those characters. Unique. You may not store in an array or list, due to memory constraints. e.g. for input of abc your program should give 6 permutations but for aba your program should give 3. Hint: make the list alphabetical.
Technical Systems Analyst Interview Questions
48,605 technical systems analyst interview questions shared by candidates
any difficulty faced by you?how did you tackle it?
How would you remove a file from the GNU/Linux command line that started with '-'
how to install rhel on dell server
How to write a tail command that will print the last 10 lines of a file.
Can you give me an example of how to use awk?
1. What would you do if are unable t login to the server. 2. What could be issue if the user is unable to create files on FS
If we have a string : "abc ef 12 g", write a function that takes the pointer to the string reorganizes the string to be: "g 12 ef abc". Note that there are 3 spaces after abc, 2 spaces after ef, and 1 space after 12 in the original string, but the spaces are reversed. So in essence, write a function to reverse a string and then put the words between the spaces back in order. And the string length can be known or not.
write a function to check if an unsigned integer is a power of 2. if it is a power of 2, return the power. otherwise return 0.
convolution of a positive signal with itself many number of times will result in what kind of waveform?
Viewing 111 - 120 interview questions